Package com.helger.commons.statistics
Class StatisticsManager
java.lang.Object
com.helger.commons.statistics.StatisticsManager
Provides a central manager for the internal statistics.
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic ICommonsSet<String> static ICommonsSet<String> static ICommonsSet<String> static ICommonsSet<String> static ICommonsSet<String> static ICommonsSet<String> static ICommonsSet<String> getCacheHandler(Class<?> aClass) getCacheHandler(String sName) getCounterHandler(Class<?> aClass) getCounterHandler(String sName) getKeyedCounterHandler(Class<?> aClass) getKeyedCounterHandler(String sName) getKeyedSizeHandler(Class<?> aClass) getKeyedSizeHandler(String sName) getKeyedTimerHandler(Class<?> aClass) getKeyedTimerHandler(String sName) getSizeHandler(Class<?> aClass) getSizeHandler(String sName) getTimerHandler(Class<?> aClass) getTimerHandler(String sName)
-
Method Details
-
getCacheHandler
-
getCacheHandler
@Nonnull public static IMutableStatisticsHandlerCache getCacheHandler(@Nonnull @Nonempty String sName) -
getAllCacheHandler
-
getTimerHandler
-
getTimerHandler
@Nonnull public static IMutableStatisticsHandlerTimer getTimerHandler(@Nonnull @Nonempty String sName) -
getAllTimerHandler
-
getKeyedTimerHandler
@Nonnull public static IMutableStatisticsHandlerKeyedTimer getKeyedTimerHandler(@Nonnull Class<?> aClass) -
getKeyedTimerHandler
@Nonnull public static IMutableStatisticsHandlerKeyedTimer getKeyedTimerHandler(@Nonnull @Nonempty String sName) -
getAllKeyedTimerHandler
-
getSizeHandler
-
getSizeHandler
@Nonnull public static IMutableStatisticsHandlerSize getSizeHandler(@Nonnull @Nonempty String sName) -
getAllSizeHandler
-
getKeyedSizeHandler
@Nonnull public static IMutableStatisticsHandlerKeyedSize getKeyedSizeHandler(@Nonnull Class<?> aClass) -
getKeyedSizeHandler
@Nonnull public static IMutableStatisticsHandlerKeyedSize getKeyedSizeHandler(@Nonnull @Nonempty String sName) -
getAllKeyedSizeHandler
-
getCounterHandler
-
getCounterHandler
@Nonnull public static IMutableStatisticsHandlerCounter getCounterHandler(@Nonnull @Nonempty String sName) -
getAllCounterHandler
-
getKeyedCounterHandler
@Nonnull public static IMutableStatisticsHandlerKeyedCounter getKeyedCounterHandler(@Nonnull Class<?> aClass) -
getKeyedCounterHandler
@Nonnull public static IMutableStatisticsHandlerKeyedCounter getKeyedCounterHandler(@Nonnull @Nonempty String sName) -
getAllKeyedCounterHandler
-
clearCache
public static void clearCache()
-