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 class
RecoveryAwareDldGlobalTransaction.Externalizer
Deprecated.-
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 long
getInternalId()
Deprecated.Xid
getXid()
Deprecated.void
setInternalId(long internalId)
Deprecated.void
setXid(Xid xid)
Deprecated.String
toString()
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:
getXid
in interfaceRecoverableTransactionIdentifier
-
setXid
public void setXid(Xid xid)
Deprecated.- Specified by:
setXid
in interfaceRecoverableTransactionIdentifier
-
getInternalId
public long getInternalId()
Deprecated.- Specified by:
getInternalId
in interfaceRecoverableTransactionIdentifier
-
setInternalId
public void setInternalId(long internalId)
Deprecated.- Specified by:
setInternalId
in interfaceRecoverableTransactionIdentifier
-
toString
public String toString()
Deprecated.- Overrides:
toString
in classDldGlobalTransaction
-
-