Package org.apache.solr.metrics
Class SolrCoreReporter
- java.lang.Object
-
- org.apache.solr.metrics.SolrMetricReporter
-
- org.apache.solr.metrics.FilteringSolrMetricReporter
-
- org.apache.solr.metrics.SolrCoreReporter
-
- All Implemented Interfaces:
Closeable,AutoCloseable,PluginInfoInitialized
public abstract class SolrCoreReporter extends FilteringSolrMetricReporter
AFilteringSolrMetricReporterthat has access to itsSolrCore.
-
-
Field Summary
Fields Modifier and Type Field Description protected SolrCorecore-
Fields inherited from class org.apache.solr.metrics.FilteringSolrMetricReporter
filters
-
Fields inherited from class org.apache.solr.metrics.SolrMetricReporter
enabled, metricManager, period, pluginInfo, registryName
-
-
Constructor Summary
Constructors Constructor Description SolrCoreReporter(SolrMetricManager metricManager, String registryName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SolrCoregetCore()voidinit(PluginInfo pluginInfo)Initializes aSolrMetricReporterwith the plugin's configuration.voidinit(PluginInfo pluginInfo, SolrCore core)-
Methods inherited from class org.apache.solr.metrics.FilteringSolrMetricReporter
newMetricFilter, setFilter, setFilter
-
Methods inherited from class org.apache.solr.metrics.SolrMetricReporter
doInit, getPeriod, getPluginInfo, setEnabled, setPeriod, toString, validate
-
-
-
-
Field Detail
-
core
protected SolrCore core
-
-
Constructor Detail
-
SolrCoreReporter
public SolrCoreReporter(SolrMetricManager metricManager, String registryName)
-
-
Method Detail
-
init
public final void init(PluginInfo pluginInfo)
Description copied from class:SolrMetricReporterInitializes aSolrMetricReporterwith the plugin's configuration.- Specified by:
initin interfacePluginInfoInitialized- Overrides:
initin classSolrMetricReporter- Parameters:
pluginInfo- the plugin's configuration
-
init
public void init(PluginInfo pluginInfo, SolrCore core)
-
getCore
public SolrCore getCore()
-
-