org.apache.solr.handler.admin
Class SolrInfoMBeanHandler

java.lang.Object
  extended by org.apache.solr.handler.RequestHandlerBase
      extended by org.apache.solr.handler.admin.SolrInfoMBeanHandler
All Implemented Interfaces:
SolrInfoMBean, 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
 
Constructor Summary
SolrInfoMBeanHandler()
           
 
Method Summary
 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)
           
 String getSource()
          CVS Source, SVN Source, etc
 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, getStatistics, getVersion, handleRequest, init
 
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

getSource

public String getSource()
Description copied from interface: SolrInfoMBean
CVS Source, SVN Source, etc

Specified by:
getSource in interface SolrInfoMBean
Specified by:
getSource in class RequestHandlerBase


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