Class XidImpl
java.lang.Object
com.sun.ts.tests.common.connector.whitebox.XidImpl
- All Implemented Interfaces:
Xid
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
int
int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
formatID
public int formatID -
branchQualifier
public int branchQualifier -
globalTxID
public int globalTxID -
MAXGTRIDSIZE
public static final int MAXGTRIDSIZE- See Also:
-
MAXBQUALSIZE
public static final int MAXBQUALSIZE- See Also:
-
-
Constructor Details
-
XidImpl
public XidImpl()
-
-
Method Details
-
equals
-
hashCode
public int hashCode()Compute the hash code. -
toString
Return a string representing this XidImpl. -
getBranchQualifier
public byte[] getBranchQualifier()Returns the branch qualifier for this XidImpl.- Specified by:
getBranchQualifier
in interfaceXid
- Returns:
- the branch qualifier
-
getFormatId
public int getFormatId()- Specified by:
getFormatId
in interfaceXid
-
getGlobalTransactionId
public byte[] getGlobalTransactionId()- Specified by:
getGlobalTransactionId
in interfaceXid
-