[infinispan-issues] [JBoss JIRA] (ISPN-3604) Provide JMX operation which shows the numberOfEntries in the entire dist-cache
Mircea Markus (JIRA)
jira-events at lists.jboss.org
Thu Oct 10 10:06:02 EDT 2013
[ https://issues.jboss.org/browse/ISPN-3604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12813132#comment-12813132 ]
Mircea Markus commented on ISPN-3604:
-------------------------------------
makes sense to me. the M/R code from the server should be reused for this operation as well.
> Provide JMX operation which shows the numberOfEntries in the entire dist-cache
> ------------------------------------------------------------------------------
>
> Key: ISPN-3604
> URL: https://issues.jboss.org/browse/ISPN-3604
> Project: Infinispan
> Issue Type: Feature Request
> Components: JMX, reporting and management
> Affects Versions: 6.0.0.CR1
> Environment: Max OS-X 10.8.5, Oracle Hotspot 1.7.0_40, Infinispan 5.2.4.Final
> Reporter: Duncan Doyle
> Assignee: Mircea Markus
>
> The Infinispan statistics component only shows the 'numberOfEntries' in a particular node, including entries of which the node is not the primary owner (basically, doing a sum of this value of all the cluster members gives you (numberOfEntries * numOwners). The 'cache.keySet()' method does return the entire keyset, and thus you can calculate the numberOfEntries in the cache, but this requires writing custom code in a cache client. It would be nice if Infinispan would provide a JMX operation which is able to show the number of entries in the entire dist-cache cluster.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list