Package io.micrometer.core.instrument
Class LongTaskTimer.Sample
- java.lang.Object
-
- io.micrometer.core.instrument.LongTaskTimer.Sample
-
- Enclosing interface:
- LongTaskTimer
public static class LongTaskTimer.Sample extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Sample(LongTaskTimer timer, long task)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleduration(java.util.concurrent.TimeUnit unit)longstop()Records the duration of the operation
-
-
-
Constructor Detail
-
Sample
public Sample(LongTaskTimer timer, long task)
-
-