Package io.vertx.sqlclient
Interface Transaction
- 
 public interface TransactionA transaction.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Future<Void>commit()Commit the current transaction.Future<Void>completion()Return the transaction completionFuturethat succeeds when the transaction commits and fails withTransactionRollbackExceptionwhen the transaction rolls back.Future<Void>rollback()Rollback the transaction and release the associated resources.
 
- 
- 
- 
Method Detail- 
completionFuture<Void> completion() Return the transaction completionFuturethat succeeds when the transaction commits and fails withTransactionRollbackExceptionwhen the transaction rolls back.- Returns:
- the transaction result
 
 
- 
 
-