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 theTransactionCoordinator
.
-
-
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)
-
-