Class TimedValueHolder
java.lang.Object
org.broadleafcommerce.common.extensibility.cache.TimedValueHolder
- All Implemented Interfaces:
Serializable
JCache does not provide direct APIs for Per-Mapping expiry. This means that,
by default, JCache does not allow you to specify different expiry times per entry,
effectively overriding the default expiry. Instances of this class provide a time
to live (TTL) along with a value. This is just a convenience wrapper. For caches that
have or allow per-entry TTL settings, this provides a convenient way to pass those details in.
- Author:
- Kelly Tisdell
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TimedValueHolder
-
-
Method Details
-
getValue
-
getTimeToLiveSeconds
-