public class NotifySpaceCacheStateListener extends Object implements LeaseListener, Runnable
Constructor and Description |
---|
NotifySpaceCacheStateListener(NotifySpaceCache spaceCache,
SpaceCacheConfig cacheConfig) |
Modifier and Type | Method and Description |
---|---|
boolean |
isHealthy() |
void |
notify(LeaseRenewalEvent event)
callback method from LRM when trouble to renew notify delegator lease.
|
void |
run() |
public NotifySpaceCacheStateListener(NotifySpaceCache spaceCache, SpaceCacheConfig cacheConfig)
public boolean isHealthy()
public void notify(LeaseRenewalEvent event)
notify
in interface LeaseListener
event
- 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.