info.magnolia.module.cache
Class CacheConfiguration
java.lang.Object
info.magnolia.module.cache.CacheConfiguration
public class CacheConfiguration
- extends Object
Each CacheConfiguration holds a CachePolicy, a FlushPolicy and a
BrowserCachePolicy. Based on the outcome of the cachePolicy the defined
executors will be called.
- Version:
- $Revision: $ ($Author: $)
- Author:
- gjoseph
- See Also:
CachePolicy
,
FlushPolicy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheConfiguration
public CacheConfiguration()
getName
public String getName()
setName
public void setName(String name)
getCachePolicy
public CachePolicy getCachePolicy()
setCachePolicy
public void setCachePolicy(CachePolicy cachePolicy)
getFlushPolicy
public FlushPolicy getFlushPolicy()
setFlushPolicy
public void setFlushPolicy(FlushPolicy flushPolicy)
getExecutor
public CachePolicyExecutor getExecutor(CachePolicyResult.CachePolicyBehaviour behaviour)
getBrowserCachePolicy
public BrowserCachePolicy getBrowserCachePolicy()
setBrowserCachePolicy
public void setBrowserCachePolicy(BrowserCachePolicy browserCachePolicy)
getExecutors
public Map getExecutors()
setExecutors
public void setExecutors(Map executors)
addExecutor
public void addExecutor(String name,
CachePolicyExecutor executor)
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.