public interface Cacheable
- Author:
- Ashley
-
Method Summary
Modifier and TypeMethodDescriptionlongGet the cache expiration time.booleanCheck if this property can be cached.
-
Method Details
-
isCacheable
boolean isCacheable()Check if this property can be cached.- Returns:
- Returns
trueif this property can be stored and expire after a period of time - See Also:
-
getExpirationTime
long getExpirationTime()Get the cache expiration time.- Returns:
- Returns the maximum period of time (in milliseconds) this property can be stored before it value expires.
- See Also:
-