org.apache.solr.handler.admin

## Class SolrInfoMBeanHandler

- java.lang.Object
- - org.apache.solr.handler.RequestHandlerBase
  - - org.apache.solr.handler.admin.SolrInfoMBeanHandler

- All Implemented Interfaces:
    SolrInfoMBean, NestedRequestHandler, SolrRequestHandler

      public class SolrInfoMBeanHandler
      extends RequestHandlerBase

  A request handler that provides info about all registered SolrInfoMBeans.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.apache.solr.core.SolrInfoMBean

      `SolrInfoMBean.Category`

  - ### Field Summary

    - ### Fields inherited from class org.apache.solr.handler.RequestHandlerBase

      `appends, defaults, httpCaching, initArgs, invariants`

    - ### Fields inherited from interface org.apache.solr.request.SolrRequestHandler

      `TYPE`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SolrInfoMBeanHandler()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `NamedList` | `diffNamedList(NamedList ref, NamedList now)`
    `Object` | `diffObject(Object ref, Object now)`
    `String` | `getDescription()` Simple one or two line description
    `protected NamedList<NamedList<NamedList<Object>>>` | `getDiff(NamedList<NamedList<NamedList<Object>>> ref, NamedList<NamedList<NamedList<Object>>> now, boolean includeAll)`
    `protected NamedList<NamedList<NamedList<Object>>>` | `getMBeanInfo(SolrQueryRequest req)`
    `void` | `handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp)`
    `NamedList` | `normalize(NamedList input)` The 'avgRequestsPerSecond' field will make everything look like it changed

    - ### Methods inherited from class org.apache.solr.handler.RequestHandlerBase

      `getCategory, getDocs, getInitArgs, getName, getPluginInfo, getRequestHandler, getSolrParamsFromNamedList, getSource, getStatistics, getSubHandler, getVersion, handleRequest, init, setPluginInfo`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SolrInfoMBeanHandler

          public SolrInfoMBeanHandler()

  - ### Method Detail

    - #### handleRequestBody

          public void handleRequestBody(SolrQueryRequest req,
                                        SolrQueryResponse rsp)
                                 throws Exception

      Specified by:
        `handleRequestBody` in class `RequestHandlerBase`
      Throws:
        `Exception`

    - #### getMBeanInfo

          protected NamedList<NamedList<NamedList<Object>>> getMBeanInfo(SolrQueryRequest req)

    - #### getDiff

          protected NamedList<NamedList<NamedList<Object>>> getDiff(NamedList<NamedList<NamedList<Object>>> ref,
                                                                    NamedList<NamedList<NamedList<Object>>> now,
                                                                    boolean includeAll)

    - #### diffNamedList

          public NamedList diffNamedList(NamedList ref,
                                         NamedList now)

    - #### diffObject

          public Object diffObject(Object ref,
                                   Object now)

    - #### normalize

          public NamedList normalize(NamedList input)

      The 'avgRequestsPerSecond' field will make everything look like it changed

    - #### getDescription

          public String getDescription()

      Description copied from interface: `SolrInfoMBean`
      Simple one or two line description
      Specified by:
        `getDescription` in interface `SolrInfoMBean`
      Specified by:
        `getDescription` in class `RequestHandlerBase`

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.