Class XidTransactionIDImpl

    • Constructor Summary

      Constructors 
      Constructor Description
      XidTransactionIDImpl​(javax.transaction.xa.Xid xid, java.lang.String cacheName)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)
      java.lang.String getCacheName()
      Get the name of the associated Ehcache resource.
      javax.transaction.xa.Xid getXid()
      Get the XID of this transaction ID
      int hashCode()
      java.lang.String toString()
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • XidTransactionIDImpl

        public XidTransactionIDImpl​(javax.transaction.xa.Xid xid,
                                    java.lang.String cacheName)
        Constructor
        Parameters:
        xid - a XID
    • Method Detail

      • getXid

        public javax.transaction.xa.Xid getXid()
        Get the XID of this transaction ID
        Specified by:
        getXid in interface XidTransactionID
        Returns:
        the XID
      • getCacheName

        public java.lang.String getCacheName()
        Get the name of the associated Ehcache resource.
        Specified by:
        getCacheName in interface XidTransactionID
        Returns:
        the Ehcache resource name
      • equals

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

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

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