|
|||||||||
| Home >> All >> org >> apache >> derby >> impl >> store >> raw >> [ data overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.derby.impl.store.raw.data
Class TruncateOnCommit

java.lang.Objectorg.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. |
| Fields inherited from class org.apache.derby.impl.store.raw.data.ContainerHandleActionOnCommit |
identity |
| Constructor Summary | |
TruncateOnCommit(org.apache.derby.iapi.store.raw.ContainerKey identity,
boolean commitAsWell)
|
|
| 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)
This method is called whenever the observable object changes, and has called notifyObservers. |
| Methods inherited from class org.apache.derby.impl.store.raw.data.ContainerHandleActionOnCommit |
hashCode, openContainerAndDoIt |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
commitAsWell
private boolean commitAsWell
- Truncate on a commit as well.
| Constructor Detail |
TruncateOnCommit
public TruncateOnCommit(org.apache.derby.iapi.store.raw.ContainerKey identity, boolean commitAsWell)
| Method Detail |
update
public void update(java.util.Observable obj, java.lang.Object arg)
- Description copied from interface:
java.util.Observer - This method is called whenever the observable object changes, and has
called
notifyObservers. The Observable object can pass arbitrary information in the second parameter.
doIt
protected void doIt(BaseContainerHandle handle) throws org.apache.derby.iapi.error.StandardException
- Specified by:
doItin classContainerHandleActionOnCommit
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:
equalsin classContainerActionOnCommit
|
|||||||||
| Home >> All >> org >> apache >> derby >> impl >> store >> raw >> [ data overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC