Class SampledStat.Sample
java.lang.Object
org.apache.kafka.common.metrics.stats.SampledStat.Sample
- Enclosing class:
- SampledStat
-
Field Summary
Modifier and TypeFieldDescriptionlong
double
long
double
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isComplete
(long timeMs, MetricConfig config) void
reset
(long now) toString()
-
Field Details
-
initialValue
public double initialValue -
eventCount
public long eventCount -
lastWindowMs
public long lastWindowMs -
value
public double value
-
-
Constructor Details
-
Sample
public Sample(double initialValue, long now)
-
-
Method Details