Class MetricSuppliers.NoOpTimerSupplier

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

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

      • NoOpTimerSupplier

        public NoOpTimerSupplier()
    • Method Detail

      • newMetric

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