public class XidImpl extends Object implements Xid, Externalizable
MAXBQUALSIZE, MAXGTRIDSIZE
Constructor and Description |
---|
XidImpl() |
XidImpl(int formatID,
byte[] globalTransactionId,
byte[] branchQualifier) |
XidImpl(Xid xid) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
byte[] |
getBranchQualifier() |
int |
getFormatId() |
byte[] |
getGlobalTransactionId() |
int |
hashCode() |
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public XidImpl()
public XidImpl(Xid xid)
public XidImpl(int formatID, byte[] globalTransactionId, byte[] branchQualifier)
public int getFormatId()
getFormatId
in interface Xid
Xid.getFormatId()
public byte[] getGlobalTransactionId()
getGlobalTransactionId
in interface Xid
Xid.getGlobalTransactionId()
public byte[] getBranchQualifier()
getBranchQualifier
in interface Xid
Xid.getBranchQualifier()
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
Copyright © 2013-2014 JBoss by Red Hat. All Rights Reserved.