public interface Transaction
Modifier and Type | Method and Description |
---|---|
Future<Void> |
commit()
Commit the current transaction.
|
void |
commit(Handler<AsyncResult<Void>> handler)
Like
commit() with an handler to be notified when the transaction commit has completed |
Future<Void> |
completion()
Return the transaction completion
Future that
succeeds when the transaction commits
fails with TransactionRollbackException when the transaction rollbacks
|
Future<Void> |
rollback()
Rollback the transaction and release the associated resources.
|
void |
rollback(Handler<AsyncResult<Void>> handler)
Like
rollback() with an handler to be notified when the transaction rollback has completed |
void commit(Handler<AsyncResult<Void>> handler)
commit()
with an handler to be notified when the transaction commit has completedvoid rollback(Handler<AsyncResult<Void>> handler)
rollback()
with an handler to be notified when the transaction rollback has completedFuture<Void> completion()
Future
that
TransactionRollbackException
when the transaction rollbacksCopyright © 2020 Eclipse. All rights reserved.