org.apache.derby.impl.store.raw.data
Class ContainerHandleActionOnCommit

java.lang.Object
  extended by org.apache.derby.impl.store.raw.data.ContainerActionOnCommit
      extended by 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.


Field Summary
 
Fields inherited from class org.apache.derby.impl.store.raw.data.ContainerActionOnCommit
identity
 
Constructor Summary
ContainerHandleActionOnCommit(ContainerKey identity)
           
 
Method Summary
protected abstract  void doIt(BaseContainerHandle handle)
           
 void openContainerAndDoIt(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 java.util.Observer
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

Built on Thu 2011-03-10 11:54:14+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.