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

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

abstract class ContainerActionOnCommit
extends java.lang.Object
implements java.util.Observer

An Observer that can be attached to a transaction to implement some action when the transaction commits or rollsback in some way.


Field Summary
protected  ContainerKey identity
           
 
Constructor Summary
protected ContainerActionOnCommit(ContainerKey identity)
           
 
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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Observer
update
 

Field Detail

identity

protected ContainerKey identity
Constructor Detail

ContainerActionOnCommit

protected ContainerActionOnCommit(ContainerKey identity)
Method Detail

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.