| Constructor and Description |
|---|
ComplexCache(CacheResolver<T> resolver,
CacheValidator<T> validator) |
ComplexCache(CacheResolver<T> resolver,
CacheValidator<T> validator,
T value) |
| Modifier and Type | Method and Description |
|---|---|
T |
getValue()
Returns the cashed/generated valid value
|
void |
setValidator(CacheValidator<T> validator) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, clear, getHandler, removeListener, setValuepublic ComplexCache(CacheResolver<T> resolver, CacheValidator<T> validator)
public ComplexCache(CacheResolver<T> resolver, CacheValidator<T> validator, T value)