org.apache.derby.impl.store.raw.data
Class ContainerHandleActionOnCommit
- java.lang.Object
-
- org.apache.derby.impl.store.raw.data.ContainerHandleActionOnCommit
-
- All Implemented Interfaces:
- java.util.Observer
- Direct Known Subclasses:
- SyncOnCommit, TruncateOnCommit
public abstract class ContainerHandleActionOnCommit extends java.lang.ObjectAn abstract class that opens the container at commit and delegates the actual work to a sub-class.
-
-
Constructor Summary
Constructors Constructor and Description ContainerHandleActionOnCommit(ContainerKey identity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanequals(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.inthashCode()voidopenContainerAndDoIt(RawTransaction xact)Open the container and call the doIt method
-
-
-
Constructor Detail
-
ContainerHandleActionOnCommit
public ContainerHandleActionOnCommit(ContainerKey identity)
-
-
Method Detail
-
openContainerAndDoIt
public void openContainerAndDoIt(RawTransaction xact)
Open the container and call the doIt method
-
hashCode
public int hashCode()
- Overrides:
hashCodein 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:
equalsin classjava.lang.Object
-
-
DataMelt 3.0 © DataMelt by jWork.ORG