public class ContentCachingConfiguration extends Object
CachePolicy
,
FlushPolicy
Constructor and Description |
---|
ContentCachingConfiguration()
Deprecated.
since 5.4. Use
ContentCachingConfiguration(CacheModule, info.magnolia.repository.RepositoryManager) instead. |
ContentCachingConfiguration(CacheModule cacheModule,
info.magnolia.repository.RepositoryManager repositoryManager) |
Modifier and Type | Method and Description |
---|---|
void |
addExecutor(String name,
CachePolicyExecutor executor) |
BrowserCachePolicy |
getBrowserCachePolicy() |
String |
getCacheName() |
CachePolicy |
getCachePolicy() |
CachePolicyExecutor |
getExecutor(CachePolicyResult.CachePolicyBehaviour behaviour) |
Map<String,CachePolicyExecutor> |
getExecutors() |
FlushPolicy |
getFlushPolicy() |
AbstractCacheListener |
getListener(String name) |
List<AbstractCacheListener> |
getListeners() |
String |
getName() |
void |
setBrowserCachePolicy(BrowserCachePolicy browserCachePolicy) |
void |
setCacheName(String cacheName) |
void |
setCachePolicy(CachePolicy cachePolicy) |
void |
setExecutors(Map<String,CachePolicyExecutor> executors) |
void |
setFlushPolicy(FlushPolicy flushPolicy) |
void |
setListeners(List<AbstractCacheListener> listeners) |
void |
setName(String name) |
@Deprecated public ContentCachingConfiguration()
ContentCachingConfiguration(CacheModule, info.magnolia.repository.RepositoryManager)
instead.@Inject public ContentCachingConfiguration(CacheModule cacheModule, info.magnolia.repository.RepositoryManager repositoryManager)
public String getName()
public void setName(String name)
public String getCacheName()
public void setCacheName(String cacheName)
public CachePolicy getCachePolicy()
public void setCachePolicy(CachePolicy cachePolicy)
public FlushPolicy getFlushPolicy()
public void setFlushPolicy(FlushPolicy flushPolicy)
public CachePolicyExecutor getExecutor(CachePolicyResult.CachePolicyBehaviour behaviour)
public BrowserCachePolicy getBrowserCachePolicy()
public void setBrowserCachePolicy(BrowserCachePolicy browserCachePolicy)
public Map<String,CachePolicyExecutor> getExecutors()
public void setExecutors(Map<String,CachePolicyExecutor> executors)
public void addExecutor(String name, CachePolicyExecutor executor)
public List<AbstractCacheListener> getListeners()
public void setListeners(List<AbstractCacheListener> listeners)
public AbstractCacheListener getListener(String name)
Copyright © 2015 Magnolia International Ltd.. All rights reserved.