|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||
See:
Description
| Interface Summary | |
|---|---|
| PauseDetectorListener | Accepts pause notification events. |
| Class Summary | |
|---|---|
| IntervalEstimator | IntervalEstimator is used to estimate intervalEndTimes, potentially based on observed intervalEndTimes recorded in it. |
| LatencyStats | LatencyStats objects are used to track the behavior of latencies recorded using LatencyStats.recordLatency(long)). |
| LatencyStats.Builder | A fluent API builder class for creating LatencyStats objects. |
| MovingAverageIntervalEstimator | A moving average interval estimator. |
| PauseDetector | A PauseDetector detects pauses and reports them to registered listeners |
| SimplePauseDetector | A Simple PauseDetector that detects pauses using a consensus observation across a configurable number of detection thread. |
| TimeCappedMovingAverageIntervalEstimator | A moving average interval estimator with a cap on the time window length that the moving window must completely fit in in order to provide estimated intervalEndTimes. |
| TimeServices | Provide an API for time-related service, such as getting the current time and waiting for a given period of time. |
| TimeServices.ScheduledExecutor | |
The LatencyUtils package includes useful utilities for tracking latencies. Especially in common in-process recording scenarios, which can exhibit significant coordinated omission sensitivity without proper handling.
The problem with this extremely common form of latency behavior tracking is that whenever pauses occur in the system, latency statistics become significantly skewed toward falsely-optimistic values. This occurs in two key ways:
LatencyStats class is designed for simple, drop-in use as a latency behavior recording object
in common in-process latency recording and tracking situations. LatencyStats includes under-the-hood tracking
and correction of pause effects, compensating for coordinated omission. It does so by using pluggable
pause detectors and interval estimators that together with LatencyStats will transparently produce
corrected histogram values for the recorded latency behavior.
|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||