Class RateLimiterStats.Stopwatch

  • Enclosing class:
    RateLimiterStats

    static class RateLimiterStats.Stopwatch
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private long startTime  
    • Constructor Summary

      Constructors 
      Constructor Description
      Stopwatch()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) long elapsedNanos()  
      (package private) void reset()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • startTime

        private long startTime
    • Constructor Detail

      • Stopwatch

        Stopwatch()
    • Method Detail

      • elapsedNanos

        long elapsedNanos()
      • reset

        void reset()