er.extensions.foundation
Class ERXLazyValue.PageUserInfoCacheKeyInvalidator
java.lang.Object
er.extensions.foundation.ERXLazyValue.CacheKeyInvalidator
er.extensions.foundation.ERXLazyValue.MutableCacheKeyInvalidator
er.extensions.foundation.ERXLazyValue.PageUserInfoCacheKeyInvalidator
- All Implemented Interfaces:
- ERXLazyValue.Invalidator
- Enclosing class:
- ERXLazyValue<T>
public static class ERXLazyValue.PageUserInfoCacheKeyInvalidator
- extends ERXLazyValue.MutableCacheKeyInvalidator
PageUserInfoCacheKeyInvalidator triggers a cache invalidation when the
value of the specified key changes in the ERXResponseRewriter's
pageUserInfo. This is useful for triggering cache refreshes based on ajax
updates to other parts of the page.
- Author:
- mschrag
|
Method Summary |
protected Object |
cacheKey()
Returns the current value of the cache key. |
void |
setCacheKey(Object value)
Sets the current value of the cache key. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ERXLazyValue.PageUserInfoCacheKeyInvalidator
public ERXLazyValue.PageUserInfoCacheKeyInvalidator(String key)
cacheKey
protected Object cacheKey()
- Description copied from class:
ERXLazyValue.CacheKeyInvalidator
- Returns the current value of the cache key.
- Specified by:
cacheKey in class ERXLazyValue.CacheKeyInvalidator
- Returns:
- the current value of the cache key
setCacheKey
public void setCacheKey(Object value)
- Description copied from class:
ERXLazyValue.MutableCacheKeyInvalidator
- Sets the current value of the cache key.
- Specified by:
setCacheKey in class ERXLazyValue.MutableCacheKeyInvalidator
- Parameters:
value - the current value of the cache key
Copyright © 2002 – 2007 Project Wonder.