public interface ExpiringObject
Modifier and Type | Method and Description |
---|---|
org.joda.time.DateTime |
getExpirationTime()
Gets the time the object expires.
|
boolean |
isExpired()
Gets whether this object has expired.
|
void |
onExpire()
A callback method invoked when this object is expiring.
|
org.joda.time.DateTime getExpirationTime()
boolean isExpired()
void onExpire()
Copyright © 2018 JBoss by Red Hat. All rights reserved.