org.apache.cocoon.components.pipeline.impl
Class CachingProcessingPipeline
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline
org.apache.cocoon.components.pipeline.impl.BaseCachingProcessingPipeline
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline
org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline
- All Implemented Interfaces:
- Disposable, LogEnabled, Parameterizable, Poolable, ProcessingPipeline, Recyclable, Serviceable
- Direct Known Subclasses:
- ProfilingCachingProcessingPipeline
- public class CachingProcessingPipeline
- extends AbstractCachingProcessingPipeline
The CachingProcessingPipeline
- Since:
- 2.1
- Version:
- $Id: CachingProcessingPipeline.java 157160 2005-03-11 21:18:58Z vgritsenko $
- Author:
- Carsten Ziegeler
Fields inherited from class org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline |
cacheCompleteResponse, cachedResponse, completeResponseIsCached, configuredDoSmartCaching, doSmartCaching, firstNotCacheableTransformerIndex, firstProcessedTransformerIndex, fromCacheKey, generatorRole, readerRole, serializerRole, toCacheKey, toCacheSourceValidities, transformerRoles |
Fields inherited from class org.apache.cocoon.components.pipeline.AbstractProcessingPipeline |
configuration, configuredExpires, configuredOutputBufferSize, expires, generator, generatorParam, generatorSource, lastConsumer, manager, newManager, outputBufferSize, parameters, processor, reader, readerMimeType, readerParam, readerSource, serializer, serializerMimeType, serializerParam, serializerSource, transformerParams, transformers, transformerSources |
Methods inherited from class org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline |
addTransformer, connectPipeline, generateCachingKey, getKeyForEventPipeline, getValidityForEventPipeline, parameterize, processReader, processXMLPipeline, recycle, setGenerator, setReader, setSerializer, setup, setupPipeline, setupValidities, validatePipeline |
Methods inherited from class org.apache.cocoon.components.pipeline.AbstractProcessingPipeline |
checkIfModified, checkPipeline, connect, getGenerator, getLocation, handleException, informBranchPoint, isInternalError, prepareInternal, prepareInternalErrorHandler, preparePipeline, process, process, processErrorHandler, service, setErrorHandler, setMimeTypeForReader, setMimeTypeForSerializer, setProcessorManager, setupReader |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachingProcessingPipeline
public CachingProcessingPipeline()
cacheResults
protected void cacheResults(Environment environment,
OutputStream os)
throws Exception
- Cache longest cacheable key
- Specified by:
cacheResults
in class AbstractCachingProcessingPipeline
- Throws:
Exception
newComponentCacheKey
protected ComponentCacheKey newComponentCacheKey(int type,
String role,
Serializable key)
- Create a new cache key
- Specified by:
newComponentCacheKey
in class AbstractCachingProcessingPipeline
connectCachingPipeline
protected void connectCachingPipeline(Environment environment)
throws ProcessingException
- Connect the pipeline.
- Specified by:
connectCachingPipeline
in class AbstractCachingProcessingPipeline
- Throws:
ProcessingException
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.