public class ContentCachingConfiguration extends Object
CachePolicy
,
FlushPolicy
Constructor and Description |
---|
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) |
@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 © 2020 Magnolia International Ltd.. All rights reserved.