org.apache.derby.impl.store.raw.data
Class ContainerHandleActionOnCommit
java.lang.Object
org.apache.derby.impl.store.raw.data.ContainerActionOnCommit
org.apache.derby.impl.store.raw.data.ContainerHandleActionOnCommit
- All Implemented Interfaces:
- java.util.Observer
- Direct Known Subclasses:
- SyncOnCommit, TruncateOnCommit
- public abstract class ContainerHandleActionOnCommit
- extends ContainerActionOnCommit
An abstract class that opens the container at commit and delegates
the actual work to a sub-class.
Method Summary |
protected abstract void |
doIt(BaseContainerHandle handle)
|
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()
|
void |
openContainerAndDoIt(RawTransaction xact)
Open the container and call the doIt method |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Observer |
update |
identity
protected ContainerKey identity
ContainerHandleActionOnCommit
public ContainerHandleActionOnCommit(ContainerKey identity)
openContainerAndDoIt
public void openContainerAndDoIt(RawTransaction xact)
- Open the container and call the doIt method
doIt
protected abstract void doIt(BaseContainerHandle handle)
throws StandardException
- Throws:
StandardException
hashCode
public int hashCode()
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.
Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.