Package org.infinispan.transaction
Interface TransactionTable
public interface TransactionTable
Interface that allows to fetch the
GlobalTransaction associated to local or
remote transactions.- Since:
- 7.1
- Author:
- Pedro Ruivo
-
Method Summary
Modifier and TypeMethodDescriptionorg.infinispan.transaction.xa.GlobalTransactiongetGlobalTransaction(Transaction transaction) Collection<org.infinispan.transaction.xa.GlobalTransaction>Collection<org.infinispan.transaction.xa.GlobalTransaction>
-
Method Details
-
getGlobalTransaction
- Parameters:
transaction- the local transaction. Must be non-null.- Returns:
- the
GlobalTransactionassociated with the transaction ornullif doesn't exists.
-
getLocalGlobalTransaction
Collection<org.infinispan.transaction.xa.GlobalTransaction> getLocalGlobalTransaction()- Returns:
- an unmodified collection of
GlobalTransactionassociated with local running transactions.
-
getRemoteGlobalTransaction
Collection<org.infinispan.transaction.xa.GlobalTransaction> getRemoteGlobalTransaction()- Returns:
- an unmodified collection of
GlobalTransactionassociated with remote transactions.
-