Package org.infinispan.transaction
Interface TransactionTable
-
- All Known Implementing Classes:
RecoveryAwareTransactionTable,TransactionTable,XaTransactionTable
public interface TransactionTableInterface that allows to fetch theGlobalTransactionassociated to local or remote transactions.- Since:
- 7.1
- Author:
- Pedro Ruivo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GlobalTransactiongetGlobalTransaction(Transaction transaction)Collection<GlobalTransaction>getLocalGlobalTransaction()Collection<GlobalTransaction>getRemoteGlobalTransaction()
-
-
-
Method Detail
-
getGlobalTransaction
GlobalTransaction getGlobalTransaction(Transaction transaction)
- Parameters:
transaction- the local transaction. Must be non-null.- Returns:
- the
GlobalTransactionassociated with the transaction ornullif doesn't exists.
-
getLocalGlobalTransaction
Collection<GlobalTransaction> getLocalGlobalTransaction()
- Returns:
- an unmodified collection of
GlobalTransactionassociated with local running transactions.
-
getRemoteGlobalTransaction
Collection<GlobalTransaction> getRemoteGlobalTransaction()
- Returns:
- an unmodified collection of
GlobalTransactionassociated with remote transactions.
-
-