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:
- Poolable, Recyclable, Disposable, Component, Composable, Recomposable, LogEnabled, Parameterizable, ProcessingPipeline
- Direct Known Subclasses:
- ProfilingCachingProcessingPipeline
public class CachingProcessingPipeline
- extends AbstractCachingProcessingPipeline
The CachingProcessingPipeline
- Since:
- 2.1
- Version:
- $Id: CachingProcessingPipeline.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Carsten Ziegeler
Fields inherited from class org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline |
cacheCompleteResponse, cachedResponse, completeResponseIsCached, firstNotCacheableTransformerIndex, firstProcessedTransformerIndex, fromCacheKey, generatorIsCacheableProcessingComponent, generatorRole, lockTimeout, PIPELOCK_PREFIX, readerRole, serializerIsCacheableProcessingComponent, serializerRole, toCacheKey, toCacheSourceValidities, transformerIsCacheableProcessingComponent, transformerRoles, transientStore |
Fields inherited from class org.apache.cocoon.components.pipeline.AbstractProcessingPipeline |
configuration, configuredExpires, configuredOutputBufferSize, expires, generator, generatorParam, generatorSelector, generatorSource, lastConsumer, manager, newManager, outputBufferSize, parameters, reader, readerMimeType, readerParam, readerSelector, readerSource, serializer, serializerMimeType, serializerParam, serializerSelector, serializerSource, sitemapReaderMimeType, sitemapSerializerMimeType, transformerParams, transformers, transformerSelectors, transformerSources |
Methods inherited from class org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline |
addTransformer, connectPipeline, generateCachingKey, generateLock, getKeyForEventPipeline, getValidityForEventPipeline, parameterize, processReader, processXMLPipeline, recycle, releaseLock, setGenerator, setReader, setSerializer, setupPipeline, setupValidities, validatePipeline, waitForLock |
Methods inherited from class org.apache.cocoon.components.pipeline.AbstractProcessingPipeline |
checkIfModified, checkPipeline, compose, connect, getGenerator, getLocation, handleException, informBranchPoint, isInternalError, prepareInternal, prepareInternalErrorHandler, preparePipeline, process, process, processErrorHandler, recompose, release, setErrorHandler, setMimeTypeForReader, setMimeTypeForSerializer, setup, 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-2010 The Apache Software Foundation. All Rights Reserved.