T - is the type of the underlying contentpublic class ExpirableValue<T> extends Object implements Serializable
| Constructor and Description |
|---|
ExpirableValue(T theContent,
long theTimeToLiveInCacheMillis)
Makes an expirable value with max 1 day time to live
|
public ExpirableValue(T theContent, long theTimeToLiveInCacheMillis)
theContent - content to storetheTimeToLiveInCacheMillis - number of millis the items should stay in cache.
this cannot be longer than 1 dayCopyright © 2021 Internet2. All rights reserved.