Package org.apache.solr.metrics
Class MetricSuppliers.DefaultHistogramSupplier
- java.lang.Object
-
- org.apache.solr.metrics.MetricSuppliers.DefaultHistogramSupplier
-
- All Implemented Interfaces:
com.codahale.metrics.MetricRegistry.MetricSupplier<com.codahale.metrics.Histogram>
,PluginInfoInitialized
- Enclosing class:
- MetricSuppliers
public static final class MetricSuppliers.DefaultHistogramSupplier extends Object implements com.codahale.metrics.MetricRegistry.MetricSupplier<com.codahale.metrics.Histogram>, PluginInfoInitialized
Default supplier ofHistogram
instances, with configurable reservoir.
-
-
Constructor Summary
Constructors Constructor Description DefaultHistogramSupplier(SolrResourceLoader loader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.codahale.metrics.Reservoir
getReservoir()
void
init(PluginInfo info)
com.codahale.metrics.Histogram
newMetric()
-
-
-
Constructor Detail
-
DefaultHistogramSupplier
public DefaultHistogramSupplier(SolrResourceLoader loader)
-
-
Method Detail
-
init
public void init(PluginInfo info)
- Specified by:
init
in interfacePluginInfoInitialized
-
getReservoir
public com.codahale.metrics.Reservoir getReservoir()
-
newMetric
public com.codahale.metrics.Histogram newMetric()
- Specified by:
newMetric
in interfacecom.codahale.metrics.MetricRegistry.MetricSupplier<com.codahale.metrics.Histogram>
-
-