public class WGDatabase.WGRealTransaction extends java.lang.Object implements WGTransaction
Constructor and Description |
---|
WGDatabase.WGRealTransaction() |
Modifier and Type | Method and Description |
---|---|
void |
addAfterCommitTask(java.util.concurrent.Callable r) |
boolean |
commit()
Commit the transaction
|
boolean |
isOpen()
Identifies if this transaction is still open.
|
void |
rollback()
Roll the transaction back.
|
public boolean commit() throws WGAPIException
WGTransaction
commit
in interface WGTransaction
WGAPIException
public void rollback()
WGTransaction
rollback
in interface WGTransaction
public boolean isOpen()
WGTransaction
isOpen
in interface WGTransaction
public void addAfterCommitTask(java.util.concurrent.Callable r)