org.infinispan.transaction.xa.recovery
Class RecoveryAwareDldGlobalTransaction

java.lang.Object
  extended by org.infinispan.transaction.xa.GlobalTransaction
      extended by org.infinispan.transaction.xa.DldGlobalTransaction
          extended by 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

Nested Class Summary
static class RecoveryAwareDldGlobalTransaction.Externalizer
           
 
Field Summary
 
Fields inherited from class org.infinispan.transaction.xa.DldGlobalTransaction
remoteLockIntention, trace
 
Fields inherited from class org.infinispan.transaction.xa.GlobalTransaction
addr
 
Constructor Summary
RecoveryAwareDldGlobalTransaction()
           
RecoveryAwareDldGlobalTransaction(Address addr, boolean remote)
           
 
Method Summary
 Xid getXid()
           
 void setXid(Xid xid)
           
 
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
 
Methods inherited from class org.infinispan.transaction.xa.GlobalTransaction
clone, getAddress, getId, isRemote, setAddress, setId, setRemote
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RecoveryAwareDldGlobalTransaction

public RecoveryAwareDldGlobalTransaction()

RecoveryAwareDldGlobalTransaction

public RecoveryAwareDldGlobalTransaction(Address addr,
                                         boolean remote)
Method Detail

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.