com.sleepycat.db.internal
Class DbTxn
java.lang.Object
com.sleepycat.db.internal.DbTxn
public class DbTxn
- extends java.lang.Object
Constructor Summary |
protected |
DbTxn(long cPtr,
boolean cMemoryOwn)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
swigCMemOwn
protected boolean swigCMemOwn
DbTxn
protected DbTxn(long cPtr,
boolean cMemoryOwn)
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
get_name
public java.lang.String get_name()
throws DatabaseException
- Throws:
DatabaseException
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
set_name
public void set_name(java.lang.String name)
throws DatabaseException
- Throws:
DatabaseException