Interface TransactionTable

All Known Implementing Classes:
RecoveryAwareTransactionTable, TransactionTable, XaTransactionTable

public interface TransactionTable
Interface that allows to fetch the GlobalTransaction associated to local or remote transactions.
Since:
7.1
Author:
Pedro Ruivo
  • Method Details

    • getGlobalTransaction

      GlobalTransaction getGlobalTransaction(jakarta.transaction.Transaction transaction)
      Parameters:
      transaction - the local transaction. Must be non-null.
      Returns:
      the GlobalTransaction associated with the transaction or null if doesn't exists.
    • getLocalGlobalTransaction

      Collection<GlobalTransaction> getLocalGlobalTransaction()
      Returns:
      an unmodified collection of GlobalTransaction associated with local running transactions.
    • getRemoteGlobalTransaction

      Collection<GlobalTransaction> getRemoteGlobalTransaction()
      Returns:
      an unmodified collection of GlobalTransaction associated with remote transactions.