com.sleepycat.db.internal

Class DbTxn

public class DbTxn extends Object

Field Summary
protected booleanswigCMemOwn
Constructor Summary
protected DbTxn(long cPtr, boolean cMemoryOwn)
Method Summary
voidabort()
voidcommit(int flags)
voiddiscard(int flags)
booleanequals(Object obj)
protected static longgetCPtr(DbTxn obj)
Stringget_name()
inthashCode()
intid()
voidprepare(byte[] gid)
voidset_name(String name)
voidset_timeout(long timeout, int flags)

Field Detail

swigCMemOwn

protected boolean swigCMemOwn

Constructor Detail

DbTxn

protected DbTxn(long cPtr, boolean cMemoryOwn)

Method Detail

abort

public void abort()

commit

public void commit(int flags)

discard

public void discard(int flags)

equals

public boolean equals(Object obj)

getCPtr

protected static long getCPtr(DbTxn obj)

get_name

public String get_name()

hashCode

public int hashCode()

id

public int id()

prepare

public void prepare(byte[] gid)

set_name

public void set_name(String name)

set_timeout

public void set_timeout(long timeout, int flags)