@ThreadSafe public class StatisticsHandlerKeyedTimer extends AbstractStatisticsHandlerKeyedNumeric implements IMutableStatisticsHandlerKeyedTimer
IMutableStatisticsHandlerKeyedTimer| Constructor and Description |
|---|
StatisticsHandlerKeyedTimer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTime(String sKey,
long nMillis)
Add a single execution time.
|
addValue, getAllKeys, getAverage, getInvocationCount, getInvocationCount, getMax, getMin, getSumclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAverage, getMax, getMin, getSumgetAllKeys, getInvocationCountgetInvocationCountpublic void addTime(@Nullable String sKey, @Nonnegative long nMillis)
IMutableStatisticsHandlerKeyedTimeraddTime in interface IMutableStatisticsHandlerKeyedTimersKey - The key to be incremented.nMillis - The milli seconds it took to execute something. Should not be
negative.Copyright © 2014–2019 Philip Helger. All rights reserved.