Interface TransactionCoordinator.TransactionDriver
-
- Enclosing interface:
- TransactionCoordinator
public static interface TransactionCoordinator.TransactionDriver
Provides 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 void
begin()
Begin the physical transactionvoid
commit()
Commit the physical transactionTransactionStatus
getStatus()
default boolean
isActive(boolean isMarkedRollbackConsideredActive)
void
markRollbackOnly()
void
rollback()
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)
-
-