Class Min
- java.lang.Object
-
- org.apache.kafka.common.metrics.stats.SampledStat
-
- org.apache.kafka.common.metrics.stats.Min
-
- All Implemented Interfaces:
Measurable
,MeasurableStat
,MetricValueProvider<Double>
,Stat
public class Min extends SampledStat
ASampledStat
that gives the min over its samples.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.kafka.common.metrics.stats.SampledStat
SampledStat.Sample
-
-
Field Summary
-
Fields inherited from class org.apache.kafka.common.metrics.stats.SampledStat
samples
-
-
Constructor Summary
Constructors Constructor Description Min()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
combine(List<SampledStat.Sample> samples, MetricConfig config, long now)
protected void
update(SampledStat.Sample sample, MetricConfig config, double value, long now)
-
Methods inherited from class org.apache.kafka.common.metrics.stats.SampledStat
current, measure, newSample, oldest, purgeObsoleteSamples, record
-
-
-
-
Method Detail
-
update
protected void update(SampledStat.Sample sample, MetricConfig config, double value, long now)
- Specified by:
update
in classSampledStat
-
combine
public double combine(List<SampledStat.Sample> samples, MetricConfig config, long now)
- Specified by:
combine
in classSampledStat
-
-