Class GSXid
java.lang.Object
com.gigaspaces.client.transaction.xa.GSXid
- All Implemented Interfaces:
SmartExternalizable,Externalizable,Serializable,Xid
Local implementation of Xid to be store in Space
- See Also:
-
Field Summary
Fields inherited from interface javax.transaction.xa.Xid
MAXBQUALSIZE, MAXGTRIDSIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]intbyte[]inthashCode()voidreadExternal(ObjectInput objectinput) voidwriteExternal(ObjectOutput objectoutput) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
GSXid
public GSXid()Empty constructor forExternalizable -
GSXid
public GSXid(byte[] branchQualifier, int formatId, byte[] globalTransactionId) Ctor -
GSXid
Ctor - copy constructor -
GSXid
-
-
Method Details
-
getBranchQualifier
public byte[] getBranchQualifier()- Specified by:
getBranchQualifierin interfaceXid
-
getFormatId
public int getFormatId()- Specified by:
getFormatIdin interfaceXid
-
getGlobalTransactionId
public byte[] getGlobalTransactionId()- Specified by:
getGlobalTransactionIdin interfaceXid
-
equals
-
hashCode
public int hashCode() -
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-