Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

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

       * @return time in microseconds to wait until the resource can be acquired, never negative
       */
      final long reserve(int permits) {
        checkPermits(permits);
        synchronized (mutex()) {
          return reserveAndGetWaitLength(permits, stopwatch.readMicros());
        }
      }
    
      /**
       * Acquires a permit from this {@code RateLimiter} if it can be obtained without exceeding the
    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