public abstract static class ERXLazyValue.CacheKeyInvalidator extends Object implements ERXLazyValue.Invalidator
| Constructor and Description |
|---|
CacheKeyInvalidator() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Object |
cacheKey()
Returns the current value of the cache key.
|
void |
fetchedValue(Object value)
Called when the lazy value is refetched from the source.
|
boolean |
shouldInvalidate()
Returns whether or not the lazy value should invalidate its cache.
|
public void fetchedValue(Object value)
ERXLazyValue.InvalidatorfetchedValue in interface ERXLazyValue.Invalidatorvalue - the new valueprotected abstract Object cacheKey()
public boolean shouldInvalidate()
ERXLazyValue.InvalidatorshouldInvalidate in interface ERXLazyValue.InvalidatorCopyright © 2002 – 2020 Project Wonder.