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
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 boolean getPrepared()
public void setTxnTimeout(long timeout) throws java.lang.IllegalArgumentException, DatabaseException
java.lang.IllegalArgumentException
DatabaseException
public void setLockTimeout(long timeout) throws java.lang.IllegalArgumentException, DatabaseException
java.lang.IllegalArgumentException
DatabaseException
public void setName(java.lang.String name)
public java.lang.String getName()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object