org.apache.derby.impl.store.raw.data
Class TruncateOnCommit
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.TruncateOnCommit
- All Implemented Interfaces:
- java.util.Observer
public class TruncateOnCommit
- extends ContainerHandleActionOnCommit
Truncate a temp table on a commit, abort or rollback to savepoint
Field Summary |
private boolean |
commitAsWell
Truncate on a commit as well. |
Method Summary |
protected 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. |
void |
update(java.util.Observable obj,
java.lang.Object arg)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
commitAsWell
private boolean commitAsWell
- Truncate on a commit as well.
TruncateOnCommit
public TruncateOnCommit(ContainerKey identity,
boolean commitAsWell)
update
public void update(java.util.Observable obj,
java.lang.Object arg)
doIt
protected void doIt(BaseContainerHandle handle)
throws StandardException
- Specified by:
doIt
in class ContainerHandleActionOnCommit
- Throws:
StandardException
- Standard Derby error policy
equals
public boolean equals(java.lang.Object other)
- Description copied from class:
ContainerActionOnCommit
- 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:
equals
in class ContainerActionOnCommit
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.