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
Constructors -
Method Summary
Methods inherited from class io.micrometer.core.instrument.step.StepValue
_closingRollover, poll
-
Constructor Details
-
StepDouble
-
-
Method Details
-
valueSupplier
- Specified by:
valueSupplierin classStepValue<Double>
-
noValue
- Specified by:
noValuein 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
-