Package org.infinispan.transaction
Interface TransactionTable
-
public interface TransactionTable
Interface that allows to fetch theGlobalTransaction
associated to local or remote transactions.- Since:
- 7.1
- Author:
- Pedro Ruivo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.infinispan.transaction.xa.GlobalTransaction
getGlobalTransaction(Transaction transaction)
Collection<org.infinispan.transaction.xa.GlobalTransaction>
getLocalGlobalTransaction()
Collection<org.infinispan.transaction.xa.GlobalTransaction>
getRemoteGlobalTransaction()
-
-
-
Method Detail
-
getGlobalTransaction
org.infinispan.transaction.xa.GlobalTransaction getGlobalTransaction(Transaction transaction)
- Parameters:
transaction
- the local transaction. Must be non-null.- Returns:
- the
GlobalTransaction
associated with the transaction ornull
if doesn't exists.
-
getLocalGlobalTransaction
Collection<org.infinispan.transaction.xa.GlobalTransaction> getLocalGlobalTransaction()
- Returns:
- an unmodified collection of
GlobalTransaction
associated with local running transactions.
-
getRemoteGlobalTransaction
Collection<org.infinispan.transaction.xa.GlobalTransaction> getRemoteGlobalTransaction()
- Returns:
- an unmodified collection of
GlobalTransaction
associated with remote transactions.
-
-