Class StepDouble
- java.lang.Object
-
- io.micrometer.core.instrument.step.StepDouble
-
public class StepDouble extends java.lang.Object
Subtly different fromcom.netflix.spectator.impl.StepDouble
in that we want to be able to increment BEFORE rolling over the interval.
-
-
Constructor Summary
Constructors Constructor Description StepDouble(Clock clock, long stepMillis)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.atomic.DoubleAdder
getCurrent()
double
poll()
-
-
-
Constructor Detail
-
StepDouble
public StepDouble(Clock clock, long stepMillis)
-
-