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.Invalidator
fetchedValue
in interface ERXLazyValue.Invalidator
value
- the new valueprotected abstract Object cacheKey()
public boolean shouldInvalidate()
ERXLazyValue.Invalidator
shouldInvalidate
in interface ERXLazyValue.Invalidator
Copyright © 2002 – 2024 Project Wonder.