| Modifier and Type | Field and Description |
|---|---|
| private final AtomicReference | |
| private final Queue | |
| private static final int | |
| private final long | |
| private final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public final double | |
| public void | event(long
the clock at event completion in ns timeNs, long the event latency in ns latencyNs)Implements org. |
| public final Long | |
| public final Long |
| activePartition | back to summary |
|---|---|
| private final AtomicReference<LatencyPeriodAccumulator> activePartition | |
| archive | back to summary |
|---|---|
| private final Queue<LatencyPeriodAccumulator> archive | |
| PARTITION_COUNT | back to summary |
|---|---|
| private static final int PARTITION_COUNT | |
| partitionSize | back to summary |
|---|---|
| private final long partitionSize | |
| windowSize | back to summary |
|---|---|
| private final long windowSize | |
| LatencySimpleMovingAverage | back to summary |
|---|---|
| public LatencySimpleMovingAverage(long time, TimeUnit unit) | |
| LatencySimpleMovingAverage | back to summary |
|---|---|
| public LatencySimpleMovingAverage(long time, TimeUnit unit, int partitionCount) | |
| archive | back to summary |
|---|---|
| private void archive(LatencyPeriodAccumulator partition) | |
| average | back to summary |
|---|---|
| public final double average() Implements org.
| |
| event | back to summary |
|---|---|
| public void event(long timeNs, long latencyNs) Implements org. Doc from org. Called to indicate an event happened.
| |
| maximum | back to summary |
|---|---|
| public final Long maximum() Implements org.
| |
| minimum | back to summary |
|---|---|
| public final Long minimum() Implements org.
| |