public class StatisticsManager extends ContextManager
ContextManager.Association, ContextManager.Dissociation| Constructor and Description |
|---|
StatisticsManager() |
associate, deregisterContextCreationListener, deregisterContextListener, dissociate, nodeFor, query, queryForSingleton, registerContextCreationListener, registerContextListener, root, uprootpublic static <T extends Enum<T>> OperationObserver<T> createOperationStatistic(Object context, String name, Set<String> tags, Class<T> eventTypes)
public static <T extends Enum<T>> OperationObserver<T> createOperationStatistic(Object context, String name, Set<String> tags, Map<String,? extends Object> properties, Class<T> resultType)
public static <T extends Enum<T>> OperationStatistic<T> getOperationStatisticFor(OperationObserver<T> observer)
public static <T extends Serializable> void createPassThroughStatistic(Object context, String name, Set<String> tags, StatisticType type, Supplier<T> source)
public static <T extends Serializable> void createPassThroughStatistic(Object context, String name, Set<String> tags, ValueStatistic<T> source)
public static <T extends Serializable> void createPassThroughStatistic(Object context, String name, Set<String> tags, Map<String,? extends Object> properties, StatisticType type, Supplier<T> source)
public static <T extends Serializable> void createPassThroughStatistic(Object context, String name, Set<String> tags, Map<String,? extends Object> properties, ValueStatistic<T> source)
public static void removePassThroughStatistics(Object context)
Copyright © 2018. All rights reserved.