[jbosscache-dev] Clear all data in destroy?

Brian Stansberry brian.stansberry at redhat.com
Wed May 30 12:14:11 EDT 2007


Shouldn't destroy() clear all data from the in-memory cache? Or maybe 
stop()? IMHO if you destroy a cache and then call create/start again you 
shouldn't see the old data.

Not advocating doing anything fancy here, i.e. anything that goes 
through the interceptor chain.  Simple clearing of the data and children 
maps on the root node.

-- 
Brian Stansberry
Lead, AS Clustering
JBoss, a division of Red Hat
brian.stansberry at redhat.com




More information about the jbosscache-dev mailing list