Documentation of 'org.apache.derby.iapi.store.access.GlobalXact' Java class
GlobalXact
org.apache.derby.iapi.store.access

Class GlobalXact

  • Direct Known Subclasses:
    GlobalXactId, XAXactId


    public abstract class GlobalXact
    extends java.lang.Object
    This abstract class represents a global transaction id which can be tested for equality against other transaction ids, which can be hashed into a hash table, and which can be output as a string.

    This class has 2 direct subclasses.

    • org.apache.derby.iapi.store.access.xa.XAXactId : this class is a specific implementation of the JTA Xid interface
    • org.apache.derby.impl.store.access.GlobalXactId : this class represents internal Derby transaction ids

    The main reason for this class is to ensure that equality etc. works in a consistent way across both subclasses.

    • Constructor Summary

      Constructors 
      Constructor and Description
      GlobalXact() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object other) 
      int hashCode()
      Provide a hashCode which is compatable with the equals() method.
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

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

      • GlobalXact

        public GlobalXact()
    • Method Detail

      • equals

        public boolean equals(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • toString

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

        public int hashCode()
        Provide a hashCode which is compatable with the equals() method.
        Overrides:
        hashCode in class java.lang.Object
        See Also:
        Object.hashCode()

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.