| Modifier and Type | Field and Description |
|---|---|
| private volatile boolean | |
| private volatile long | |
| private final ConcurrentMap | |
| private final ScheduledExecutorService | |
| private volatile long | |
| private volatile int | |
| private final Map | |
| private final ConcurrentMap | |
| private final OperationStatistic | |
| private final Class |
| Access | Constructor and Description |
|---|---|
| public | CompoundOperationImpl(OperationStatistic<T>
the source source, Class<T> the type type, long the average period averagePeriod, TimeUnit the average unit averageUnit, ScheduledExecutorService the executor executor, int the history size historySize, long the history period historyPeriod, TimeUnit the history unit historyUnit)Instantiates a new compound operation impl. |
| alwaysOn | back to summary |
|---|---|
| private volatile boolean alwaysOn | |
| averageNanos | back to summary |
|---|---|
| private volatile long averageNanos | |
| compounds | back to summary |
|---|---|
| private final ConcurrentMap<Set<T>, OperationImpl<T>> compounds | |
| executor | back to summary |
|---|---|
| private final ScheduledExecutorService executor | |
| historyNanos | back to summary |
|---|---|
| private volatile long historyNanos | |
| historySize | back to summary |
|---|---|
| private volatile int historySize | |
| operations | back to summary |
|---|---|
| private final Map<T, OperationImpl<T>> operations | |
| ratios | back to summary |
|---|---|
| private final ConcurrentMap<List<Set<T>>, ExpiringStatistic<Double>> ratios | |
| source | back to summary |
|---|---|
| private final OperationStatistic<T> source | |
| type | back to summary |
|---|---|
| private final Class<T> type | |
| CompoundOperationImpl | back to summary |
|---|---|
| public CompoundOperationImpl(OperationStatistic<T> source, Class<T> type, long averagePeriod, TimeUnit averageUnit, ScheduledExecutorService executor, int historySize, long historyPeriod, TimeUnit historyUnit) Instantiates a new compound operation impl.
| |
| component | back to summary |
|---|---|
| public ExtendedStatistics. Implements net. Doc from net. Component.
| |
| compound | back to summary |
|---|---|
| public ExtendedStatistics. Implements net. Doc from net. Compound.
| |
| expire | back to summary |
|---|---|
| pack-priv boolean expire(long expiryTime) Expire.
| |
| getHistorySampleSize | back to summary |
|---|---|
| public int getHistorySampleSize() Implements net. Get the history sample size.
| |
| getHistorySampleTime | back to summary |
|---|---|
| public long getHistorySampleTime(TimeUnit unit) Implements net. Get the history sample time.
| |
| getWindowSize | back to summary |
|---|---|
| public long getWindowSize(TimeUnit unit) Implements net. Doc from net. Gets the window size. | |
| isAlwaysOn | back to summary |
|---|---|
| public boolean isAlwaysOn() Implements net. Doc from net. Checks if is always on.
| |
| ratioOf | back to summary |
|---|---|
| public ExtendedStatistics. Implements net. Doc from net. Ratio of. | |
| setAlwaysOn | back to summary |
|---|---|
| public void setAlwaysOn(boolean enable) Implements net. Doc from net. Sets the always on.
| |
| setHistory | back to summary |
|---|---|
| public void setHistory(int samples, long time, TimeUnit unit) Implements net. Doc from net. Sets the history. | |
| setWindow | back to summary |
|---|---|
| public void setWindow(long time, TimeUnit unit) Implements net. Doc from net. Sets the window. | |
| type | back to summary |
|---|---|
| public Class Implements net. Doc from net. Type. | |