DerbyObserver
public 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.
|
hashCode
openContainerAndDoIt
public TruncateOnCommit(ContainerKey identity, boolean commitAsWell)
public void update(DerbyObservable obj, java.lang.Object arg)
DerbyObserver
obj
- The object which is being observedarg
- Extra information being passed to the callbackprotected void doIt(BaseContainerHandle handle) throws StandardException
doIt
in class ContainerHandleActionOnCommit
StandardException
- Standard Derby error policypublic boolean equals(java.lang.Object other)
ContainerActionOnCommit
equals
in class ContainerActionOnCommit
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.