@ThreadSafe public class StatisticsHandlerTimer extends AbstractStatisticsHandlerNumeric implements IMutableStatisticsHandlerTimer
IMutableStatisticsHandlerTimer| Constructor and Description |
|---|
StatisticsHandlerTimer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTime(long nMillis)
Add a single execution time.
|
addValue, getAverage, getInvocationCount, getMax, getMin, getSumclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAverage, getMax, getMin, getSumgetInvocationCountpublic void addTime(@Nonnegative long nMillis)
IMutableStatisticsHandlerTimeraddTime in interface IMutableStatisticsHandlerTimernMillis - The milliseconds it took to execute something. Should not be
negative.Copyright © 2014–2019 Philip Helger. All rights reserved.