com.sleepycat.db.internal
Class DbTxn

java.lang.Object
  extended by com.sleepycat.db.internal.DbTxn

public class DbTxn
extends java.lang.Object


Field Summary
protected  boolean swigCMemOwn
           
 
Constructor Summary
protected DbTxn()
           
protected DbTxn(long cPtr, boolean cMemoryOwn)
           
 
Method Summary
 void abort()
           
 void commit(int flags)
           
 void discard(int flags)
           
 boolean equals(java.lang.Object obj)
           
protected static long getCPtr(DbTxn obj)
           
 int hashCode()
           
 int id()
           
 void prepare(byte[] gid)
           
 void set_timeout(long timeout, int flags)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

swigCMemOwn

protected boolean swigCMemOwn
Constructor Detail

DbTxn

protected DbTxn(long cPtr,
                boolean cMemoryOwn)

DbTxn

protected DbTxn()
Method Detail

getCPtr

protected static long getCPtr(DbTxn obj)

abort

public void abort()
           throws DatabaseException
Throws:
DatabaseException

commit

public void commit(int flags)
            throws DatabaseException
Throws:
DatabaseException

discard

public void discard(int flags)
             throws DatabaseException
Throws:
DatabaseException

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

id

public int id()
       throws DatabaseException
Throws:
DatabaseException

prepare

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

set_timeout

public void set_timeout(long timeout,
                        int flags)
                 throws DatabaseException
Throws:
DatabaseException