|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.Transaction
public class Transaction
Javadoc for this public class is generated via the doc templates in the doc_src directory.
Constructor Summary | |
---|---|
Transaction(Environment env,
Txn txn)
Creates a transaction. |
Method Summary | |
---|---|
void |
abort()
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
void |
commit()
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
void |
commitNoSync()
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
void |
commitSync()
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
void |
commitWriteNoSync()
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
boolean |
equals(Object o)
|
long |
getId()
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
(package private) Locker |
getLocker()
This method should only be called by the LockerFactory.getReadableLocker and getWritableLocker methods. |
String |
getName()
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
(package private) Txn |
getTxn()
|
int |
hashCode()
|
void |
setLockTimeout(long timeOut)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
void |
setName(String name)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
void |
setTxnTimeout(long timeOut)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
Transaction(Environment env, Txn txn)
Method Detail |
---|
public void abort() throws DatabaseException
DatabaseException
public long getId() throws DatabaseException
DatabaseException
public void commit() throws DatabaseException
DatabaseException
public void commitSync() throws DatabaseException
DatabaseException
public void commitNoSync() throws DatabaseException
DatabaseException
public void commitWriteNoSync() throws DatabaseException
DatabaseException
public void setTxnTimeout(long timeOut) throws DatabaseException
DatabaseException
public void setLockTimeout(long timeOut) throws DatabaseException
DatabaseException
public void setName(String name)
public String getName()
public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in class Object
public String toString()
toString
in class Object
Locker getLocker() throws DatabaseException
DatabaseException
Txn getTxn()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |