Class WindowedCount
java.lang.Object
org.apache.kafka.common.metrics.stats.SampledStat
org.apache.kafka.common.metrics.stats.WindowedSum
org.apache.kafka.common.metrics.stats.WindowedCount
- All Implemented Interfaces:
 Measurable,MeasurableStat,MetricValueProvider<Double>,Stat
A 
SampledStat that maintains a simple count of what it has seen.
 This is a special kind of WindowedSum that always records a value of 1 instead of the provided value.
 In other words, it counts the number of
 SampledStat.record(MetricConfig, double, long) invocations,
 instead of summing the recorded values.
 See also CumulativeCount for a non-sampled version of this metric.- 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class org.apache.kafka.common.metrics.stats.WindowedSum
combineMethods 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
- 
WindowedCount
public WindowedCount() 
 -