public class Cached<T> extends Object implements Serializable
| Modifier and Type | Field and Description | 
|---|---|
long | 
cachedAt  | 
boolean | 
expired  | 
long | 
expireMillis  | 
Object[] | 
keys  | 
T | 
value  | 
| Constructor and Description | 
|---|
Cached(long expireMillis)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
cache(T value,
     Object... keys)  | 
void | 
expire()  | 
static <E> Cached<E> | 
expired(long expireMillis)
Empty marker to be used as default value 
 | 
boolean | 
hasExpired(Object... invalidationKeys)  | 
public long cachedAt
public long expireMillis
public boolean expired
public Cached(long expireMillis)
Copyright © 2019 Nuxeo. All rights reserved.