Class CountStatisticImpl

    • Method Detail

      • setCount

        public void setCount​(long count)
      • add

        public void add​(long amount)
      • increment

        public void increment()
      • subtract

        public void subtract​(long amount)
      • decrement

        public void decrement()
      • getPeriod

        public double getPeriod()
        Returns:
        the average time period that elapses between counter increments since the last reset.
      • getFrequency

        public double getFrequency()
        Returns:
        the number of times per second that the counter is incrementing since the last reset.