Class TimeWindowMin
- java.lang.Object
-
- io.quarkus.micrometer.runtime.registry.json.TimeWindowMin
-
class TimeWindowMin extends Object
-
-
Constructor Summary
Constructors Constructor Description TimeWindowMin(io.micrometer.core.instrument.Clock clock, long rotateFrequencyMillis, int bufferLength)
TimeWindowMin(io.micrometer.core.instrument.Clock clock, io.micrometer.core.instrument.distribution.DistributionStatisticConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
poll()
double
poll(TimeUnit timeUnit)
void
record(double sample)
void
record(double sample, TimeUnit timeUnit)
For use by timer implementations.
-
-
-
Constructor Detail
-
TimeWindowMin
public TimeWindowMin(io.micrometer.core.instrument.Clock clock, io.micrometer.core.instrument.distribution.DistributionStatisticConfig config)
-
TimeWindowMin
public TimeWindowMin(io.micrometer.core.instrument.Clock clock, long rotateFrequencyMillis, int bufferLength)
-
-
Method Detail
-
record
public void record(double sample, TimeUnit timeUnit)
For use by timer implementations.- Parameters:
sample
- The value to record.timeUnit
- The unit of time of the incoming sample.
-
poll
public double poll(TimeUnit timeUnit)
-
poll
public double poll()
-
record
public void record(double sample)
-
-