org.infinispan.transaction.xa.recovery
Class RecoveryAwareGlobalTransaction
java.lang.Object
org.infinispan.transaction.xa.GlobalTransaction
org.infinispan.transaction.xa.recovery.RecoveryAwareGlobalTransaction
- All Implemented Interfaces:
- Cloneable, RecoverableTransactionIdentifier
public class RecoveryAwareGlobalTransaction
- extends GlobalTransaction
- implements RecoverableTransactionIdentifier
GlobalTransaction that also holds xid information, required for recovery.
- Since:
- 5.0
- Author:
- Mircea.Markus@jboss.com
- See Also:
RecoveryAwareDldGlobalTransaction
RecoveryAwareGlobalTransaction
public RecoveryAwareGlobalTransaction()
RecoveryAwareGlobalTransaction
public RecoveryAwareGlobalTransaction(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 GlobalTransaction
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.