public class WindowedCount extends WindowedSum
SampledStatthat maintains a simple count of what it has seen. This is a special kind of
WindowedSumthat always records a value of
1instead 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
CumulativeCountfor a non-sampled version of this metric.