Interface Transaction
-
Method Details
-
commit
CompletableFuture<Void> commit()Commit the transaction.- Returns:
- the future represents the commit result.
-
abort
CompletableFuture<Void> abort()Abort the transaction.- Returns:
- the future represents the abort result.
-
getTxnID
-
getState
Transaction.State getState()Get transaction state.- Returns:
Transaction.Statethe state of the transaction.
-