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.
Lead, AS Clustering
JBoss, a division of Red Hat