Class SpectatorLongTaskTimer

java.lang.Object
io.micrometer.core.instrument.AbstractMeter
io.micrometer.core.instrument.internal.DefaultLongTaskTimer
io.micrometer.atlas.SpectatorLongTaskTimer
All Implemented Interfaces:
io.micrometer.core.instrument.distribution.HistogramSupport, io.micrometer.core.instrument.LongTaskTimer, io.micrometer.core.instrument.Meter

public class SpectatorLongTaskTimer extends io.micrometer.core.instrument.internal.DefaultLongTaskTimer implements io.micrometer.core.instrument.LongTaskTimer
  • Nested Class Summary

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

    io.micrometer.core.instrument.LongTaskTimer.Builder, io.micrometer.core.instrument.LongTaskTimer.Sample

    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
    int
     
    double
     
    io.micrometer.core.instrument.LongTaskTimer.Sample
     

    Methods inherited from class io.micrometer.core.instrument.internal.DefaultLongTaskTimer

    baseTimeUnit, forEachActive, max, takeSnapshot

    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.distribution.HistogramSupport

    takeSnapshot, takeSnapshot

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

    baseTimeUnit, duration, max, mean, measure, record, record, record, recordCallable, stop

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

    close, getId, match, use
  • Method Details

    • start

      public io.micrometer.core.instrument.LongTaskTimer.Sample start()
      Specified by:
      start in interface io.micrometer.core.instrument.LongTaskTimer
      Overrides:
      start in class io.micrometer.core.instrument.internal.DefaultLongTaskTimer
    • duration

      public double duration(TimeUnit unit)
      Specified by:
      duration in interface io.micrometer.core.instrument.LongTaskTimer
      Overrides:
      duration in class io.micrometer.core.instrument.internal.DefaultLongTaskTimer
    • activeTasks

      public int activeTasks()
      Specified by:
      activeTasks in interface io.micrometer.core.instrument.LongTaskTimer
      Overrides:
      activeTasks in class io.micrometer.core.instrument.internal.DefaultLongTaskTimer