Package com.helger.commons.statistics
Interface IStatisticsHandlerNumeric
- All Superinterfaces:
IStatisticsHandler
- All Known Subinterfaces:
IMutableStatisticsHandlerSize,IMutableStatisticsHandlerTimer,IStatisticsHandlerSize,IStatisticsHandlerTimer
- All Known Implementing Classes:
AbstractStatisticsHandlerNumeric,StatisticsHandlerSize,StatisticsHandlerTimer
Base interface for size and timer handler.
- Author:
- Philip Helger
-
Method Summary
Methods inherited from interface com.helger.commons.statistics.IStatisticsHandler
getInvocationCount
-
Method Details
-
getSum
- Returns:
- The sum of aggregated values.
-
getMin
- Returns:
- The smallest value. Returns
CGlobal.ILLEGAL_ULONGif the invocation count is 0.
-
getAverage
- Returns:
- The average value (=sum/invocationCount). Returns
CGlobal.ILLEGAL_ULONGif the invocation count is 0 to avoid a division by 0.
-
getMax
- Returns:
- The biggest value. Returns
CGlobal.ILLEGAL_ULONGif the invocation count is 0.
-