Package org.apache.solr.handler.admin
Class SolrInfoMBeanHandler
- java.lang.Object
-
- org.apache.solr.handler.RequestHandlerBase
-
- org.apache.solr.handler.admin.SolrInfoMBeanHandler
-
- All Implemented Interfaces:
AutoCloseable
,ApiSupport
,SolrInfoBean
,NestedRequestHandler
,SolrMetricProducer
,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.SolrInfoBean
SolrInfoBean.Category, SolrInfoBean.Group
-
-
Field Summary
-
Fields inherited from class org.apache.solr.handler.RequestHandlerBase
appends, defaults, httpCaching, initArgs, invariants, solrMetricsContext
-
Fields inherited from interface org.apache.solr.request.SolrRequestHandler
TYPE
-
-
Constructor Summary
Constructors Constructor Description SolrInfoMBeanHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NamedList
diffNamedList(NamedList ref, NamedList now)
Object
diffObject(Object ref, Object now)
SolrInfoBean.Category
getCategory()
Category of this componentString
getDescription()
Simple one or two line descriptionprotected 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
getApis, getInitArgs, getMetricNames, getName, getPluginInfo, getRequestHandler, getSolrMetricsContext, getSolrParamsFromNamedList, getSubHandler, handleRequest, init, initializeMetrics, setPluginInfo
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.solr.api.ApiSupport
registerV1, registerV2
-
Methods inherited from interface org.apache.solr.core.SolrInfoBean
getMetricRegistry, getMetricsSnapshot, registerMetricName
-
Methods inherited from interface org.apache.solr.metrics.SolrMetricProducer
close, initializeMetrics
-
-
-
-
Method Detail
-
handleRequestBody
public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Specified by:
handleRequestBody
in classRequestHandlerBase
- 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)
-
normalize
public NamedList normalize(NamedList input)
The 'avgRequestsPerSecond' field will make everything look like it changed
-
getDescription
public String getDescription()
Description copied from interface:SolrInfoBean
Simple one or two line description- Specified by:
getDescription
in interfaceSolrInfoBean
- Specified by:
getDescription
in classRequestHandlerBase
-
getCategory
public SolrInfoBean.Category getCategory()
Description copied from interface:SolrInfoBean
Category of this component- Specified by:
getCategory
in interfaceSolrInfoBean
- Overrides:
getCategory
in classRequestHandlerBase
-
-