protected static class SampledStat.Sample extends Object
Modifier and Type | Field and Description |
---|---|
long |
eventCount |
double |
initialValue |
long |
lastWindowMs |
double |
value |
Constructor and Description |
---|
Sample(double initialValue,
long now) |
Modifier and Type | Method and Description |
---|---|
boolean |
isComplete(long timeMs,
MetricConfig config) |
void |
reset(long now) |
public double initialValue
public long eventCount
public long lastWindowMs
public double value
public void reset(long now)
public boolean isComplete(long timeMs, MetricConfig config)