> -----Original Message-----
> From: Michael Melhem [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 12, 2002 2:58 PM
> To: [EMAIL PROTECTED]
> 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.

Carsten

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to