public class Avg extends SampledStat
SampledStat
that maintains a simple average over its samples.Constructor and Description |
---|
Avg() |
Modifier and Type | Method and Description |
---|---|
double |
combine(List<org.apache.kafka.common.metrics.stats.SampledStat.Sample> samples,
MetricConfig config,
long now) |
public double combine(List<org.apache.kafka.common.metrics.stats.SampledStat.Sample> samples, MetricConfig config, long now)
combine
in class SampledStat