org.apache.derby.impl.store.raw.data
Class DropOnCommit
- java.lang.Object
-
- org.apache.derby.impl.store.raw.data.DropOnCommit
-
- All Implemented Interfaces:
- java.util.Observer
public class DropOnCommit extends java.lang.ObjectDrop a table on a commit or abort
-
-
Constructor Summary
Constructors Constructor and Description DropOnCommit(ContainerKey identity)DropOnCommit(ContainerKey identity, boolean isStreamContainer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanequals(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.inthashCode()voidupdate(java.util.Observable obj, java.lang.Object arg)Called when the transaction is about to complete.
-
-
-
Constructor Detail
-
DropOnCommit
public DropOnCommit(ContainerKey identity)
-
DropOnCommit
public DropOnCommit(ContainerKey identity, boolean isStreamContainer)
-
-
Method Detail
-
update
public void update(java.util.Observable obj, java.lang.Object arg)Called when the transaction is about to complete.- See Also:
Observer.update(java.util.Observable, java.lang.Object)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public 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.
This allows mutiple additions of value equality obejcts to the observer list while only retaining one.- Overrides:
equalsin classjava.lang.Object
-
-
DataMelt 3.0 © DataMelt by jWork.ORG