@ThreadSafe public class StatisticsHandlerKeyedSize extends AbstractStatisticsHandlerKeyedNumeric implements IMutableStatisticsHandlerKeyedSize
IMutableStatisticsHandlerKeyedSize| Constructor and Description |
|---|
StatisticsHandlerKeyedSize() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSize(String sKey,
long nSize)
Add a new size
|
addValue, getAllKeys, getAverage, getInvocationCount, getInvocationCount, getMax, getMin, getSumclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAverage, getMax, getMin, getSumgetAllKeys, getInvocationCountgetInvocationCountpublic void addSize(@Nullable String sKey, @Nonnegative long nSize)
IMutableStatisticsHandlerKeyedSizeaddSize in interface IMutableStatisticsHandlerKeyedSizesKey - The key to be incremented.nSize - The size to be added. Must be ≥ 0 as sizes cannot be negative.Copyright © 2014–2022 Philip Helger. All rights reserved.