|Constructor and Description|
|Modifier and Type||Method and Description|
Convenience method to retrieve the
getID, getRegistrationObject, getSequenceNumber, getSource
public ExpirationWarningEvent(LeaseRenewalSet source, long seqNum, MarshalledObject handback)
LeaseRenewalSetthat generated the event
seqNum- the sequence number of this event
MarshalledObjectpassed in as part of the event registration
public Lease getRenewalSetLease()
Leaseassociated with the source of this event. This is the
Leasewhich is about to expire.
Lease object returned will be equivalent (in the
equals) to other
associated with the set, but may not be the same object. One
notable consequence of having two different objects is that the
getExpiration method of the
object returned by this method may return a different time than
getExpiration methods of other
Lease objects granted on the same set.
The expiration time associated with the
returned by this method will reflect the expiration the lease had
when the event occurred. Renewal calls may have changed the
expiration time of the underlying lease between the time when the
event was generated and when it was delivered.
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.