public class WeakLeaseListener extends WeakReference<LeaseListener> implements LeaseListener
| Constructor and Description |
|---|
WeakLeaseListener(LeaseListener listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
notify(LeaseRenewalEvent event)
Delegate the notification to the listener.
|
clear, enqueue, get, isEnqueuedpublic WeakLeaseListener(LeaseListener listener)
public void notify(LeaseRenewalEvent event)
notify in interface LeaseListenerevent - instance of LeaseRenewalEvent containing information about the lease
that the LeaseRenewalManager was unable to renew, as well as
information about the condition that made the LeaseRenewalManager fail
to renew the leaseCopyright © GigaSpaces.