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