Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sleepMicrosUninterruptibly (0.18 sec)

  1. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

       * @since 16.0 (present in 13.0 with {@code void} return type})
       */
      @CanIgnoreReturnValue
      public double acquire(int permits) {
        long microsToWait = reserve(permits);
        stopwatch.sleepMicrosUninterruptibly(microsToWait);
        return 1.0 * microsToWait / SECONDS.toMicros(1L);
      }
    
      /**
       * Reserves the given number of permits from this {@code RateLimiter} for future use, returning
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
Back to top