Class SpectatorCounter

java.lang.Object
io.micrometer.core.instrument.AbstractMeter
io.micrometer.atlas.SpectatorCounter
All Implemented Interfaces:
io.micrometer.core.instrument.Counter, io.micrometer.core.instrument.Meter

public class SpectatorCounter extends io.micrometer.core.instrument.AbstractMeter implements io.micrometer.core.instrument.Counter
  • Nested Class Summary

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

    io.micrometer.core.instrument.Counter.Builder

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

    io.micrometer.core.instrument.Meter.Builder, io.micrometer.core.instrument.Meter.Id, io.micrometer.core.instrument.Meter.Type
  • Method Summary

    Modifier and Type
    Method
    Description
    double
     
    void
    increment(double amount)
     

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

    equals, getId, hashCode

    Methods inherited from class java.lang.Object

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

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

    increment, measure

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

    close, getId, match, use
  • Method Details

    • increment

      public void increment(double amount)
      Specified by:
      increment in interface io.micrometer.core.instrument.Counter
    • count

      public double count()
      Specified by:
      count in interface io.micrometer.core.instrument.Counter