DerbyObserverpublic class TruncateOnCommit extends ContainerHandleActionOnCommit
| Modifier and Type | Field | Description |
|---|---|---|
private boolean |
commitAsWell |
Truncate on a commit as well.
|
identity| Constructor | Description |
|---|---|
TruncateOnCommit(ContainerKey identity,
boolean commitAsWell) |
| Modifier and Type | Method | Description |
|---|---|---|
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(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.
|
hashCodeopenContainerAndDoItpublic TruncateOnCommit(ContainerKey identity, boolean commitAsWell)
public void update(DerbyObservable obj, java.lang.Object arg)
DerbyObserverobj - The object which is being observedarg - Extra information being passed to the callbackprotected void doIt(BaseContainerHandle handle) throws StandardException
doIt in class ContainerHandleActionOnCommitStandardException - Standard Derby error policypublic boolean equals(java.lang.Object other)
ContainerActionOnCommitequals in class ContainerActionOnCommitApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.