Hello JCS Users I was debugging JCS code GroupCacheAccess getGroupAccess method . I found that the compositecachemanager :getCache method checks if there is a compositecache object in a hashtable with the same cache name . If so it returns the existing and if not it creates new Compositecache add that to the hashtable and return it . My question is when is this compositecache object removed from the hashtable ?
Is there an exclusive way to remove this object from the memory ? In my case there could be several such compositecache created on a single JVM and during the life of application the objects stored in such compositecache are removed and this compositecache will never be used again. So instead of keeping this hashtable growing we need to remove these objects from the hashtable. I have seen one method on the cacheaccess. cacheaccess:dispose . But this method is protected and cannot be accessed . Should there be some method on groupcacheaccess that delegates to the cachemanager:freecache method which would remove this cache from the hashtable ? Thanks Sunil -- To unsubscribe, e-mail: <mailto:turbine-jcs-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:turbine-jcs-user-help@;jakarta.apache.org>
