Package com.helger.commons.statistics
Class StatisticsHandlerTimer
java.lang.Object
com.helger.commons.statistics.AbstractStatisticsHandlerNumeric
com.helger.commons.statistics.StatisticsHandlerTimer
- All Implemented Interfaces:
IMutableStatisticsHandlerTimer,IStatisticsHandler,IStatisticsHandlerNumeric,IStatisticsHandlerTimer
@ThreadSafe
public class StatisticsHandlerTimer
extends AbstractStatisticsHandlerNumeric
implements IMutableStatisticsHandlerTimer
Default implementation of
IMutableStatisticsHandlerTimer- Author:
- Philip Helger
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.helger.commons.statistics.AbstractStatisticsHandlerNumeric
addValue, getAverage, getInvocationCount, getMax, getMin, getSumMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.helger.commons.statistics.IStatisticsHandler
getInvocationCountMethods inherited from interface com.helger.commons.statistics.IStatisticsHandlerNumeric
getAverage, getMax, getMin, getSum
-
Constructor Details
-
StatisticsHandlerTimer
public StatisticsHandlerTimer()
-
-
Method Details
-
addTime
Description copied from interface:IMutableStatisticsHandlerTimerAdd a single execution time.- Specified by:
addTimein interfaceIMutableStatisticsHandlerTimer- Parameters:
nMillis- The milliseconds it took to execute something. Should not be negative.
-