org.infinispan.transaction.xa.recovery
Class RecoveryAwareTransactionTable
java.lang.Object
org.infinispan.transaction.TransactionTable
org.infinispan.transaction.xa.XaTransactionTable
org.infinispan.transaction.xa.recovery.RecoveryAwareTransactionTable
public class RecoveryAwareTransactionTable
- extends XaTransactionTable
Transaction table that delegates prepared transaction's management to the RecoveryManager
.
- Since:
- 5.0
- Author:
- Mircea.Markus@jboss.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecoveryAwareTransactionTable
public RecoveryAwareTransactionTable()
initialize
public void initialize(RecoveryManager recoveryManager)
remoteTransactionPrepared
public void remoteTransactionPrepared(GlobalTransaction gtx)
- Overrides:
remoteTransactionPrepared
in class TransactionTable
localTransactionPrepared
public void localTransactionPrepared(LocalTransaction localTransaction)
- Overrides:
localTransactionPrepared
in class TransactionTable
updateStateOnNodesLeaving
protected void updateStateOnNodesLeaving(List<Address> leavers)
- Overrides:
updateStateOnNodesLeaving
in class TransactionTable
getRemoteTransaction
public RemoteTransaction getRemoteTransaction(GlobalTransaction txId)
- Description copied from class:
TransactionTable
- Returns the
RemoteTransaction
associated with the supplied transaction id.
Returns null if no such association exists.
- Overrides:
getRemoteTransaction
in class TransactionTable
remoteTransactionCompleted
public void remoteTransactionCompleted(GlobalTransaction gtx)
- Description copied from class:
TransactionTable
- Removes the
RemoteTransaction
corresponding to the given tx.
- Overrides:
remoteTransactionCompleted
in class TransactionTable
getLocalPreparedXids
public List<Xid> getLocalPreparedXids()
Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.