public class ERXWOResponseCacheKeyPolicy extends Object implements ERXWOResponseCache.Policy
Modifier and Type | Class and Description |
---|---|
static class |
ERXWOResponseCacheKeyPolicy.PolicyCacheEntry |
Modifier and Type | Field and Description |
---|---|
protected Map |
cacheKeyMap |
protected static ERXWOResponseCacheKeyPolicy |
sharedInstance |
Constructor and Description |
---|
ERXWOResponseCacheKeyPolicy() |
Modifier and Type | Method and Description |
---|---|
boolean |
actionNameIsCachableForClass(Class actionClass,
String actionName) |
ERXMultiKey |
cacheKeyForRequest(Class actionClass,
String actionName,
WORequest request) |
void |
createPolicyEntryForClass(Class actionClass,
NSArray actionNames,
NSArray formKeys,
NSArray headerKeys,
NSArray cookieKeys) |
ERXWOResponseCacheKeyPolicy.PolicyCacheEntry |
policyCacheEntryForClass(Class actionClass,
String actionName) |
static ERXWOResponseCacheKeyPolicy |
sharedInstance() |
boolean |
shouldResetCache()
Can be overridden by subclasses to perform specific checks
to see if the cache should be reset.
|
protected static ERXWOResponseCacheKeyPolicy sharedInstance
protected Map cacheKeyMap
public static ERXWOResponseCacheKeyPolicy sharedInstance()
public void createPolicyEntryForClass(Class actionClass, NSArray actionNames, NSArray formKeys, NSArray headerKeys, NSArray cookieKeys)
public boolean actionNameIsCachableForClass(Class actionClass, String actionName)
actionNameIsCachableForClass
in interface ERXWOResponseCache.Policy
public ERXMultiKey cacheKeyForRequest(Class actionClass, String actionName, WORequest request)
cacheKeyForRequest
in interface ERXWOResponseCache.Policy
public ERXWOResponseCacheKeyPolicy.PolicyCacheEntry policyCacheEntryForClass(Class actionClass, String actionName)
public boolean shouldResetCache()
shouldResetCache
in interface ERXWOResponseCache.Policy
Copyright © 2002 – 2024 Project Wonder.