Class XID

java.lang.Object
com.arjuna.ats.internal.jta.xa.XID
All Implemented Interfaces:
Serializable

public class XID extends Object implements Serializable
An X/Open XID implementation.
Since:
JTS 1.0.
Version:
$Id: XID.java 2342 2006-03-30 13:06:17Z $
Author:
Mark Little (mark@arjuna.com)
See Also:
  • Field Details

    • XIDDATASIZE

      public static final int XIDDATASIZE
      See Also:
    • MAXGTRIDSIZE

      public static final int MAXGTRIDSIZE
      See Also:
    • MAXBQUALSIZE

      public static final int MAXBQUALSIZE
      See Also:
    • NULL_XID

      public static final int NULL_XID
      See Also:
    • formatID

      public int formatID
    • gtrid_length

      public int gtrid_length
    • bqual_length

      public int bqual_length
    • data

      public byte[] data
  • Constructor Details

    • XID

      public XID()
  • Method Details

    • isSameTransaction

      public final boolean isSameTransaction(XID xid)
      Check for equality, then check transaction id only.
    • copy

      public void copy(XID toCopy)
    • equals

      public boolean equals(XID other)
    • toString

      public String toString()
      Overrides:
      toString in class Object