public class XaTransactionTable extends TransactionTable
TransactionTable
to be used with TransactionXaAdapter
.Modifier and Type | Field and Description |
---|---|
protected ConcurrentMap<Xid,LocalXaTransaction> |
xid2LocalTx |
CACHE_STOPPED_VIEW_ID, clustered, clusteringLogic, commandsFactory, configuration, icc, rpcManager, txCoordinator, txFactory
Constructor and Description |
---|
XaTransactionTable() |
Modifier and Type | Method and Description |
---|---|
void |
addLocalTransactionMapping(LocalXaTransaction localTransaction) |
void |
enlist(Transaction transaction,
LocalTransaction ltx) |
LocalXaTransaction |
getLocalTransaction(Xid xid) |
int |
getLocalTxCount() |
RecoveryManager |
getRecoveryManager() |
void |
init(RecoveryManager recoveryManager) |
boolean |
removeLocalTransaction(LocalTransaction localTx)
Removes the
TransactionXaAdapter corresponding to the given tx. |
LocalTransaction |
removeLocalTransaction(Transaction tx) |
void |
setRecoveryManager(RecoveryManager recoveryManager) |
containRemoteTx, containsLocalTx, createRemoteTransaction, failureCompletingTransaction, getLocalTransaction, getLocalTransactions, getLocalTx, getLockedKeysForRemoteTransaction, getMinViewId, getOrCreateLocalTransaction, getRemoteTransaction, getRemoteTransactions, getRemoteTxCount, initialize, localTransactionPrepared, recalculateMinViewIdIfNeeded, recalculateMinViewIdOnTopologyChange, remoteTransactionCommitted, remoteTransactionPrepared, remoteTransactionRollback, removeLocalTransactionInternal, removeRemoteTransaction, updateStateOnNodesLeaving
protected ConcurrentMap<Xid,LocalXaTransaction> xid2LocalTx
public void init(RecoveryManager recoveryManager)
public boolean removeLocalTransaction(LocalTransaction localTx)
TransactionTable
TransactionXaAdapter
corresponding to the given tx. Returns true
if such an tx exists.removeLocalTransaction
in class TransactionTable
public LocalTransaction removeLocalTransaction(Transaction tx)
removeLocalTransaction
in class TransactionTable
public LocalXaTransaction getLocalTransaction(Xid xid)
public void addLocalTransactionMapping(LocalXaTransaction localTransaction)
public void enlist(Transaction transaction, LocalTransaction ltx)
enlist
in class TransactionTable
public RecoveryManager getRecoveryManager()
public void setRecoveryManager(RecoveryManager recoveryManager)
public int getLocalTxCount()
getLocalTxCount
in class TransactionTable
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.