er.extensions.appserver
Class ERXWOResponseCacheKeyPolicy
java.lang.Object
er.extensions.appserver.ERXWOResponseCacheKeyPolicy
- All Implemented Interfaces:
- ERXWOResponseCache.Policy
public class ERXWOResponseCacheKeyPolicy
- extends java.lang.Object
- implements ERXWOResponseCache.Policy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sharedInstance
protected static ERXWOResponseCacheKeyPolicy sharedInstance
cacheKeyMap
protected java.util.Map cacheKeyMap
ERXWOResponseCacheKeyPolicy
public ERXWOResponseCacheKeyPolicy()
sharedInstance
public static ERXWOResponseCacheKeyPolicy sharedInstance()
createPolicyEntryForClass
public void createPolicyEntryForClass(java.lang.Class actionClass,
com.webobjects.foundation.NSArray actionNames,
com.webobjects.foundation.NSArray formKeys,
com.webobjects.foundation.NSArray headerKeys,
com.webobjects.foundation.NSArray cookieKeys)
actionNameIsCachableForClass
public boolean actionNameIsCachableForClass(java.lang.Class actionClass,
java.lang.String actionName)
- Specified by:
actionNameIsCachableForClass in interface ERXWOResponseCache.Policy
cacheKeyForRequest
public ERXMultiKey cacheKeyForRequest(java.lang.Class actionClass,
java.lang.String actionName,
com.webobjects.appserver.WORequest request)
- Specified by:
cacheKeyForRequest in interface ERXWOResponseCache.Policy
policyCacheEntryForClass
public ERXWOResponseCacheKeyPolicy.PolicyCacheEntry policyCacheEntryForClass(java.lang.Class actionClass,
java.lang.String actionName)
shouldResetCache
public boolean shouldResetCache()
- Can be overridden by subclasses to perform specific checks
to see if the cache should be reset.
- Specified by:
shouldResetCache in interface ERXWOResponseCache.Policy
- Returns:
- if the cache should be reset.
Copyright © 2002 – 2007 Project Wonder.