org.infinispan.transaction.xa.recovery
Class RecoveryAwareDldGlobalTransaction
java.lang.Object
org.infinispan.transaction.xa.GlobalTransaction
org.infinispan.transaction.xa.DldGlobalTransaction
org.infinispan.transaction.xa.recovery.RecoveryAwareDldGlobalTransaction
- All Implemented Interfaces:
- Cloneable, RecoverableTransactionIdentifier
public class RecoveryAwareDldGlobalTransaction
- extends DldGlobalTransaction
- implements RecoverableTransactionIdentifier
DldGlobalTransaction that also holds xid information, required for recovery.
The purpose of this class is to avoid the serialization of Xid objects over the wire in the case recovery is not
enabled.
- Since:
- 5.0
- Author:
- Mircea.Markus@jboss.com
Methods inherited from class org.infinispan.transaction.xa.DldGlobalTransaction |
equals, getCoinToss, getLockIntention, getLocksHeldAtOrigin, getRemoteLockIntention, hashCode, hasLockAtOrigin, isAcquiringRemoteLock, isMarkedForRollback, setCoinToss, setLockIntention, setLocksHeldAtOrigin, setMarkedForRollback, setRemoteLockIntention, wouldLose |
RecoveryAwareDldGlobalTransaction
public RecoveryAwareDldGlobalTransaction()
RecoveryAwareDldGlobalTransaction
public RecoveryAwareDldGlobalTransaction(Address addr,
boolean remote)
getXid
public Xid getXid()
- Specified by:
getXid
in interface RecoverableTransactionIdentifier
setXid
public void setXid(Xid xid)
- Specified by:
setXid
in interface RecoverableTransactionIdentifier
getInternalId
public long getInternalId()
- Specified by:
getInternalId
in interface RecoverableTransactionIdentifier
setInternalId
public void setInternalId(long internalId)
- Specified by:
setInternalId
in interface RecoverableTransactionIdentifier
toString
public String toString()
- Overrides:
toString
in class DldGlobalTransaction
Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.