public class JiniEventLeaseRenewalManager extends Object implements EventLeaseRenewalManager
Constructor and Description |
---|
JiniEventLeaseRenewalManager(EventSessionConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
getRenewalDuration() |
void |
registerAutoRenew(EventRegistration eventRegistration,
LeaseListener listener) |
boolean |
supportsCustomLease() |
void |
unregisterAutoRenew(EventRegistration eventRegistration) |
public JiniEventLeaseRenewalManager(EventSessionConfig config)
public boolean supportsCustomLease()
supportsCustomLease
in interface EventLeaseRenewalManager
public void close()
close
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
Copyright © GigaSpaces.