java.lang.Object
com.sun.ts.tests.common.connector.whitebox.XidImpl
All Implemented Interfaces:
Xid

public class XidImpl extends Object implements Xid
  • 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Compute the hash code.
      Overrides:
      hashCode in class Object
      Returns:
      the computed hashcode
    • toString

      public String toString()
      Return a string representing this XidImpl.
      Overrides:
      toString in class Object
      Returns:
      the string representation of this XidImpl
    • getBranchQualifier

      public byte[] getBranchQualifier()
      Returns the branch qualifier for this XidImpl.
      Specified by:
      getBranchQualifier in interface Xid
      Returns:
      the branch qualifier
    • getFormatId

      public int getFormatId()
      Specified by:
      getFormatId in interface Xid
    • getGlobalTransactionId

      public byte[] getGlobalTransactionId()
      Specified by:
      getGlobalTransactionId in interface Xid