Class NoopFunctionCounter

java.lang.Object
All Implemented Interfaces:
FunctionCounter, Meter

public class NoopFunctionCounter
extends NoopMeter
implements FunctionCounter
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.micrometer.core.instrument.FunctionCounter

    FunctionCounter.Builder<T>

    Nested classes/interfaces inherited from interface io.micrometer.core.instrument.Meter

    Meter.Builder, Meter.Id, Meter.Type
  • Constructor Summary

    Constructors
    Constructor Description
    NoopFunctionCounter​(Meter.Id id)  
  • Method Summary

    Modifier and Type Method Description
    double count()  

    Methods inherited from class io.micrometer.core.instrument.noop.NoopMeter

    measure

    Methods inherited from class io.micrometer.core.instrument.AbstractMeter

    getId

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.micrometer.core.instrument.FunctionCounter

    measure

    Methods inherited from interface io.micrometer.core.instrument.Meter

    close, getId, match, use
  • Constructor Details

    • NoopFunctionCounter

      public NoopFunctionCounter​(Meter.Id id)
  • Method Details

    • count

      public double count()
      Specified by:
      count in interface FunctionCounter
      Returns:
      The cumulative count since this counter was created.