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
@Deprecated public class RecoveryAwareDldGlobalTransaction extends DldGlobalTransaction implements RecoverableTransactionIdentifier
Deprecated.Since 9.0, no longer used.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRecoveryAwareDldGlobalTransaction.ExternalizerDeprecated.-
Nested classes/interfaces inherited from class org.infinispan.transaction.xa.GlobalTransaction
GlobalTransaction.AbstractGlobalTxExternalizer<T extends GlobalTransaction>
-
-
Field Summary
-
Fields inherited from class org.infinispan.transaction.xa.DldGlobalTransaction
locksAtOrigin
-
Fields inherited from class org.infinispan.transaction.xa.GlobalTransaction
addr, id
-
-
Constructor Summary
Constructors Constructor Description RecoveryAwareDldGlobalTransaction()Deprecated.RecoveryAwareDldGlobalTransaction(Address addr, boolean remote)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description longgetInternalId()Deprecated.XidgetXid()Deprecated.voidsetInternalId(long internalId)Deprecated.voidsetXid(Xid xid)Deprecated.StringtoString()Deprecated.-
Methods inherited from class org.infinispan.transaction.xa.DldGlobalTransaction
equals, getCoinToss, getLockIntention, getLocksHeldAtOrigin, getRemoteLockIntention, hasAnyLockAtOrigin, hashCode, setCoinToss, setLockIntention, setLocksHeldAtOrigin, setRemoteLockIntention, wouldLose
-
Methods inherited from class org.infinispan.transaction.xa.GlobalTransaction
clone, getAddress, getId, globalId, isRemote, setAddress, setId, setRemote
-
-
-
-
Constructor Detail
-
RecoveryAwareDldGlobalTransaction
public RecoveryAwareDldGlobalTransaction()
Deprecated.
-
RecoveryAwareDldGlobalTransaction
public RecoveryAwareDldGlobalTransaction(Address addr, boolean remote)
Deprecated.
-
-
Method Detail
-
getXid
public Xid getXid()
Deprecated.- Specified by:
getXidin interfaceRecoverableTransactionIdentifier
-
setXid
public void setXid(Xid xid)
Deprecated.- Specified by:
setXidin interfaceRecoverableTransactionIdentifier
-
getInternalId
public long getInternalId()
Deprecated.- Specified by:
getInternalIdin interfaceRecoverableTransactionIdentifier
-
setInternalId
public void setInternalId(long internalId)
Deprecated.- Specified by:
setInternalIdin interfaceRecoverableTransactionIdentifier
-
toString
public String toString()
Deprecated.- Overrides:
toStringin classDldGlobalTransaction
-
-