| Modifier and Type | Field and Description |
|---|---|
| private volatile boolean | |
| private volatile long | |
| private volatile TimeUnit | |
| private final ConcurrentMap | |
| private final ScheduledExecutorService | |
| private volatile long | |
| private volatile int | |
| private volatile TimeUnit | |
| 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 averageTimeUnit, ScheduledExecutorService the executor executor, int the history size historySize, long the history period historyPeriod, TimeUnit the history unit historyTimeUnit)Instantiates a new compound operation impl. |
| alwaysOn | back to summary |
|---|---|
| private volatile boolean alwaysOn | |
| averagePeriod | back to summary |
|---|---|
| private volatile long averagePeriod | |
| averageTimeUnit | back to summary |
|---|---|
| private volatile TimeUnit averageTimeUnit | |
| compounds | back to summary |
|---|---|
| private final ConcurrentMap<Set<T>, ResultImpl<T>> compounds | |
| executor | back to summary |
|---|---|
| private final ScheduledExecutorService executor | |
| historyPeriod | back to summary |
|---|---|
| private volatile long historyPeriod | |
| historySize | back to summary |
|---|---|
| private volatile int historySize | |
| historyTimeUnit | back to summary |
|---|---|
| private volatile TimeUnit historyTimeUnit | |
| operations | back to summary |
|---|---|
| private final Map<T, ResultImpl<T>> operations | |
| ratios | back to summary |
|---|---|
| private final ConcurrentMap<List<Set<T>>, ExpiringSampledStatistic<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 averageTimeUnit, ScheduledExecutorService executor, int historySize, long historyPeriod, TimeUnit historyTimeUnit) Instantiates a new compound operation impl.
| |
| asCountOperation | back to summary |
|---|---|
| public CountOperation Implements org. Doc from org. Count operation.
| |
| component | back to summary |
|---|---|
| public Result component(T result) Implements org. Doc from org. Component. | |
| compound | back to summary |
|---|---|
| public Result compound(EnumSet<T> results) Implements org. Doc from org. Compound. | |
| expire | back to summary |
|---|---|
| public boolean expire(long expiryTime) Implements org. Expire.
| |
| getHistorySampleSize | back to summary |
|---|---|
| public int getHistorySampleSize() Implements org. Get the history sample size.
| |
| getHistorySampleTime | back to summary |
|---|---|
| public long getHistorySampleTime(TimeUnit unit) Implements org. Get the history sample time.
| |
| getWindowSize | back to summary |
|---|---|
| public long getWindowSize(TimeUnit unit) Implements org. Doc from org. Gets the window size. | |
| isAlwaysOn | back to summary |
|---|---|
| public boolean isAlwaysOn() Implements org. Doc from org. Checks if is always on.
| |
| ratioOf | back to summary |
|---|---|
| public SampledStatistic Implements org. Doc from org. Ratio of.
| |
| setAlwaysOn | back to summary |
|---|---|
| public void setAlwaysOn(boolean enable) Implements org. Doc from org. Sets the always on.
| |
| setHistory | back to summary |
|---|---|
| public void setHistory(int samples, long time, TimeUnit unit) Implements org. Doc from org. Sets the history. | |
| setWindow | back to summary |
|---|---|
| public void setWindow(long time, TimeUnit unit) Implements org. Doc from org. Sets the window. | |
| type | back to summary |
|---|---|
| public Class Implements org. Doc from org. Type. | |