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
A
SampledStat that gives the max over its samples.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublecombine(List<org.apache.kafka.common.metrics.stats.SampledStat.Sample> samples, MetricConfig config, long now)
-
Constructor Details
-
Max
public Max()
-
-
Method Details
-
combine
public double combine(List<org.apache.kafka.common.metrics.stats.SampledStat.Sample> samples, MetricConfig config, long now) - Specified by:
combinein classSampledStat
-