Class StepTuple2<T1,T2>
java.lang.Object
io.micrometer.core.instrument.step.StepTuple2<T1,T2>
public class StepTuple2<T1,T2>
extends java.lang.Object
Tracks multiple 'values' for periods (steps) of time. The previous step's values are
obtained by calling
poll1()
or poll2()
.- Since:
- 1.5.1
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
StepTuple2
-
-
Method Details
-
poll1
- Returns:
- The value for the last completed interval.
-
poll2
- Returns:
- The value for the last completed interval.
-