A callback method invoked when this object is expiring.
Method Detail
getExpirationTime
org.joda.time.DateTime getExpirationTime()
Gets the time the object expires.
Returns:
time the object expires
isExpired
boolean isExpired()
Gets whether this object has expired.
Returns:
true if the expiration time has passed, false if not
onExpire
void onExpire()
A callback method invoked when this object is expiring. Note, this method may not be invoked at the exact instant
of expiration but may, instead, be invoked the next time the object is read and noticed to have expired.