Package com.helger.commons.statistics
Interface IStatisticsHandlerKeyed
- All Superinterfaces:
IStatisticsHandler
- All Known Subinterfaces:
IMutableStatisticsHandlerKeyedCounter,IMutableStatisticsHandlerKeyedSize,IMutableStatisticsHandlerKeyedTimer,IStatisticsHandlerKeyedCounter,IStatisticsHandlerKeyedNumeric,IStatisticsHandlerKeyedSize,IStatisticsHandlerKeyedTimer
- All Known Implementing Classes:
AbstractStatisticsHandlerKeyedNumeric,StatisticsHandlerKeyedCounter,StatisticsHandlerKeyedSize,StatisticsHandlerKeyedTimer
Base interface for keyed statistic handlers
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptionintgetInvocationCount(String sKey) Get the invocation count for a single key.Methods inherited from interface com.helger.commons.statistics.IStatisticsHandler
getInvocationCount
-
Method Details
-
getAllKeys
- Returns:
- A collection of all keys that have a value assigned. Never
null.
-
getInvocationCount
Get the invocation count for a single key.- Parameters:
sKey- The key to be queried. May benull.- Returns:
- The invocation count for a single key or
CGlobal.ILLEGAL_UINTif no such key exists
-