Class Sum
- java.lang.Object
-
- org.apache.kafka.common.metrics.stats.SampledStat
-
- org.apache.kafka.common.metrics.stats.WindowedSum
-
- org.apache.kafka.common.metrics.stats.Sum
-
- All Implemented Interfaces:
Measurable
,MeasurableStat
,MetricValueProvider<Double>
,Stat
@Deprecated public class Sum extends WindowedSum
Deprecated.since 2.4 . UseWindowedSum
insteadASampledStat
that maintains the sum of what it has seen. This is a sampled version ofCumulativeSum
. See alsoWindowedCount
if you want to increment the value by 1 on each recording.
-
-
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 Sum()
Deprecated.
-
Method Summary
-
Methods inherited from class org.apache.kafka.common.metrics.stats.WindowedSum
combine, update
-
Methods inherited from class org.apache.kafka.common.metrics.stats.SampledStat
current, measure, newSample, oldest, purgeObsoleteSamples, record
-
-