Class Count
- java.lang.Object
-
- org.apache.kafka.common.metrics.stats.SampledStat
-
- org.apache.kafka.common.metrics.stats.WindowedSum
-
- org.apache.kafka.common.metrics.stats.WindowedCount
-
- org.apache.kafka.common.metrics.stats.Count
-
- All Implemented Interfaces:
Measurable,MeasurableStat,MetricValueProvider<Double>,Stat
@Deprecated public class Count extends WindowedCount
Deprecated.since 2.4 . UseWindowedCountinsteadASampledStatthat maintains a simple count of what it has seen. This is a special kind ofWindowedSumthat always records a value of1instead of the provided value. See alsoCumulativeCountfor a non-sampled version of this metric.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.kafka.common.metrics.stats.SampledStat
SampledStat.Sample
-
-
Field Summary
-
Fields inherited from class org.apache.kafka.common.metrics.stats.SampledStat
samples
-
-
Constructor Summary
Constructors Constructor Description Count()Deprecated.
-
Method Summary
-
Methods inherited from class org.apache.kafka.common.metrics.stats.WindowedCount
update
-
Methods inherited from class org.apache.kafka.common.metrics.stats.WindowedSum
combine
-
Methods inherited from class org.apache.kafka.common.metrics.stats.SampledStat
current, measure, newSample, oldest, purgeObsoleteSamples, record
-
-