public class TimeWindowSum
extends java.lang.Object
Constructor and Description |
---|
TimeWindowSum(int bufferLength,
java.time.Duration expiry) |
Modifier and Type | Method and Description |
---|---|
double |
poll() |
void |
record(long sampleMillis)
For use by timer implementations.
|