Class DummyNoXaXid

  • All Implemented Interfaces:
    Xid

    @Deprecated
    public final class DummyNoXaXid
    extends Object
    implements Xid
    Deprecated.
    it will be removed and EmbeddedXid would be used instead.
    Xid to be used when no XAResource enlistment takes place. This is more efficient both creation and memory wise than DummyXid.
    Since:
    5.1
    Author:
    Mircea Markus <mircea.markus@jboss.com> (C) 2011 Red Hat Inc.
    • Constructor Detail

      • DummyNoXaXid

        public DummyNoXaXid()
        Deprecated.
    • Method Detail

      • getFormatId

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

        public byte[] getGlobalTransactionId()
        Deprecated.
        Specified by:
        getGlobalTransactionId in interface Xid
      • getBranchQualifier

        public byte[] getBranchQualifier()
        Deprecated.
        Specified by:
        getBranchQualifier in interface Xid
      • hashCode

        public final int hashCode()
        Deprecated.
        Implementing an efficient hashCode is critical for performance:
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Deprecated.
        Overrides:
        equals in class Object