info.magnolia.module.cache
Class CacheConfiguration
java.lang.Object
info.magnolia.module.cache.CacheConfiguration
public class CacheConfiguration
- extends java.lang.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 java.lang.String getName()
setName
public void setName(java.lang.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 java.util.Map getExecutors()
setExecutors
public void setExecutors(java.util.Map executors)
addExecutor
public void addExecutor(java.lang.String name,
CachePolicyExecutor executor)
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.