Interface TransactionCoordinator.TransactionDriver
- All Known Implementing Classes:
JdbcResourceLocalTransactionCoordinatorImpl.TransactionDriverControlImpl
,JtaTransactionCoordinatorImpl.TransactionDriverControlImpl
- Enclosing interface:
- TransactionCoordinator
public static interface TransactionCoordinator.TransactionDriver
Provides the means for resource-local transactions (as transaction drivers) to control the
underlying "physical transaction" currently associated with the
TransactionCoordinator
.-
Method Details
-
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)
-