public class Transaction
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
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(java.lang.Object o) |
long |
getId()
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
java.lang.String |
getName()
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
boolean |
getPrepared() |
int |
hashCode() |
void |
setLockTimeout(long timeout)
Javadoc for this public method is generated via
the doc templates in the doc_src directory.
|
void |
setName(java.lang.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.
|
java.lang.String |
toString() |
public void abort()
throws DatabaseException
DatabaseExceptionpublic long getId()
throws DatabaseException
DatabaseExceptionpublic void commit()
throws DatabaseException
DatabaseExceptionpublic void commitSync()
throws DatabaseException
DatabaseExceptionpublic void commitNoSync()
throws DatabaseException
DatabaseExceptionpublic void commitWriteNoSync()
throws DatabaseException
DatabaseExceptionpublic boolean getPrepared()
public void setTxnTimeout(long timeout)
throws java.lang.IllegalArgumentException,
DatabaseException
java.lang.IllegalArgumentExceptionDatabaseExceptionpublic void setLockTimeout(long timeout)
throws java.lang.IllegalArgumentException,
DatabaseException
java.lang.IllegalArgumentExceptionDatabaseExceptionpublic void setName(java.lang.String name)
public java.lang.String getName()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object