public class BatchLeaseRenewalManager extends Object implements EventLeaseRenewalManager
Constructor and Description |
---|
BatchLeaseRenewalManager(SpaceProxyImpl spaceProxy,
Logger logger) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
getRenewalDuration() |
void |
registerAutoRenew(EventRegistration eventRegistration,
LeaseListener listener) |
boolean |
supportsCustomLease() |
void |
unregisterAutoRenew(EventRegistration eventRegistration) |
void |
unregisterAutoRenew(Lease lease) |
public BatchLeaseRenewalManager(SpaceProxyImpl spaceProxy, Logger logger)
public boolean supportsCustomLease()
supportsCustomLease
in interface EventLeaseRenewalManager
public long getRenewalDuration()
getRenewalDuration
in interface EventLeaseRenewalManager
public void registerAutoRenew(EventRegistration eventRegistration, LeaseListener listener)
registerAutoRenew
in interface EventLeaseRenewalManager
public void unregisterAutoRenew(EventRegistration eventRegistration)
unregisterAutoRenew
in interface EventLeaseRenewalManager
public void unregisterAutoRenew(Lease lease)
public void close()
close
in interface EventLeaseRenewalManager
Copyright © GigaSpaces.