>> However, there's one method in CDSMDso, evictedInServer(boolean >> notifyEvicted, Object key) which actually does a remove from a local cache >> for a particular key. But you'll have to do some magic to grab that CDSMDso >> segment for that particular key. Using that method with notifyEvicted=false >> will actually remove from the local cache. > I have a concurrency level of 1, so I only have one segment, but is > there any public method to access it?
That "evictedInServer(..)" method is public, but its in CDSMDso. Maybe you can rely on the fact that when concurrency=1, the underlying map underneath CDSM is an instanceof CDSMDso. Maybe you can use reflection and cast CDSM.map to CDSMDso and use that method. But of course, as these are not supported ways, it may break on subsequent release :) > Thanks! > > Sergio B. > _______________________________________________ tc-dev mailing list tc-dev@lists.terracotta.org http://lists.terracotta.org/mailman/listinfo/tc-dev