Class RateLimiter.SleepingStopwatch

java.lang.Object
com.google.common.util.concurrent.RateLimiter.SleepingStopwatch
Enclosing class:
RateLimiter

abstract static class RateLimiter.SleepingStopwatch extends Object
  • Constructor Details

    • SleepingStopwatch

      protected SleepingStopwatch()
      Constructor for use by subclasses.
  • Method Details

    • readMicros

      protected abstract long readMicros()
    • sleepMicrosUninterruptibly

      protected abstract void sleepMicrosUninterruptibly(long micros)
    • createFromSystemTimer

      public static RateLimiter.SleepingStopwatch createFromSystemTimer()