|
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
er.extensions.foundation.ERXLazyValue.MutableCacheKeyInvalidator
public abstract static class ERXLazyValue.MutableCacheKeyInvalidator
The base class for any invalidator that is triggered by the change in a cache key with support for changing the value.
Constructor Summary | |
---|---|
ERXLazyValue.MutableCacheKeyInvalidator()
|
Method Summary | |
---|---|
protected abstract void |
setCacheKey(java.lang.Object value)
Sets the current value of the cache key. |
void |
timestamp()
Sets the current value of the cache key to be System.currentTimeMillis. |
void |
uuid()
Sets the current value of the cache key to be a randomly generated UUID. |
Methods inherited from class er.extensions.foundation.ERXLazyValue.CacheKeyInvalidator |
---|
cacheKey, fetchedValue, shouldInvalidate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ERXLazyValue.MutableCacheKeyInvalidator()
Method Detail |
---|
protected abstract void setCacheKey(java.lang.Object value)
value
- the current value of the cache keypublic void uuid()
public void timestamp()
|
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 |