Package com.helger.commons.statistics
Interface IMutableStatisticsHandlerKeyedSize
-
- All Superinterfaces:
IStatisticsHandler,IStatisticsHandlerKeyed,IStatisticsHandlerKeyedNumeric,IStatisticsHandlerKeyedSize
- All Known Implementing Classes:
StatisticsHandlerKeyedSize
public interface IMutableStatisticsHandlerKeyedSize extends IStatisticsHandlerKeyedSize
Statistics handler for keyed sizes.- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddSize(String sKey, long nSize)Add a new size-
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
-
addSize
void addSize(@Nullable String sKey, @Nonnegative long nSize)
Add a new size- Parameters:
sKey- The key to be incremented.nSize- The size to be added. Must be ≥ 0 as sizes cannot be negative.
-
-