Class 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 of Histogram instances, with configurable reservoir.
    • Constructor Detail

      • DefaultHistogramSupplier

        public DefaultHistogramSupplier​(SolrResourceLoader loader)
    • Method Detail

      • getReservoir

        public com.codahale.metrics.Reservoir getReservoir()
      • newMetric

        public com.codahale.metrics.Histogram newMetric()
        Specified by:
        newMetric in interface com.codahale.metrics.MetricRegistry.MetricSupplier<com.codahale.metrics.Histogram>