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 java.lang.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 Summary
Fields Modifier and Type Field Description protected ContainerKey
identity
-
Constructor Summary
Constructors Modifier Constructor Description protected
ContainerActionOnCommit(ContainerKey identity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.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.int
hashCode()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.derby.iapi.services.monitor.DerbyObserver
update
-
-
-
-
Field Detail
-
identity
protected ContainerKey identity
-
-
Constructor Detail
-
ContainerActionOnCommit
protected ContainerActionOnCommit(ContainerKey identity)
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.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 classjava.lang.Object
-
-