Class ContainerActionOnCommit

java.lang.Object
org.apache.derby.impl.store.raw.data.ContainerActionOnCommit
All Implemented Interfaces:
DerbyObserver
Direct Known Subclasses:
ContainerHandleActionOnCommit, DropOnCommit

abstract class ContainerActionOnCommit extends Object implements DerbyObserver
An Observer that can be attached to a transaction to implement some action when the transaction commits or rollsback in some way.
  • Field Details

  • Constructor Details

    • ContainerActionOnCommit

      protected ContainerActionOnCommit(ContainerKey identity)
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      An equals method that returns true if the other obejct is a sub-class of this, and the container identities are equal *and* it is the same class as this.
      This allows mutiple additions of value equality obejcts to the observer list while only retaining one.
      Overrides:
      equals in class Object