Interface SimpleStat

  • All Known Implementing Classes:
    DefaultSimpleStat

    public interface SimpleStat
    A simple statistic recorder that computes the average, minimum and maximum value observed.
    Since:
    9.4
    Author:
    Pedro Ruivo
    • Method Detail

      • record

        default void record​(long value)
      • getMin

        default long getMin​(long defaultValue)
      • getMax

        default long getMax​(long defaultValue)
      • getAverage

        default long getAverage​(long defaultValue)
      • count

        default long count()
      • isEmpty

        default boolean isEmpty()