info.magnolia.module.cache.executor
Class AbstractExecutor
java.lang.Object
info.magnolia.module.cache.executor.AbstractExecutor
- All Implemented Interfaces:
- CachePolicyExecutor
- Direct Known Subclasses:
- Bypass, SetExpirationHeaders, Store, UseCache
public abstract class AbstractExecutor
- extends Object
- implements CachePolicyExecutor
The cache configuration is passed to the executor.
- Version:
- $Revision$ ($Author$)
- Author:
- pbracher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractExecutor
public AbstractExecutor()
getCacheConfiguration
public CacheConfiguration getCacheConfiguration()
setCacheConfiguration
public void setCacheConfiguration(CacheConfiguration cacheConfiguration)
- Specified by:
setCacheConfiguration
in interface CachePolicyExecutor
ifModifiedSince
protected boolean ifModifiedSince(javax.servlet.http.HttpServletRequest request,
long cacheStorageTimestamp)
- Checks if server cache is newer than the client cache.
- Parameters:
request
- The servlet request we are processing
- Returns:
- boolean true if the server resource is newer
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.