Class Max
- java.lang.Object
-
- org.apache.kafka.common.metrics.stats.SampledStat
-
- org.apache.kafka.common.metrics.stats.Max
-
- All Implemented Interfaces:
Measurable
,MeasurableStat
,MetricValueProvider<Double>
,Stat
public final class Max extends SampledStat
ASampledStat
that gives the max over its samples.
-
-
Constructor Summary
Constructors Constructor Description Max()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
combine(List<org.apache.kafka.common.metrics.stats.SampledStat.Sample> samples, MetricConfig config, long now)
-
-
-
Method Detail
-
combine
public double combine(List<org.apache.kafka.common.metrics.stats.SampledStat.Sample> samples, MetricConfig config, long now)
- Specified by:
combine
in classSampledStat
-
-