Package com.helger.commons.statistics
Interface IMutableStatisticsHandlerKeyedTimer
-
- All Superinterfaces:
IStatisticsHandler,IStatisticsHandlerKeyed,IStatisticsHandlerKeyedNumeric,IStatisticsHandlerKeyedTimer
- All Known Implementing Classes:
StatisticsHandlerKeyedTimer
public interface IMutableStatisticsHandlerKeyedTimer extends IStatisticsHandlerKeyedTimer
Statistics handler for keyed timer.- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddTime(String sKey, long nMillis)Add a single execution time.-
Methods inherited from interface com.helger.commons.statistics.IStatisticsHandler
getInvocationCount
-
Methods inherited from interface com.helger.commons.statistics.IStatisticsHandlerKeyed
getAllKeys, getInvocationCount
-
Methods inherited from interface com.helger.commons.statistics.IStatisticsHandlerKeyedNumeric
getAverage, getMax, getMin, getSum
-
-
-
-
Method Detail
-
addTime
void addTime(@Nullable String sKey, @Nonnegative long nMillis)
Add a single execution time.- Parameters:
sKey- The key to be incremented.nMillis- The milli seconds it took to execute something. Should not be negative.
-
-