Package org.apache.solr.metrics
Class SolrCoreContainerReporter
- java.lang.Object
-
- org.apache.solr.metrics.SolrMetricReporter
-
- org.apache.solr.metrics.SolrCoreContainerReporter
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,PluginInfoInitialized
public abstract class SolrCoreContainerReporter extends SolrMetricReporter
ASolrMetricReporter
that has access to itsCoreContainer
.
-
-
Field Summary
Fields Modifier and Type Field Description protected CoreContainer
coreContainer
-
Fields inherited from class org.apache.solr.metrics.SolrMetricReporter
enabled, metricManager, period, pluginInfo, registryName
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SolrCoreContainerReporter(SolrMetricManager metricManager, String registryName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CoreContainer
getCoreContainer()
void
init(PluginInfo pluginInfo)
Initializes aSolrMetricReporter
with the plugin's configuration.void
init(PluginInfo pluginInfo, CoreContainer coreContainer)
-
Methods inherited from class org.apache.solr.metrics.SolrMetricReporter
doInit, getPeriod, getPluginInfo, setEnabled, setPeriod, toString, validate
-
-
-
-
Field Detail
-
coreContainer
protected CoreContainer coreContainer
-
-
Constructor Detail
-
SolrCoreContainerReporter
protected SolrCoreContainerReporter(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, CoreContainer coreContainer)
-
getCoreContainer
public CoreContainer getCoreContainer()
-
-