If desiredExpiration
is Lease.ANY
calling this method is equivalent the following call:
renewUntil(lease, Lease.FOREVER, Lease.ANY, listener)otherwise it is equivalent to this call:
renewUntil(lease, desiredExpiration, Lease.FOREVER, listener)
@param lease the Lease
to be managed
@param desiredExpiration when the client wants the lease toexpire, in milliseconds since the beginning of the epoch
@param listener reference to the LeaseListener
object that will receive notifications of any exceptional conditions that occur during renewal attempts. If null
no notifications will be sent.
@throws NullPointerException if lease
isnull
@see #renewUntil
|
|