info.magnolia.module.cache.executor
Class CompositeExecutor

java.lang.Object
  extended by info.magnolia.module.cache.executor.CompositeExecutor
All Implemented Interfaces:
CachePolicyExecutor

public class CompositeExecutor
extends Object
implements CachePolicyExecutor

A list of executors (for combining and ordering them).

Version:
$Revision: 41137 $ ($Author: gjoseph $)
Author:
pbracher

Constructor Summary
CompositeExecutor()
           
 
Method Summary
 void addExecutor(CachePolicyExecutor executor)
           
 CachePolicyExecutor[] getExecutors()
           
 void processCacheRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain, Cache cache, CachePolicyResult cachePolicy)
           
 void setCacheConfiguration(CacheConfiguration cacheConfiguration)
           
 void setExecutors(CachePolicyExecutor[] executor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeExecutor

public CompositeExecutor()
Method Detail

processCacheRequest

public void processCacheRequest(javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse response,
                                javax.servlet.FilterChain chain,
                                Cache cache,
                                CachePolicyResult cachePolicy)
                         throws IOException,
                                javax.servlet.ServletException
Specified by:
processCacheRequest in interface CachePolicyExecutor
Throws:
IOException
javax.servlet.ServletException

getExecutors

public CachePolicyExecutor[] getExecutors()

setExecutors

public void setExecutors(CachePolicyExecutor[] executor)

addExecutor

public void addExecutor(CachePolicyExecutor executor)

setCacheConfiguration

public void setCacheConfiguration(CacheConfiguration cacheConfiguration)
Specified by:
setCacheConfiguration in interface CachePolicyExecutor


Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.