org.cruxframework.crux.core.client.db
Class Transaction.TransactionCallback
java.lang.Object
org.cruxframework.crux.core.client.db.Callback
org.cruxframework.crux.core.client.db.Transaction.TransactionCallback
- Enclosing class:
- Transaction
public abstract static class Transaction.TransactionCallback
- extends Callback
A callback to monitor the current transaction state changes.
- Author:
- Thiago da Rosa de Bustamante
| Fields inherited from class org.cruxframework.crux.core.client.db.Callback |
db |
|
Method Summary |
void |
onAbort()
Called if the transaction is aborted before completion (rolled back). |
abstract void |
onComplete()
Called when the transaction completes with success. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Transaction.TransactionCallback
public Transaction.TransactionCallback()
onComplete
public abstract void onComplete()
- Called when the transaction completes with success.
onAbort
public void onAbort()
- Called if the transaction is aborted before completion (rolled back).
Copyright © 2014. All rights reserved.