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
WGTransactioncommit in interface WGTransactionWGAPIExceptionpublic void rollback()
WGTransactionrollback in interface WGTransactionpublic boolean isOpen()
WGTransactionisOpen in interface WGTransactionpublic void addAfterCommitTask(java.util.concurrent.Callable r)