Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for reserveEarliestAvailable (0.13 seconds)

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

       *
       * @return the required wait time, never negative
       */
      final long reserveAndGetWaitLength(int permits, long nowMicros) {
        long momentAvailable = reserveEarliestAvailable(permits, nowMicros);
        return max(momentAvailable - nowMicros, 0);
      }
    
      /**
       * Returns the earliest time that permits are available (with one caveat).
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:05:27 GMT 2025
    - 21.8K bytes
    - Click Count (0)
Back to Top