com.sleepycat.db
Class Transaction

java.lang.Object
  extended by com.sleepycat.db.Transaction

public class Transaction
extends java.lang.Object


Method Summary
 void abort()
           
 void commit()
           
 void commitNoSync()
           
 void commitSync()
           
 void discard()
           
 int getId()
           
 java.lang.String getName()
           
 void prepare(byte[] gid)
           
 void setLockTimeout(long timeOut)
           
 void setName(java.lang.String name)
           
 void setTxnTimeout(long timeOut)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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

getName

public java.lang.String getName()
                         throws DatabaseException
Throws:
DatabaseException

prepare

public void prepare(byte[] gid)
             throws DatabaseException
Throws:
DatabaseException

setName

public void setName(java.lang.String name)
             throws DatabaseException
Throws:
DatabaseException

setTxnTimeout

public void setTxnTimeout(long timeOut)
                   throws DatabaseException
Throws:
DatabaseException

setLockTimeout

public void setLockTimeout(long timeOut)
                    throws DatabaseException
Throws:
DatabaseException