> From: Michael Melhem [mailto:[EMAIL PROTECTED]] > > 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 ?
Flushing or clearing? In MRU memory store, flush might mean "flush to persistent store". I would suggest to use name clear(), and it is consistent with collections API. There is one issue with your proposal though: first, you have to convince Avalon guys: Store components were moved to the Excalibur. Vadim > Regards, > Michael Melhem --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]