LeaseRenewalManager cannot renew a lease. The LeaseRenewalEvent instances are sent to the LeaseListener (if any) associated with a given lease when the lease was added to the managed set. These events are typically generated because one of the following conditions occur:
LeaseRenewalManager determines, prior to the next renewal attempt, that the actual expiration time of the lease has passed, implying that any further attempt to renew the lease would be fruitless. LeaseRenewalManager determines that lease's actual expiration time has passed. Note that bad object exceptions, bad invocation exceptions, and LeaseExceptions are all considered definite exceptions.
This class encapsulates information about both the lease for which the failure occurred, as well as information about the condition that caused the renewal attempt to fail.
This class is a subclass of the class EventObject, adding the following additional items of abstract state:
Throwable associated with the last renewal attempt (if any) In addition to the methods of the EventObject class, this class defines methods through which this additional state may be retrieved.
The source associated with a LeaseRenewalEvent will be the LeaseRenewalManager that generated the event.
@author Sun Microsystems, Inc.
@see Lease
@see LeaseException
@see LeaseRenewalManager
@see LeaseListener
@see EventObject
| |