- Enclosing class:
- Downsampler
public static class Downsampler.Sample
extends Object
A cumulative sample that keeps track of a rolling average among others.
-
Constructor Summary
Constructors
Sample(long t,
long valueTime,
double value,
long expireMillis)
-
Method Summary
void
process(long valueTime,
double value,
long expireMillis)
-
Constructor Details
-
Sample
public Sample(long t,
long valueTime,
double value,
long expireMillis)
-
Method Details
-
process
public void process(long valueTime,
double value,
long expireMillis)
-