Interface TransactionCoordinator.TransactionDriver
-
- Enclosing interface:
- TransactionCoordinator
public static interface TransactionCoordinator.TransactionDriverProvides the means for "local transactions" (as transaction drivers) to control the underlying "physical transaction" currently associated with the TransactionCoordinator.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidbegin()Begin the physical transactionvoidcommit()Commit the physical transactionTransactionStatusgetStatus()default booleanisActive(boolean isMarkedRollbackConsideredActive)voidmarkRollbackOnly()voidrollback()Rollback the physical transaction
-
-
-
Method Detail
-
begin
void begin()
Begin the physical transaction
-
commit
void commit()
Commit the physical transaction
-
rollback
void rollback()
Rollback the physical transaction
-
getStatus
TransactionStatus getStatus()
-
markRollbackOnly
void markRollbackOnly()
-
isActive
default boolean isActive(boolean isMarkedRollbackConsideredActive)
-
-