Interface ExpiringCacheable
- All Superinterfaces:
Cacheable
,Serializable
- All Known Implementing Classes:
WeatherMapData
An interface to mark a cacheable object that sets its own expiration date.
- Since:
- 1.0
- Version:
- 7.0
- Author:
- Luke
-
Method Summary
Modifier and TypeMethodDescriptionReturns the date this object should be considered expired.
-
Method Details
-
getExpiryDate
Instant getExpiryDate()Returns the date this object should be considered expired.- Returns:
- the expiry date/time
-