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 XidXid.getFormatId()public byte[] getGlobalTransactionId()
getGlobalTransactionId in interface XidXid.getGlobalTransactionId()public byte[] getBranchQualifier()
getBranchQualifier in interface XidXid.getBranchQualifier()public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class ObjectObject.hashCode()public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.