| Access | Constructor and Description |
|---|---|
| public | ExpiringSampledStatistic(ValueStatistic<T>
statistic source source, ScheduledExecutorService executor to use for sampling executor, int size of sample history historySize, long period between samples historyPeriod, TimeUnit unit of period between samples historyTimeUnit, StatisticType sampling type type)Creates an expiring statistic. |
| Modifier and Type | Method and Description |
|---|---|
| public T | value()
Overrides org. Implements org. |
| ExpiringSampledStatistic | back to summary |
|---|---|
| public ExpiringSampledStatistic(ValueStatistic<T> source, ScheduledExecutorService executor, int historySize, long historyPeriod, TimeUnit historyTimeUnit, StatisticType type) Creates an expiring statistic.
| |
| value | back to summary |
|---|---|
| public T value() Overrides org. Implements org. Doc from org. Value.
| |