| Modifier and Type | Field and Description |
|---|---|
| private final SemiExpiringSampledStatistic | count
The count. |
| private final LatencyImpl | latency
The latency. |
| private final RateImpl | rate
The rate. |
| Access | Constructor and Description |
|---|---|
| public | ResultImpl(OperationStatistic<T>
the source source, Set<T> the targets targets, long the average period averagePeriod, TimeUnit averageTimeUnit, ScheduledExecutorService the executor executor, int the history size historySize, long the history period historyPeriod, TimeUnit historyTimeUnit)Instantiates a new operation impl. |
| Modifier and Type | Method and Description |
|---|---|
| public SampledStatistic | |
| pack-priv boolean | |
| public Latency | |
| public SampledStatistic | |
| pack-priv void | setHistory(int
the history size historySize, long the history period historyPeriod, TimeUnit historyTimeUnit)Sets the history. |
| pack-priv void | |
| pack-priv void |
| count | back to summary |
|---|---|
| private final SemiExpiringSampledStatistic<Long> count The count. | |
| latency | back to summary |
|---|---|
| private final LatencyImpl<T> latency The latency. | |
| rate | back to summary |
|---|---|
| private final RateImpl<T> rate The rate. | |
| ResultImpl | back to summary |
|---|---|
| public ResultImpl(OperationStatistic<T> source, Set<T> targets, long averagePeriod, TimeUnit averageTimeUnit, ScheduledExecutorService executor, int historySize, long historyPeriod, TimeUnit historyTimeUnit) Instantiates a new operation impl.
| |
| count | back to summary |
|---|---|
| public SampledStatistic Implements org. Doc from org. Count.
| |
| expire | back to summary |
|---|---|
| pack-priv boolean expire(long expiryTime) Expire.
| |
| latency | back to summary |
|---|---|
| public Latency latency() throws UnsupportedOperationException Implements org. Doc from org. Latency. | |
| rate | back to summary |
|---|---|
| public SampledStatistic Implements org. Doc from org. Rate.
| |
| setHistory | back to summary |
|---|---|
| pack-priv void setHistory(int historySize, long historyPeriod, TimeUnit historyTimeUnit) Sets the history.
| |
| setWindow | back to summary |
|---|---|
| pack-priv void setWindow(long averagePeriod, TimeUnit averageTimeUnit) Sets the window.
| |
| start | back to summary |
|---|---|
| pack-priv void start() Start. | |