| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private final AtomicReference | |
| private final Queue | |
| private static final int | |
| private volatile long | |
| private volatile long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | event(long
the clock at event completion in ns time, long the event latency in ns latency)Implements org. |
| public Double | |
| public Double | |
| public void | |
| public StatisticType | |
| public Double |
| activePartition | back to summary |
|---|---|
| private final AtomicReference<EventRateSimpleMovingAverage. | |
| archive | back to summary |
|---|---|
| private final Queue<EventRateSimpleMovingAverage. | |
| PARTITION_COUNT | back to summary |
|---|---|
| private static final int PARTITION_COUNT | |
| partitionSize | back to summary |
|---|---|
| private volatile long partitionSize | |
| windowSize | back to summary |
|---|---|
| private volatile long windowSize | |
| EventRateSimpleMovingAverage | back to summary |
|---|---|
| public EventRateSimpleMovingAverage(long time, TimeUnit unit) | |
| archive | back to summary |
|---|---|
| private void archive(EventRateSimpleMovingAverage. | |
| event | back to summary |
|---|---|
| public void event(long time, long latency) Implements org. Doc from org. Called to indicate an event happened.
| |
| rate | back to summary |
|---|---|
| public Double rate(TimeUnit base) | |
| rateUsingSeconds | back to summary |
|---|---|
| public Double rateUsingSeconds() | |
| setWindow | back to summary |
|---|---|
| public void setWindow(long time, TimeUnit unit) | |
| type | back to summary |
|---|---|
| public StatisticType type() Implements org.
| |
| value | back to summary |
|---|---|
| public Double value() Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final long | |
| private static final long | |
| private final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public boolean | |
| public long | |
| public boolean |
| end | back to summary |
|---|---|
| private final long end | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| start | back to summary |
|---|---|
| private final long start | |
| CounterPartition | back to summary |
|---|---|
| pack-priv CounterPartition(long start, long length) | |
| end | back to summary |
|---|---|
| public long end() | |
| isBefore | back to summary |
|---|---|
| public boolean isBefore(long time) | |
| start | back to summary |
|---|---|
| public long start() | |
| targetFor | back to summary |
|---|---|
| public boolean targetFor(long time) | |