Class HttpCacheEngineBindingsDelegate
- java.lang.Object
-
- com.adobe.acs.commons.httpcache.engine.impl.delegate.HttpCacheEngineBindingsDelegate
-
public class HttpCacheEngineBindingsDelegate extends Object
HttpCacheEngineBindingsDelegateHandles the bulk of the bindings logic for the HttpCacheEngineImpl
-
-
Constructor Summary
Constructors Constructor Description HttpCacheEngineBindingsDelegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbindHttpCacheConfig(HttpCacheConfig cacheConfig, Map<String,Object> configs)Binds cache config.voidbindHttpCacheHandlingRule(HttpCacheHandlingRule cacheHandlingRule, Map<String,Object> properties)Binds cache handling rulevoidbindHttpCacheStore(HttpCacheStore cacheStore)Binds cache store implementationMap<HttpCacheConfig,Map<String,Object>>getCacheConfigConfigs()List<HttpCacheConfig>getCacheConfigs()Map<String,HttpCacheHandlingRule>getCacheHandlingRules()Map<String,HttpCacheStore>getCacheStoresMap()voidunbindHttpCacheConfig(HttpCacheConfig cacheConfig)Unbinds cache config.voidunbindHttpCacheHandlingRule(HttpCacheHandlingRule cacheHandlingRule, Map<String,Object> configs)Unbinds handling rule.voidunbindHttpCacheStore(HttpCacheStore cacheStore)Unbinds cache store.
-
-
-
Method Detail
-
bindHttpCacheConfig
public void bindHttpCacheConfig(HttpCacheConfig cacheConfig, Map<String,Object> configs)
Binds cache config. Cache config could come and go at run time.- Parameters:
cacheConfig-configs-
-
unbindHttpCacheConfig
public void unbindHttpCacheConfig(HttpCacheConfig cacheConfig)
Unbinds cache config.- Parameters:
cacheConfig-
-
bindHttpCacheStore
public void bindHttpCacheStore(HttpCacheStore cacheStore)
Binds cache store implementation- Parameters:
cacheStore-
-
unbindHttpCacheStore
public void unbindHttpCacheStore(HttpCacheStore cacheStore)
Unbinds cache store.- Parameters:
cacheStore-
-
bindHttpCacheHandlingRule
public void bindHttpCacheHandlingRule(HttpCacheHandlingRule cacheHandlingRule, Map<String,Object> properties)
Binds cache handling rule- Parameters:
cacheHandlingRule-properties-
-
unbindHttpCacheHandlingRule
public void unbindHttpCacheHandlingRule(HttpCacheHandlingRule cacheHandlingRule, Map<String,Object> configs)
Unbinds handling rule.- Parameters:
cacheHandlingRule-configs-
-
getCacheConfigs
public List<HttpCacheConfig> getCacheConfigs()
-
getCacheStoresMap
public Map<String,HttpCacheStore> getCacheStoresMap()
-
getCacheHandlingRules
public Map<String,HttpCacheHandlingRule> getCacheHandlingRules()
-
getCacheConfigConfigs
public Map<HttpCacheConfig,Map<String,Object>> getCacheConfigConfigs()
-
-