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 Summary

    Modifier and Type
    Method
    Description
    void
    Begin the physical transaction
    void
    Commit the physical transaction
     
    default boolean
    isActive(boolean isMarkedRollbackConsideredActive)
     
    void
     
    void
    Rollback the physical transaction
  • 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)