| Modifier and Type | Field and Description |
|---|---|
| private final StatisticArchive | history
The history. |
| private final StatisticSampler | sampler
The sampler. |
| Access | Constructor and Description |
|---|---|
| public | SampledStatistic(ValueStatistic<T>
the statistic statistic, ScheduledExecutorService the executor executor, int the history size historySize, long the period nanos periodNanos)Instantiates a new sampled statistic. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public List | |
| public void | |
| public void |
| history | back to summary |
|---|---|
| private final StatisticArchive<T> history The history. | |
| sampler | back to summary |
|---|---|
| private final StatisticSampler<T> sampler The sampler. | |
| SampledStatistic | back to summary |
|---|---|
| public SampledStatistic(ValueStatistic<T> statistic, ScheduledExecutorService executor, int historySize, long periodNanos) Instantiates a new sampled statistic.
| |
| adjust | back to summary |
|---|---|
| pack-priv void adjust(int historySize, long historyNanos) Adjust.
| |
| history | back to summary |
|---|---|
| public List History.
| |
| startSampling | back to summary |
|---|---|
| public void startSampling() Start sampling. | |
| stopSampling | back to summary |
|---|---|
| public void stopSampling() Stop sampling. | |