cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <>
Subject RE: [PROPOSAL] Simple proposal to add "flushing" to Store components
Date Mon, 12 Aug 2002 14:01:01 GMT

> -----Original Message-----
> From: Michael Melhem []
> Sent: Monday, August 12, 2002 2:58 PM
> To:
> Subject: [PROPOSAL] Simple proposal to add "flushing" to Store
> components
> Dear Cocooners,
> I would to like add a manual flushing ability
> to Store/Cache objects. That is, a method to emtpy
> a store component of all the data its currently holding.
> This would be useful during appliction testing, if one needed to ensure
> the cache is empty before a particualr request etc .
> Moreover an adminstration application might want to manually flush
> the cache of some cocoon application running in production land etc etc
> Does any anyone see any issues with this little enhancememt, comments ?

The Cache Component (org.apache.cocoon.caching.Cache) was exactly created
for controlling the Cocoon cache. The current interface has already a 
remove() method but it can of course be extended by a clear() method or
by a method returning all currently cached responses.
This interface should not be seen as finished, it is a first should and
should be extended by all required and usefull methods.


To unsubscribe, e-mail:
For additional commands, email:

View raw message