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,PermissionNameProvider
public class SolrInfoMBeanHandler extends RequestHandlerBase
A request handler that provides info about all registered SolrInfoMBeans.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.solr.handler.RequestHandlerBase
RequestHandlerBase.HandlerMetrics
-
Nested classes/interfaces inherited from interface org.apache.solr.security.PermissionNameProvider
PermissionNameProvider.Name
-
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
aggregateNodeLevelMetricsEnabled, appends, defaults, httpCaching, initArgs, invariants, metrics, solrMetricsContext
-
Fields inherited from interface org.apache.solr.security.PermissionNameProvider
ANY, NULL, values
-
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 org.apache.solr.common.util.NamedList<Object>diffNamedList(org.apache.solr.common.util.NamedList<?> ref, org.apache.solr.common.util.NamedList<?> now)ObjectdiffObject(Object ref, Object now)SolrInfoBean.CategorygetCategory()Category of this componentStringgetDescription()Simple one or two line descriptionprotected org.apache.solr.common.util.NamedList<org.apache.solr.common.util.NamedList<org.apache.solr.common.util.NamedList<Object>>>getDiff(org.apache.solr.common.util.NamedList<org.apache.solr.common.util.NamedList<org.apache.solr.common.util.NamedList<Object>>> ref, org.apache.solr.common.util.NamedList<org.apache.solr.common.util.NamedList<org.apache.solr.common.util.NamedList<Object>>> now, boolean includeAll)protected org.apache.solr.common.util.NamedList<org.apache.solr.common.util.NamedList<org.apache.solr.common.util.NamedList<Object>>>getMBeanInfo(SolrQueryRequest req)PermissionNameProvider.NamegetPermissionName(AuthorizationContext request)voidhandleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp)voidnormalize(org.apache.solr.common.util.NamedList<?> input)The 'avgRequestsPerSecond' field will make everything look like it changed-
Methods inherited from class org.apache.solr.handler.RequestHandlerBase
getApis, getInitArgs, getMetricsForThisRequest, getName, getPluginInfo, getRequestHandler, getSolrMetricsContext, getSolrParamsFromNamedList, getSubHandler, handleRequest, init, initializeMetrics, normalizeReceivedException, processErrorMetricsOnException, 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
getJerseyResources, registerV1, registerV2
-
Methods inherited from interface org.apache.solr.metrics.SolrMetricProducer
close
-
-
-
-
Method Detail
-
handleRequestBody
public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Specified by:
handleRequestBodyin classRequestHandlerBase- Throws:
Exception
-
getMBeanInfo
protected org.apache.solr.common.util.NamedList<org.apache.solr.common.util.NamedList<org.apache.solr.common.util.NamedList<Object>>> getMBeanInfo(SolrQueryRequest req)
-
getDiff
protected org.apache.solr.common.util.NamedList<org.apache.solr.common.util.NamedList<org.apache.solr.common.util.NamedList<Object>>> getDiff(org.apache.solr.common.util.NamedList<org.apache.solr.common.util.NamedList<org.apache.solr.common.util.NamedList<Object>>> ref, org.apache.solr.common.util.NamedList<org.apache.solr.common.util.NamedList<org.apache.solr.common.util.NamedList<Object>>> now, boolean includeAll)
-
diffNamedList
public org.apache.solr.common.util.NamedList<Object> diffNamedList(org.apache.solr.common.util.NamedList<?> ref, org.apache.solr.common.util.NamedList<?> now)
-
normalize
public void normalize(org.apache.solr.common.util.NamedList<?> input)
The 'avgRequestsPerSecond' field will make everything look like it changed
-
getDescription
public String getDescription()
Description copied from interface:SolrInfoBeanSimple one or two line description- Specified by:
getDescriptionin interfaceSolrInfoBean- Specified by:
getDescriptionin classRequestHandlerBase
-
getCategory
public SolrInfoBean.Category getCategory()
Description copied from interface:SolrInfoBeanCategory of this component- Specified by:
getCategoryin interfaceSolrInfoBean- Overrides:
getCategoryin classRequestHandlerBase
-
getPermissionName
public PermissionNameProvider.Name getPermissionName(AuthorizationContext request)
-
-