Class ContainerHandleActionOnCommit
- java.lang.Object
-
- org.apache.derby.impl.store.raw.data.ContainerActionOnCommit
-
- org.apache.derby.impl.store.raw.data.ContainerHandleActionOnCommit
-
- All Implemented Interfaces:
DerbyObserver
- 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.
-
-
Field Summary
-
Fields inherited from class org.apache.derby.impl.store.raw.data.ContainerActionOnCommit
identity
-
-
Constructor Summary
Constructors Constructor Description ContainerHandleActionOnCommit(ContainerKey identity)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voiddoIt(BaseContainerHandle handle)voidopenContainerAndDoIt(RawTransaction xact)Open the container and call the doIt method-
Methods inherited from class org.apache.derby.impl.store.raw.data.ContainerActionOnCommit
equals, 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
-
-
-
-
Constructor Detail
-
ContainerHandleActionOnCommit
public ContainerHandleActionOnCommit(ContainerKey identity)
-
-
Method Detail
-
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
-
-