Class SimpleXid

java.lang.Object
org.wildfly.transaction.client.SimpleXid
All Implemented Interfaces:
Comparable<SimpleXid>, Xid

public final class SimpleXid extends Object implements Xid, Comparable<SimpleXid>
A special simplified XID implementation which can only be compared with itself.
Author:
David M. Lloyd
  • Field Details

    • NO_BYTES

      public static final byte[] NO_BYTES
      An empty byte array used when there is an empty XID component.
    • NO_XIDS

      public static final Xid[] NO_XIDS
      An empty XID array.
    • NO_SIMPLE_XIDS

      public static final SimpleXid[] NO_SIMPLE_XIDS
      An empty SimpleXid array.
    • EMPTY

      public static final SimpleXid EMPTY
      A completely empty SimpleXid, which sorts below all other SimpleXid instances.
  • Constructor Details

    • SimpleXid

      public SimpleXid(int formatId, byte[] gtId, byte[] bq)
  • Method Details