Package org.infinispan.transaction.xa
Class XaTransactionTable
java.lang.Object
org.infinispan.transaction.impl.TransactionTable
org.infinispan.transaction.xa.XaTransactionTable
- All Implemented Interfaces:
TransactionTable
- Direct Known Subclasses:
RecoveryAwareTransactionTable
TransactionTable
to be used with TransactionXaAdapter
.- Since:
- 5.0
- Author:
- Mircea.Markus@jboss.com
-
Nested Class Summary
Nested classes/interfaces inherited from class org.infinispan.transaction.impl.TransactionTable
TransactionTable.CompletedTransactionStatus
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected RecoveryManager
protected ConcurrentMap<XidImpl,
LocalXaTransaction> Fields inherited from class org.infinispan.transaction.impl.TransactionTable
CACHE_STOPPED_TOPOLOGY_ID, clustered, commandsFactory, configuration, partitionHandlingManager, rpcManager, running, transactionOriginatorChecker, txCoordinator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
enlist
(javax.transaction.Transaction transaction, LocalTransaction ltx) void
enlistClientTransaction
(javax.transaction.Transaction transaction, LocalTransaction localTransaction) int
boolean
removeLocalTransaction
(LocalTransaction localTx) Removes theTransactionXaAdapter
corresponding to the given tx.void
Methods inherited from class org.infinispan.transaction.impl.TransactionTable
afterCompletion, beforeCompletion, cleanupLeaverTransactions, containRemoteTx, containsLocalTx, failureCompletingTransaction, getCompletedTransactionStatus, getGlobalTransaction, getLocalGlobalTransaction, getLocalTransaction, getLocalTransaction, getLocalTransactions, getMinTopologyId, getOrCreateLocalTransaction, getOrCreateLocalTransaction, getOrCreateRemoteTransaction, getOrCreateRemoteTransaction, getRemoteGlobalTransaction, getRemoteTransaction, getRemoteTransactions, getRemoteTxCount, isTransactionCompleted, localTransactionPrepared, markTransactionCompleted, onTopologyChange, onViewChange, recalculateMinTopologyIdIfNeeded, releaseLocksForCompletedTransaction, remoteTransactionCommitted, remoteTransactionPrepared, remoteTransactionRollback, removeRemoteTransaction, start
-
Field Details
-
recoveryManager
-
cacheName
-
xid2LocalTx
-
-
Constructor Details
-
XaTransactionTable
public XaTransactionTable()
-
-
Method Details
-
startXidMapping
public void startXidMapping() -
removeLocalTransaction
Description copied from class:TransactionTable
Removes theTransactionXaAdapter
corresponding to the given tx. Returns true if such an tx exists.- Overrides:
removeLocalTransaction
in classTransactionTable
-
getLocalTransaction
-
enlist
- Overrides:
enlist
in classTransactionTable
-
enlistClientTransaction
public void enlistClientTransaction(javax.transaction.Transaction transaction, LocalTransaction localTransaction) - Overrides:
enlistClientTransaction
in classTransactionTable
-
getLocalTxCount
public int getLocalTxCount()- Overrides:
getLocalTxCount
in classTransactionTable
-
prepare
-
commit
-