| Modifier and Type | Class and Description |
|---|---|
| private static interface |
| Modifier and Type | Field and Description |
|---|---|
| private final long | |
| private final TimeUnit | |
| private final Object | |
| private volatile ScheduledFuture | |
| private final Runnable | |
| private final ScheduledExecutorService | |
| private final long | |
| private final TimeUnit | |
| private final int | |
| private final Map | |
| private volatile long | |
| private volatile TimeUnit |
| Access | Constructor and Description |
|---|---|
| public | StatisticsRegistry(Object contextObject, ScheduledExecutorService executor, long averageWindowDuration, TimeUnit averageWindowUnit, int historySize, long historyInterval, TimeUnit historyIntervalUnit, long timeToDisable, TimeUnit timeToDisableUnit)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private <T extends Enum | |
| private Runnable | |
| private static <T extends Enum | |
| public SampledStatistic | |
| public SampledStatistic | |
| private static <N extends Number> Map | |
| public Map | |
| public <T extends Enum | registerCompoundOperations(String name, OperationStatisticDescriptor<T> descriptor, EnumSet<T> compound)
|
| public void | |
| public <T extends Enum | registerRatios(String name, OperationStatisticDescriptor<T> descriptor, EnumSet<T> ratioNumerator, EnumSet<T> ratioDenominator)
|
| public void | |
| private <N extends Number> void | registerStatistic(String name, ValueStatisticDescriptor descriptor, StatisticType type, StatisticsRegistry.
|
| public synchronized void | |
| public synchronized void |
| averageWindowDuration | back to summary |
|---|---|
| private final long averageWindowDuration | |
| averageWindowUnit | back to summary |
|---|---|
| private final TimeUnit averageWindowUnit | |
| contextObject | back to summary |
|---|---|
| private final Object contextObject | |
| disableStatus | back to summary |
|---|---|
| private volatile ScheduledFuture<?> disableStatus | |
| disableTask | back to summary |
|---|---|
| private final Runnable disableTask | |
| executor | back to summary |
|---|---|
| private final ScheduledExecutorService executor | |
| historyInterval | back to summary |
|---|---|
| private final long historyInterval | |
| historyIntervalUnit | back to summary |
|---|---|
| private final TimeUnit historyIntervalUnit | |
| historySize | back to summary |
|---|---|
| private final int historySize | |
| registrations | back to summary |
|---|---|
| private final Map<String, RegisteredStatistic> registrations | |
| timeToDisable | back to summary |
|---|---|
| private volatile long timeToDisable | |
| timeToDisableUnit | back to summary |
|---|---|
| private volatile TimeUnit timeToDisableUnit | |
| StatisticsRegistry | back to summary |
|---|---|
| public StatisticsRegistry(Object contextObject, ScheduledExecutorService executor, long averageWindowDuration, TimeUnit averageWindowUnit, int historySize, long historyInterval, TimeUnit historyIntervalUnit, long timeToDisable, TimeUnit timeToDisableUnit) | |
| clearRegistrations | back to summary |
|---|---|
| public void clearRegistrations() | |
| createCompoundOperations | back to summary |
|---|---|
private <T extends Enum
| |
| createDisableTask | back to summary |
|---|---|
| private Runnable createDisableTask() | |
| findOperationStatistics | back to summary |
|---|---|
private static <T extends Enum
| |
| findSampledCompoundStatistic | back to summary |
|---|---|
| public SampledStatistic | |
| findSampledStatistic | back to summary |
|---|---|
| public SampledStatistic | |
| findValueStatistics | back to summary |
|---|---|
private static <N extends Number> Map
| |
| getRegistrations | back to summary |
|---|---|
| public Map | |
| registerCompoundOperations | back to summary |
|---|---|
| public <T extends Enum | |
| registerCounter | back to summary |
|---|---|
| public void registerCounter(String name, ValueStatisticDescriptor descriptor) | |
| registerRatios | back to summary |
|---|---|
| public <T extends Enum | |
| registerSize | back to summary |
|---|---|
| public void registerSize(String name, ValueStatisticDescriptor descriptor) | |
| registerStatistic | back to summary |
|---|---|
| private <N extends Number> void registerStatistic(String name, ValueStatisticDescriptor descriptor, StatisticType type, StatisticsRegistry. | |
| setAlwaysOn | back to summary |
|---|---|
| public synchronized void setAlwaysOn(boolean enabled) | |
| setTimeToDisable | back to summary |
|---|---|
| public synchronized void setTimeToDisable(long time, TimeUnit unit) | |
| Modifier and Type | Method and Description |
|---|---|
| public R |
| apply | back to summary |
|---|---|
| public R apply(T t) | |