net.spy.memcached.vbucket
Class ReconfigurableObserver

java.lang.Object
  extended by net.spy.memcached.vbucket.ReconfigurableObserver
All Implemented Interfaces:
Observer

public class ReconfigurableObserver
extends Object
implements Observer

An implementation of the observer for calling reconfigure.


Constructor Summary
ReconfigurableObserver(Reconfigurable rec)
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 void update(Observable o, Object arg)
          Delegates update to the reconfigurable passed in the constructor
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReconfigurableObserver

public ReconfigurableObserver(Reconfigurable rec)
Method Detail

update

public void update(Observable o,
                   Object arg)
Delegates update to the reconfigurable passed in the constructor

Specified by:
update in interface Observer
Parameters:
o -
arg -

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object