Package org.teamapps.util.threading
Class MinMaxAverageStats
- java.lang.Object
-
- org.teamapps.util.threading.MinMaxAverageStats
-
public class MinMaxAverageStats extends java.lang.ObjectCaution: You should useLongSummaryStatisticswhenever you can. The only advantage of this class is it being immutable.
-
-
Constructor Summary
Constructors Constructor Description MinMaxAverageStats()MinMaxAverageStats(long min, long max, long total, long count)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetAvg()longgetCount()longgetMax()longgetMin()MinMaxAverageStatspush(long time)
-
-
-
Method Detail
-
push
public MinMaxAverageStats push(long time)
-
getMin
public long getMin()
-
getMax
public long getMax()
-
getAvg
public long getAvg()
-
getCount
public long getCount()
-
-