This content has been marked as final.
Show 1 reply
-
1. Re: Evaluate number of items in memory
nadirx Sep 30, 2015 10:31 AM (in response to sberthez)Hi Sebastien,
you can enable container statistics which will expose the caches over JMX. We have a page listing all exposed MBeans. Each cache will allow you to retrieve the NumberOfEntries for the local node as well as the NumberOfEntries across the entire cluster (for clustered caches). Infinispan 8.0 has also introduced memory-based eviction which allows you to specify (and monitor) the maximum allowed occupation of a cache in bytes, although I don't know when Modeshape plans to support that.