Class Avg
java.lang.Object
org.apache.kafka.common.metrics.stats.SampledStat
org.apache.kafka.common.metrics.stats.Avg
- All Implemented Interfaces:
 Measurable,MeasurableStat,MetricValueProvider<Double>,Stat
- Direct Known Subclasses:
 ExponentialWeightedAvg
A 
SampledStat that maintains a simple average 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) Methods inherited from class org.apache.kafka.common.metrics.stats.SampledStat
current, measure, oldest, record, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.kafka.common.metrics.Measurable
value 
- 
Constructor Details
- 
Avg
public Avg() 
 - 
 - 
Method Details
- 
combine
public double combine(List<org.apache.kafka.common.metrics.stats.SampledStat.Sample> samples, MetricConfig config, long now) - Specified by:
 combinein classSampledStat
 
 -