- All Implemented Interfaces:
- Serializable
public class TimedValueHolder
extends Object
implements 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:
- Serialized Form