Modifier and Type | Class and Description |
---|---|
class |
MemcachedWrapper
Magnolia cache wrapper for underlying Memcached implementation.
|
Modifier and Type | Method and Description |
---|---|
Cache |
MemcachedFactory.getCache(String name) |
Modifier and Type | Interface and Description |
---|---|
interface |
BlockingCache
Marker interface to expose the fact that this cache will block further calls to
get(Object) until an entry is put into the cache. |
Modifier and Type | Method and Description |
---|---|
Cache |
CacheFactory.getCache(String name)
Retrieves a named cache.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractListeningFlushPolicy.flushByUUID(String uuid,
String repository,
Cache cache)
Flushes all content related to given uuid&repository combination from provided cache.
|
protected Collection<String> |
AbstractListeningFlushPolicy.getPaths(Cache cache,
String workspace) |
protected void |
FlushAllListeningPolicy.handleSingleEvent(Cache cache,
String repository,
javax.jcr.observation.Event event) |
protected abstract void |
AbstractListeningFlushPolicy.handleSingleEvent(Cache cache,
String repository,
javax.jcr.observation.Event event)
Implement this method to react on each and every event on a given cache and repository,
even if multiple where buffered.
|
protected void |
FlushAllListeningPolicy.postHandleEvents(Cache cache,
String repository) |
protected abstract void |
AbstractListeningFlushPolicy.postHandleEvents(Cache cache,
String repository)
Implement this method to wrap up flushing process after all single events have been processed.
|
protected boolean |
FlushAllListeningPolicy.preHandleEvents(Cache cache,
String repository) |
protected abstract boolean |
AbstractListeningFlushPolicy.preHandleEvents(Cache cache,
String repository)
Implement this method to react on buffered events on a given cache and repository.
|
void |
CachePolicyExecutor.processCacheRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain,
Cache cache,
CachePolicyResult cachePolicyResult) |
CachePolicyResult |
CachePolicy.shouldCache(Cache cache,
info.magnolia.cms.core.AggregationState aggregationState,
FlushPolicy flushPolicy)
Implementations can chose whether to cache or not - but note that the
aggregationState might not be completely populated.
|
void |
FlushPolicy.start(Cache cache) |
void |
DelegateFlushPolicy.start(Cache cache) |
void |
AbstractListeningFlushPolicy.start(Cache cache) |
void |
FlushPolicy.stop(Cache cache) |
void |
DelegateFlushPolicy.stop(Cache cache) |
void |
AbstractListeningFlushPolicy.stop(Cache cache) |
Constructor and Description |
---|
CacheCleaner(Cache cache,
String repository) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractBlockingCache
Abstract implementation of
BlockingCache . |
Modifier and Type | Method and Description |
---|---|
CachePolicyResult |
Default.shouldCache(Cache cache,
info.magnolia.cms.core.AggregationState aggregationState,
FlushPolicy flushPolicy) |
CachePolicyResult |
Never.shouldCache(Cache cache,
info.magnolia.cms.core.AggregationState aggregationState,
FlushPolicy flushPolicy) |
Modifier and Type | Class and Description |
---|---|
class |
EhCache3Wrapper
Magnolia cache wrapper for underlying ehCache3 implementation.
|
Modifier and Type | Method and Description |
---|---|
Cache |
EhCache3Factory.getCache(String name) |
Modifier and Type | Method and Description |
---|---|
protected CachePolicy |
Store.getCachePolicy(Cache cache) |
protected int |
Store.getTimeToLive(CacheResponseWrapper cachedResponse,
Cache cache) |
protected CachedEntry |
Store.makeCachedEntry(javax.servlet.http.HttpServletRequest request,
CacheResponseWrapper cachedResponse,
Cache cache,
CachePolicyResult cachePolicyResult) |
void |
CompositeExecutor.processCacheRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain,
Cache cache,
CachePolicyResult cachePolicy) |
void |
Store.processCacheRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain,
Cache cache,
CachePolicyResult cachePolicyResult) |
void |
Bypass.processCacheRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain,
Cache cache,
CachePolicyResult cachePolicy) |
void |
UseCache.processCacheRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain,
Cache cache,
CachePolicyResult cachePolicy) |
void |
SetExpirationHeaders.processCacheRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain,
Cache cache,
CachePolicyResult cachePolicyResult) |
Modifier and Type | Method and Description |
---|---|
Cache |
DelegatingCacheFactory.getCache(String name) |
Modifier and Type | Method and Description |
---|---|
protected Cache |
CacheFilter.getCurrentPageCache() |
Modifier and Type | Method and Description |
---|---|
void |
LightModuleChangesFlushPolicy.start(Cache cache) |
void |
LightModuleChangesFlushPolicy.stop(Cache cache) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractListeningCacheWrapper
Cache wrapper which is responsible for calling of cache listeners.
|
Copyright © 2020 Magnolia International Ltd.. All rights reserved.