Class DescriptiveStatisticsHistogram

    • Constructor Detail

      • DescriptiveStatisticsHistogram

        public DescriptiveStatisticsHistogram​(int windowSize)
    • Method Detail

      • update

        public void update​(long value)
        Description copied from interface: Histogram
        Update the histogram with the given value.
        Specified by:
        update in interface Histogram
        Parameters:
        value - Value to update the histogram with
      • getCount

        public long getCount()
        Description copied from interface: Histogram
        Get the count of seen elements.
        Specified by:
        getCount in interface Histogram
        Returns:
        Count of seen elements
      • getStatistics

        public HistogramStatistics getStatistics()
        Description copied from interface: Histogram
        Create statistics for the currently recorded elements.
        Specified by:
        getStatistics in interface Histogram
        Returns:
        Statistics about the currently recorded elements