static class Browser.LeaseNotify extends Object implements LeaseListener
| Constructor and Description |
|---|
LeaseNotify() |
| Modifier and Type | Method and Description |
|---|---|
void |
notify(LeaseRenewalEvent ev)
Called by the
LeaseRenewalManager when it cannot
renew a lease that it is managing, and the lease's desired
expiration time has not yet been reached. |
public void notify(LeaseRenewalEvent ev)
LeaseListenerLeaseRenewalManager when it cannot
renew a lease that it is managing, and the lease's desired
expiration time has not yet been reached.
Note that, prior to invoking this method, the
LeaseRenewalManager removes the affected lease from
the managed set of leases. Note also that, because of the
reentrancy guarantee made by the
LeaseRenewalManager, new leases can be safely added
by this method.
notify in interface LeaseListenerev - 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 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.