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
AFilteringSolrMetricReporter
that has access to itsSolrCore
.
-
-
Field Summary
Fields Modifier and Type Field Description protected SolrCore
core
-
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 SolrCore
getCore()
void
init(PluginInfo pluginInfo)
Initializes aSolrMetricReporter
with the plugin's configuration.void
init(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:SolrMetricReporter
Initializes aSolrMetricReporter
with the plugin's configuration.- Specified by:
init
in interfacePluginInfoInitialized
- Overrides:
init
in classSolrMetricReporter
- Parameters:
pluginInfo
- the plugin's configuration
-
init
public void init(PluginInfo pluginInfo, SolrCore core)
-
getCore
public SolrCore getCore()
-
-