com.sleepycat.db
Class Transaction
java.lang.Object
com.sleepycat.db.Transaction
public class Transaction
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
abort
public void abort()
throws DatabaseException
- Throws:
DatabaseException
commit
public void commit()
throws DatabaseException
- Throws:
DatabaseException
commitSync
public void commitSync()
throws DatabaseException
- Throws:
DatabaseException
commitNoSync
public void commitNoSync()
throws DatabaseException
- Throws:
DatabaseException
discard
public void discard()
throws DatabaseException
- Throws:
DatabaseException
getId
public int getId()
throws DatabaseException
- Throws:
DatabaseException
prepare
public void prepare(byte[] gid)
throws DatabaseException
- Throws:
DatabaseException
setTxnTimeout
public void setTxnTimeout(long timeOut)
throws DatabaseException
- Throws:
DatabaseException
setLockTimeout
public void setLockTimeout(long timeOut)
throws DatabaseException
- Throws:
DatabaseException