|
Project Wonder 5.0 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objecter.extensions.foundation.ERXLazyValue.CacheKeyInvalidator
public abstract static class ERXLazyValue.CacheKeyInvalidator
The base class for any invalidator that is triggered by the change in a cache key.
| Constructor Summary | |
|---|---|
ERXLazyValue.CacheKeyInvalidator()
|
|
| Method Summary | |
|---|---|
protected abstract java.lang.Object |
cacheKey()
Returns the current value of the cache key. |
void |
fetchedValue(java.lang.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ERXLazyValue.CacheKeyInvalidator()
| Method Detail |
|---|
public void fetchedValue(java.lang.Object value)
ERXLazyValue.Invalidator
fetchedValue in interface ERXLazyValue.Invalidatorvalue - the new valueprotected abstract java.lang.Object cacheKey()
public boolean shouldInvalidate()
ERXLazyValue.Invalidator
shouldInvalidate in interface ERXLazyValue.Invalidator
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||