| Modifier and Type | Field and Description |
|---|---|
| private final OperationResultSampler | |
| private final AtomicReference |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public double | Returns: The average in microseconds or 0 if it does not exist yetImplements org. |
| public void | |
| public synchronized void | |
| public void | end(long time, long latency, T result)
Implements org. |
| public Long | |
| public Long |
| sampling | back to summary |
|---|---|
| private final OperationResultSampler<T> sampling | |
| statistic | back to summary |
|---|---|
| private final AtomicReference<LatencyAccumulator> statistic | |
| Jsr107LatencyMonitor | back to summary |
|---|---|
| public Jsr107LatencyMonitor(Set<T> targets, double sampling) | |
| average | back to summary |
|---|---|
| public double average() Implements org.
| |
| begin | back to summary |
|---|---|
| public void begin(long time) Implements org.
| |
| clear | back to summary |
|---|---|
| public synchronized void clear() | |
| end | back to summary |
|---|---|
| public void end(long time, long latency, T result) Implements org.
| |
| maximum | back to summary |
|---|---|
| public Long maximum() Implements org.
| |
| minimum | back to summary |
|---|---|
| public Long minimum() Implements org.
| |