| Modifier and Type | Field and Description |
|---|---|
| private final StatisticHistory | history
The history. |
| private final ValueStatistic | source
The source. |
| private final StatisticType |
| Access | Constructor and Description |
|---|---|
| pack-priv | AbstractSampledStatistic(ValueStatistic<T> source, ScheduledExecutorService
the executor executor, int the history size historySize, long the history period historyPeriod, TimeUnit the history time unit historyTimeUnit, StatisticType type of statistic sampled type)Instantiates a new abstract statistic. |
| Modifier and Type | Method and Description |
|---|---|
| public List | |
| public List | history(long
starting point of history in ms since)Implements org. |
| pack-priv final void | setHistory(int
the history size historySize, long the history period historyPeriod, TimeUnit the history time unit historyTimeUnit)Sets the history. |
| pack-priv final void | |
| pack-priv final void | |
| public StatisticType | |
| public T |
| history | back to summary |
|---|---|
| private final StatisticHistory<T> history The history. | |
| source | back to summary |
|---|---|
| private final ValueStatistic<T> source The source. | |
| type | back to summary |
|---|---|
| private final StatisticType type | |
| AbstractSampledStatistic | back to summary |
|---|---|
| pack-priv AbstractSampledStatistic(ValueStatistic<T> source, ScheduledExecutorService executor, int historySize, long historyPeriod, TimeUnit historyTimeUnit, StatisticType type) Instantiates a new abstract statistic.
| |
| history | back to summary |
|---|---|
| public List Implements org. Doc from org. History.
| |
| history | back to summary |
|---|---|
| public List Implements org. Doc from org. History, from a given time in ms
| |
| setHistory | back to summary |
|---|---|
| pack-priv final void setHistory(int historySize, long historyPeriod, TimeUnit historyTimeUnit) 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. | |
| type | back to summary |
|---|---|
| public StatisticType type() Implements org.
| |
| value | back to summary |
|---|---|
| public T value() Implements org. Doc from org. Value.
| |