Class Transaction
java.lang.Object
io.vertx.rxjava3.sqlclient.Transaction
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncommit()Commit the current transaction.Return the transaction completionFuturethat succeeds when the transaction commits and fails withTransactionRollbackExceptionwhen the transaction rolls back.booleaninthashCode()static TransactionnewInstance(Transaction arg) rollback()Rollback the transaction and release the associated resources.rxCommit()Commit the current transaction.Return the transaction completionFuturethat succeeds when the transaction commits and fails withTransactionRollbackExceptionwhen the transaction rolls back.Rollback the transaction and release the associated resources.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
Transaction
-
Transaction
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
commit
-
rxCommit
-
rollback
Rollback the transaction and release the associated resources.- Returns:
-
rxRollback
Rollback the transaction and release the associated resources.- Returns:
-
completion
Return the transaction completionFuturethat succeeds when the transaction commits and fails withTransactionRollbackExceptionwhen the transaction rolls back.- Returns:
- the transaction result
-
rxCompletion
Return the transaction completionFuturethat succeeds when the transaction commits and fails withTransactionRollbackExceptionwhen the transaction rolls back.- Returns:
- the transaction result
-
newInstance
-