[ 
https://issues.apache.org/jira/browse/SOLR-256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589836#action_12589836
 ] 

shalinmangar edited comment on SOLR-256 at 4/16/08 11:23 PM:
----------------------------------------------------------------------

Changes
 * Changed the type of the SolrInfoMBeans to the key specified in registry. 
Previously, I had used the SolrInfoMBean class's simple name which lead to 
duplicate registration of LRUCache (which is used as filterCache, 
queryResultCache and documentCache).
 * Fixed the parent name of the MBeans to solr (if using single cores). With 
multicores, the parent name is solr/core-name
 * Throws an exception if no server is found with the given agentId
 * Removed code I had added for debugging

Also, I've added <jmx /> in the example solrconfig.xml to turn on JMX by 
default.

      was (Author: shalinmangar):
    Changes
 * Changed the type of the SolrInfoMBeans to the key specified in registry. 
Previously, I had used the SolrInfoMBean class's simple name which lead to 
duplicate registration of LRUCache (which is used as filterCache, 
queryResultCache and documentCache).
 * Fixed the parent name of the MBeans to solr (if using single cores). With 
multicores, the parent name is solr/core-name
 * Throws an exception if no server is found with the given agentId
 * Removed code I had added for debugging
  
> Stats via JMX
> -------------
>
>                 Key: SOLR-256
>                 URL: https://issues.apache.org/jira/browse/SOLR-256
>             Project: Solr
>          Issue Type: New Feature
>          Components: search, update
>            Reporter: Sharad Agarwal
>            Priority: Minor
>         Attachments: jmx.patch, jmx.patch, jmx.patch, jmx.patch, jmx.patch, 
> SOLR-256.patch, SOLR-256.patch, SOLR-256.patch
>
>
> This patch adds JMX capability to get statistics from all the SolrInfoMBean.
> The implementation is done such a way to minimize code changes. 
> In SolrInfoRegistry, I have overloaded Map's  put and remove methods to 
> register and unregister SolrInfoMBean in MBeanServer. 
> Later on, I am planning to use register and unregister methods in 
> SolrInfoRegistry and removing getRegistry() method (Hiding the map instance 
> to other classes)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to