org.neo4j.kernel.impl.transaction
Class XidImpl

java.lang.Object
  extended by org.neo4j.kernel.impl.transaction.XidImpl
All Implemented Interfaces:
Xid

public class XidImpl
extends Object
implements Xid


Field Summary
 
Fields inherited from interface javax.transaction.xa.Xid
MAXBQUALSIZE, MAXGTRIDSIZE
 
Constructor Summary
XidImpl(byte[] globalId, byte[] resourceId)
           
XidImpl(byte[] globalId, byte[] resourceId, int formatId)
           
 
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

XidImpl

public XidImpl(byte[] globalId,
               byte[] resourceId)

XidImpl

public XidImpl(byte[] globalId,
               byte[] resourceId,
               int formatId)
Method Detail

getGlobalTransactionId

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

getBranchQualifier

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

getFormatId

public int getFormatId()
Specified by:
getFormatId 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 © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.