| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final EventParameterSimpleMovingAverage | |
| private final SampledStatisticImpl | |
| private final LatencySampling | |
| private final SampledStatisticImpl | |
| private final SampledStatisticImpl | |
| private final SourceStatistic | |
| private long |
| Access | Constructor and Description |
|---|---|
| public | LatencyImpl(OperationStatistic<T>
the statistic statistic, Set<T> the targets targets, long the average period averagePeriod, TimeUnit the average time unit averageTimeUnit, ScheduledExecutorService the executor executor, int the history size historySize, long the history period historyPeriod, TimeUnit the history time unit historyTimeUnit)Instantiates a new latency impl. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public SampledStatistic | |
| public synchronized boolean | |
| public SampledStatistic | |
| public SampledStatistic | |
| pack-priv void | setHistory(int
the history size historySize, long the history period historyPeriod, TimeUnit the history unit historyTimeUnit)Sets the history. |
| pack-priv void | |
| pack-priv synchronized void | |
| pack-priv synchronized void |
| active | back to summary |
|---|---|
| private boolean active | |
| average | back to summary |
|---|---|
| private final EventParameterSimpleMovingAverage average | |
| averageStatistic | back to summary |
|---|---|
| private final SampledStatisticImpl<Double> averageStatistic | |
| latencySampler | back to summary |
|---|---|
| private final LatencySampling<T> latencySampler | |
| maximumStatistic | back to summary |
|---|---|
| private final SampledStatisticImpl<Long> maximumStatistic | |
| minimumStatistic | back to summary |
|---|---|
| private final SampledStatisticImpl<Long> minimumStatistic | |
| source | back to summary |
|---|---|
| private final SourceStatistic<ChainedOperationObserver<? super T>> source | |
| touchTimestamp | back to summary |
|---|---|
| private long touchTimestamp | |
| LatencyImpl | back to summary |
|---|---|
| public LatencyImpl(OperationStatistic<T> statistic, Set<T> targets, long averagePeriod, TimeUnit averageTimeUnit, ScheduledExecutorService executor, int historySize, long historyPeriod, TimeUnit historyTimeUnit) Instantiates a new latency impl.
| |
| active | back to summary |
|---|---|
| public boolean active() | |
| average | back to summary |
|---|---|
| public SampledStatistic Implements org. Get the average.
| |
| expire | back to summary |
|---|---|
| public synchronized boolean expire(long expiry) Expire.
| |
| maximum | back to summary |
|---|---|
| public SampledStatistic Implements org. Get the maximum.
| |
| minimum | back to summary |
|---|---|
| public SampledStatistic Implements org. Get the minimum
| |
| 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 synchronized void start() Start. | |
| touch | back to summary |
|---|---|
| pack-priv synchronized void touch() | |