cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Tripodi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COCOON3-9) Generalize the PipelineCache, so that it can be used as a general purpose cache for PipelineComponents as well.
Date Mon, 03 Nov 2008 13:05:44 GMT

    [ https://issues.apache.org/jira/browse/COCOON3-9?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644712#action_12644712
] 

Simone Tripodi commented on COCOON3-9:
--------------------------------------

I merged the patch and played with it, IMHO this patch should be applied in trunk's code;
just minor fixes should be done:

1) javadoc: I didn't understand how the Cache should use org.apache.cocoon.pipeline.caching.CacheKey's
mehods;
2) IMHO an AbstractCache should be provided since we need also monitoring the cached resources
and reload them when "expired", so this logic could be managed in the Abstract class, concrete
implementations should only persist and retrieve resources;
3) How to inject Cache's instances to PipeLine Components? I suppose in cocoon-sitemap Caches
will be declared in the sitemap, but a public setter, in components that need using the Cache,
could be useful to inject it.

What do you think about it?

> Generalize the PipelineCache, so that it can be used as a general purpose cache for PipelineComponents
as well.
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: COCOON3-9
>                 URL: https://issues.apache.org/jira/browse/COCOON3-9
>             Project: Cocoon 3
>          Issue Type: Improvement
>          Components: cocoon-pipeline
>    Affects Versions: 3.0.0-alpha-1
>            Reporter: Steven Dolg
>            Assignee: Cocoon Developers Team
>             Fix For: 3.0.0-alpha-2
>
>         Attachments: cache-fixed.patch, cache.patch
>
>
> Currently the PipelineCache is very specific for caching the complete results of a pipeline
execution.
> COCOON3-6 is the first issue requiring a caching mechanism at the PipelineComponent level.
> With only some minor modifications the PipelineCache can be used for those requirements.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message