public class GSXid extends Object implements Xid, SmartExternalizable
MAXBQUALSIZE, MAXGTRIDSIZE
Constructor and Description |
---|
GSXid()
Empty constructor for
Externalizable |
GSXid(byte[] branchQualifier,
int formatId,
byte[] globalTransactionId)
Ctor
|
GSXid(Xid xid)
Ctor - copy constructor
|
GSXid(Xid xid,
UUID rmid) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
byte[] |
getBranchQualifier() |
int |
getFormatId() |
byte[] |
getGlobalTransactionId() |
int |
hashCode() |
void |
readExternal(ObjectInput objectinput) |
void |
writeExternal(ObjectOutput objectoutput) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
enabledSmartExternalizableWithReference
public GSXid()
Externalizable
public GSXid(byte[] branchQualifier, int formatId, byte[] globalTransactionId)
public GSXid(Xid xid)
public byte[] getBranchQualifier()
getBranchQualifier
in interface Xid
public int getFormatId()
getFormatId
in interface Xid
public byte[] getGlobalTransactionId()
getGlobalTransactionId
in interface Xid
public void writeExternal(ObjectOutput objectoutput) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput objectinput) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © GigaSpaces.