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, XidAware
public class RecoveryAwareDldGlobalTransaction
- extends DldGlobalTransaction
- implements XidAware
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, toString, wouldLose |
RecoveryAwareDldGlobalTransaction
public RecoveryAwareDldGlobalTransaction()
RecoveryAwareDldGlobalTransaction
public RecoveryAwareDldGlobalTransaction(Address addr,
boolean remote)
getXid
public Xid getXid()
- Specified by:
getXid
in interface XidAware
setXid
public void setXid(Xid xid)
- Specified by:
setXid
in interface XidAware
Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.