org.terracotta.modules.ehcache.transaction.xa
Class XidClustered

java.lang.Object
  extended by org.terracotta.modules.ehcache.transaction.xa.XidClustered
All Implemented Interfaces:
Serializable, Xid

public final class XidClustered
extends Object
implements Xid, Serializable

Author:
Alex Snaps
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface javax.transaction.xa.Xid
MAXBQUALSIZE, MAXGTRIDSIZE
 
Constructor Summary
XidClustered(int formatId, byte[] globalTxId, byte[] branchQualifier)
           
XidClustered(Xid xid)
           
 
Method Summary
 boolean equals(Object o)
           
 byte[] getBranchQualifier()
           
 int getFormatId()
           
 byte[] getGlobalTransactionId()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XidClustered

public XidClustered(Xid xid)

XidClustered

public XidClustered(int formatId,
                    byte[] globalTxId,
                    byte[] branchQualifier)
Method Detail

getFormatId

public int getFormatId()
Specified by:
getFormatId in interface Xid

getGlobalTransactionId

public byte[] getGlobalTransactionId()
Specified by:
getGlobalTransactionId in interface Xid

getBranchQualifier

public byte[] getBranchQualifier()
Specified by:
getBranchQualifier in interface Xid

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.