Class RateCounter

java.lang.Object
org.eclipse.jetty.util.statistic.RateCounter

public class RateCounter extends Object
Counts the rate that Longs are added to this from the time of creation or the last call to reset().
  • Constructor Details

    • RateCounter

      public RateCounter()
  • Method Details

    • add

      public void add(long l)
    • getRate

      public long getRate()
    • reset

      public void reset()