Class RateCounter


  • @Deprecated(since="2021-05-27")
    public class RateCounter
    extends java.lang.Object
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
    Counts the rate that Longs are added to this from the time of creation or the last call to reset().
    • Constructor Summary

      Constructors 
      Constructor Description
      RateCounter()
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void add​(long l)
      Deprecated.
       
      long getRate()
      Deprecated.
       
      void reset()
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RateCounter

        public RateCounter()
        Deprecated.
    • Method Detail

      • add

        public void add​(long l)
        Deprecated.
      • getRate

        public long getRate()
        Deprecated.
      • reset

        public void reset()
        Deprecated.