Class MinMaxAverageStats

java.lang.Object
org.teamapps.util.threading.MinMaxAverageStats

public class MinMaxAverageStats
extends java.lang.Object
Caution: You should use LongSummaryStatistics whenever 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

    Modifier and Type Method Description
    long getAvg()  
    long getCount()  
    long getMax()  
    long getMin()  
    MinMaxAverageStats push​(long time)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait