org.semispace.notification
Class ToBeNotified

java.lang.Object
  extended by org.semispace.notification.ToBeNotified
All Implemented Interfaces:
SemiEventListener<SemiAvailabilityEvent>

public class ToBeNotified
extends Object
implements SemiEventListener<SemiAvailabilityEvent>


Constructor Summary
ToBeNotified(boolean toCancelLease)
           
 
Method Summary
 int getNotified()
           
 void notify(SemiAvailabilityEvent theEvent)
          synchronized in order to avoid it being called twice (as it may be removed)
 void setNotify(SemiEventRegistration lease)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToBeNotified

public ToBeNotified(boolean toCancelLease)
Method Detail

getNotified

public int getNotified()

notify

public void notify(SemiAvailabilityEvent theEvent)
synchronized in order to avoid it being called twice (as it may be removed)

Specified by:
notify in interface SemiEventListener<SemiAvailabilityEvent>

setNotify

public void setNotify(SemiEventRegistration lease)


Copyright © 2008-2012. All Rights Reserved.