Class MetricSuppliers.NoOpCounterSupplier

  • All Implemented Interfaces:
    com.codahale.metrics.MetricRegistry.MetricSupplier<com.codahale.metrics.Counter>
    Enclosing class:
    MetricSuppliers

    public static final class MetricSuppliers.NoOpCounterSupplier
    extends Object
    implements com.codahale.metrics.MetricRegistry.MetricSupplier<com.codahale.metrics.Counter>
    No-op implementation of Counter supplier.
    • Constructor Detail

      • NoOpCounterSupplier

        public NoOpCounterSupplier()
    • Method Detail

      • newMetric

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