Package io.micrometer.atlas
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 TypeMethodDescriptionint
double
io.micrometer.core.instrument.LongTaskTimer.Sample
start()
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 interfaceio.micrometer.core.instrument.LongTaskTimer
- Overrides:
start
in classio.micrometer.core.instrument.internal.DefaultLongTaskTimer
-
duration
- Specified by:
duration
in interfaceio.micrometer.core.instrument.LongTaskTimer
- Overrides:
duration
in classio.micrometer.core.instrument.internal.DefaultLongTaskTimer
-
activeTasks
public int activeTasks()- Specified by:
activeTasks
in interfaceio.micrometer.core.instrument.LongTaskTimer
- Overrides:
activeTasks
in classio.micrometer.core.instrument.internal.DefaultLongTaskTimer
-