Class SyncOnCommit
- java.lang.Object
-
- org.apache.derby.impl.store.raw.data.ContainerActionOnCommit
-
- org.apache.derby.impl.store.raw.data.ContainerHandleActionOnCommit
-
- org.apache.derby.impl.store.raw.data.SyncOnCommit
-
- All Implemented Interfaces:
DerbyObserver
public class SyncOnCommit extends ContainerHandleActionOnCommit
Flush all pages for a table on a commit
-
-
Field Summary
-
Fields inherited from class org.apache.derby.impl.store.raw.data.ContainerActionOnCommit
identity
-
-
Constructor Summary
Constructors Constructor Description SyncOnCommit(ContainerKey identity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doIt(BaseContainerHandle handle)
void
update(DerbyObservable obj, java.lang.Object arg)
This is the callback method which is invoked when a change happens to the object which is being observed.-
Methods inherited from class org.apache.derby.impl.store.raw.data.ContainerHandleActionOnCommit
openContainerAndDoIt
-
Methods inherited from class org.apache.derby.impl.store.raw.data.ContainerActionOnCommit
equals, hashCode
-
-
-
-
Constructor Detail
-
SyncOnCommit
public SyncOnCommit(ContainerKey identity)
-
-
Method Detail
-
update
public void update(DerbyObservable obj, java.lang.Object arg)
Description copied from interface:DerbyObserver
This is the callback method which is invoked when a change happens to the object which is being observed.- Parameters:
obj
- The object which is being observedarg
- Extra information being passed to the callback
-
doIt
protected void doIt(BaseContainerHandle handle) throws StandardException
- Specified by:
doIt
in classContainerHandleActionOnCommit
- Throws:
StandardException
- Standard Derby error policy
-
-