Class ToBeNotified
java.lang.Object
org.semispace.notification.ToBeNotified
- All Implemented Interfaces:
SemiEventListener<SemiAvailabilityEvent>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidnotify(SemiAvailabilityEvent theEvent) synchronized in order to avoid it being called twice (as it may be removed)voidsetNotify(SemiEventRegistration lease)
-
Constructor Details
-
ToBeNotified
public ToBeNotified(boolean toCancelLease)
-
-
Method Details
-
getNotified
public int getNotified() -
notify
synchronized in order to avoid it being called twice (as it may be removed)- Specified by:
notifyin interfaceSemiEventListener<SemiAvailabilityEvent>
-
setNotify
-