Package com.helger.commons.statistics
Interface IStatisticsHandlerKeyedNumeric
- All Superinterfaces:
IStatisticsHandler,IStatisticsHandlerKeyed
- All Known Subinterfaces:
IMutableStatisticsHandlerKeyedSize,IMutableStatisticsHandlerKeyedTimer,IStatisticsHandlerKeyedSize,IStatisticsHandlerKeyedTimer
- All Known Implementing Classes:
AbstractStatisticsHandlerKeyedNumeric,StatisticsHandlerKeyedSize,StatisticsHandlerKeyedTimer
Base interface for size and timer handler.
- Author:
- Philip Helger
-
Method Summary
Methods inherited from interface com.helger.commons.statistics.IStatisticsHandler
getInvocationCountMethods inherited from interface com.helger.commons.statistics.IStatisticsHandlerKeyed
getAllKeys, getInvocationCount
-
Method Details
-
getSum
- Parameters:
sKey- The key to be queried.- Returns:
- The sum of aggregated values.
nullif no such key exists.
-
getMin
- Parameters:
sKey- The key to be queried.- Returns:
- The smallest value. Returns
CGlobal.ILLEGAL_ULONGif no such key exists.
-
getAverage
- Parameters:
sKey- The key to be queried.- Returns:
- The average value (=sum/invocationCount). Returns
CGlobal.ILLEGAL_ULONGif no such key exists.
-
getMax
- Parameters:
sKey- The key to be queried.- Returns:
- The biggest value. Returns
CGlobal.ILLEGAL_ULONGif no such key exists.
-