Class StepDouble
Subtly different from
com.netflix.spectator.impl.StepDouble
in that we want to
be able to increment BEFORE rolling over the interval.-
Constructor Summary
-
Method Summary
Methods inherited from class io.micrometer.core.instrument.step.StepValue
_closingRollover, poll
-
Constructor Details
-
StepDouble
-
-
Method Details
-
valueSupplier
- Specified by:
valueSupplier
in classStepValue<Double>
-
noValue
- Specified by:
noValue
in classStepValue<Double>
- Returns:
- value that should be returned by
StepValue.poll()
if within the first step period or if the previous step didn't record a value.
-
getCurrent
-