Class CacheXid


  • public class CacheXid
    extends java.lang.Object
    A key used in the global transaction table.

    The global transaction table is a replicated cache. This key contains the cache name and the transactions' XidImpl.

    Since:
    9.1
    Author:
    Pedro Ruivo
    • Method Detail

      • sameXid

        public boolean sameXid​(javax.transaction.xa.Xid other)
      • writeTo

        public static void writeTo​(java.io.ObjectOutput output,
                                   CacheXid object)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • readFrom

        public static CacheXid readFrom​(java.io.ObjectInput input)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object