| Modifier and Type | Field and Description |
|---|---|
| private final SampledStatistic | history
The history. |
| private final ValueStatistic | source
The source. |
| Access | Constructor and Description |
|---|---|
| pack-priv | AbstractStatistic(ValueStatistic<T> source, ScheduledExecutorService
the executor executor, int the history size historySize, long the history nanos historyNanos)Instantiates a new abstract statistic. |
| Modifier and Type | Method and Description |
|---|---|
| public List | history()
Implements net. |
| pack-priv final void | |
| pack-priv final void | |
| pack-priv final void | |
| public T |
| history | back to summary |
|---|---|
| private final SampledStatistic<T> history The history. | |
| source | back to summary |
|---|---|
| private final ValueStatistic<T> source The source. | |
| AbstractStatistic | back to summary |
|---|---|
| pack-priv AbstractStatistic(ValueStatistic<T> source, ScheduledExecutorService executor, int historySize, long historyNanos) Instantiates a new abstract statistic.
| |
| history | back to summary |
|---|---|
| public List Implements net. Doc from net. History.
| |
| setHistory | back to summary |
|---|---|
| pack-priv final void setHistory(int historySize, long historyNanos) Sets the history.
| |
| startSampling | back to summary |
|---|---|
| pack-priv final void startSampling() Start sampling. | |
| stopSampling | back to summary |
|---|---|
| pack-priv final void stopSampling() Stop sampling. | |
| value | back to summary |
|---|---|
| public T value() Implements net. Doc from net. Value.
| |