Class SampledStat.Sample
- java.lang.Object
-
- org.apache.kafka.common.metrics.stats.SampledStat.Sample
-
- Enclosing class:
- SampledStat
protected static class SampledStat.Sample extends Object
-
-
Field Summary
Fields Modifier and Type Field Description long
eventCount
double
initialValue
long
lastWindowMs
double
value
-
Constructor Summary
Constructors Constructor Description Sample(double initialValue, long now)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isComplete(long timeMs, MetricConfig config)
void
reset(long now)
-
-
-
Method Detail
-
reset
public void reset(long now)
-
isComplete
public boolean isComplete(long timeMs, MetricConfig config)
-
-