org.apache.derby.impl.store.raw.data
Class DropOnCommit

java.lang.Object
  extended byorg.apache.derby.impl.store.raw.data.ContainerActionOnCommit
      extended byorg.apache.derby.impl.store.raw.data.DropOnCommit
All Implemented Interfaces:
java.util.Observer

public class DropOnCommit
extends ContainerActionOnCommit

Drop a table on a commit or abort


Field Summary
protected  ContainerKey identity
           
protected  boolean isStreamContainer
           
 
Constructor Summary
DropOnCommit(ContainerKey identity)
           
DropOnCommit(ContainerKey identity, boolean isStreamContainer)
           
 
Method Summary
 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.
 int hashCode()
           
 void update(java.util.Observable obj, java.lang.Object arg)
          Called when the transaction is about to complete.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isStreamContainer

protected boolean isStreamContainer

identity

protected ContainerKey identity
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()

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.


Built on Mon 2007-06-04 09:58:47+0400, from revision ???

Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.