|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.util.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.CachingPointProcessingPipeline
The CachingPointProcessingPipeline
Field Summary | |
protected boolean |
autoCachingPoint
|
protected String |
autoCachingPointSwitch
|
protected ArrayList |
isCachePoint
|
protected boolean |
nextIsCachePoint
|
protected ArrayList |
xmlSerializerArray
|
Fields inherited from class org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline |
cacheCompleteResponse, cachedResponse, completeResponseIsCached, firstNotCacheableTransformerIndex, firstProcessedTransformerIndex, fromCacheKey, generatorRole, PIPELOCK_PREFIX, readerRole, serializerRole, toCacheKey, toCacheSourceValidities, transformerRoles, transientStore |
Fields inherited from class org.apache.cocoon.components.pipeline.impl.BaseCachingProcessingPipeline |
cache, xmlDeserializer, xmlSerializer |
Fields inherited from class org.apache.cocoon.components.pipeline.AbstractProcessingPipeline |
configuration, configuredExpires, configuredOutputBufferSize, expires, generator, generatorParam, generatorSource, lastConsumer, manager, newManager, outputBufferSize, parameters, reader, readerMimeType, readerParam, readerSource, serializer, serializerMimeType, serializerParam, serializerSource, sourceResolver, transformerParams, transformers, transformerSources |
Fields inherited from interface org.apache.cocoon.components.pipeline.ProcessingPipeline |
ROLE |
Constructor Summary | |
CachingPointProcessingPipeline()
|
Method Summary | |
void |
addTransformer(String role,
String source,
Parameters param,
Parameters hintParam)
Add a transformer. |
protected org.apache.cocoon.caching.CachedResponse |
cacheResults(org.apache.cocoon.environment.Environment environment,
OutputStream os)
Cache longest cacheable path plus cache points. |
protected void |
connectCachingPipeline(org.apache.cocoon.environment.Environment environment)
Connect the caching point pipeline. |
void |
informBranchPoint()
Determine if the given branch-point is a caching-point Please Note: this method is used by auto caching-point and is of no consequence when auto caching-point is switched off |
protected ComponentCacheKey |
newComponentCacheKey(int type,
String role,
Serializable key)
Create a new ComponentCachekey ComponentCacheKeys can be flagged as cachepoints |
void |
parameterize(Parameters config)
The CachingPointProcessingPipeline is configurable. |
void |
recycle()
Recyclable Interface |
void |
setGenerator(String role,
String source,
Parameters param,
Parameters hintParam)
Set the generator. |
Methods inherited from class org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline |
connectPipeline, generateCachingKey, generateLock, getKeyForEventPipeline, getValidityForEventPipeline, processReader, processXMLPipeline, releaseLock, setReader, setSerializer, setupPipeline, setupValidities, validatePipeline, waitForLock |
Methods inherited from class org.apache.cocoon.components.pipeline.impl.BaseCachingProcessingPipeline |
dispose |
Methods inherited from class org.apache.cocoon.components.pipeline.AbstractProcessingPipeline |
checkIfModified, checkPipeline, connect, getGenerator, getLocation, handleException, isInternalError, prepareInternal, prepareInternalErrorHandler, preparePipeline, process, process, processErrorHandler, service, setErrorHandler, setMimeTypeForReader, setMimeTypeForSerializer, setProcessorManager, setup, setupReader |
Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled |
getLogger, setLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected ArrayList isCachePoint
protected ArrayList xmlSerializerArray
protected boolean nextIsCachePoint
protected String autoCachingPointSwitch
protected boolean autoCachingPoint
Constructor Detail |
public CachingPointProcessingPipeline()
Method Detail |
public void parameterize(Parameters config) throws ParameterException
CachingPointProcessingPipeline
is configurable.
The autoCachingPoint algorithm can be switced on/off
in the sitemap.xmap
parameterize
in interface Parameterizable
parameterize
in class AbstractCachingProcessingPipeline
ParameterException
public void setGenerator(String role, String source, Parameters param, Parameters hintParam) throws org.apache.cocoon.ProcessingException
setGenerator
in interface org.apache.cocoon.components.pipeline.ProcessingPipeline
setGenerator
in class AbstractCachingProcessingPipeline
org.apache.cocoon.ProcessingException
public void addTransformer(String role, String source, Parameters param, Parameters hintParam) throws org.apache.cocoon.ProcessingException
addTransformer
in interface org.apache.cocoon.components.pipeline.ProcessingPipeline
addTransformer
in class AbstractCachingProcessingPipeline
org.apache.cocoon.ProcessingException
public void informBranchPoint()
informBranchPoint
in interface org.apache.cocoon.components.pipeline.ProcessingPipeline
informBranchPoint
in class AbstractProcessingPipeline
protected org.apache.cocoon.caching.CachedResponse cacheResults(org.apache.cocoon.environment.Environment environment, OutputStream os) throws Exception
cacheResults
in class AbstractCachingProcessingPipeline
null
Exception
protected ComponentCacheKey newComponentCacheKey(int type, String role, Serializable key)
newComponentCacheKey
in class AbstractCachingProcessingPipeline
protected void connectCachingPipeline(org.apache.cocoon.environment.Environment environment) throws org.apache.cocoon.ProcessingException
connectCachingPipeline
in class AbstractCachingProcessingPipeline
org.apache.cocoon.ProcessingException
public void recycle()
recycle
in interface Recyclable
recycle
in class AbstractCachingProcessingPipeline
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |