Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for queryEarliestAvailable (0.07 seconds)

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

          }
        }
        stopwatch.sleepMicrosUninterruptibly(microsToWait);
        return true;
      }
    
      private boolean canAcquire(long nowMicros, long timeoutMicros) {
        return queryEarliestAvailable(nowMicros) - timeoutMicros <= nowMicros;
      }
    
      /**
       * Reserves next ticket and returns the wait time that the caller must wait for.
       *
       * @return the required wait time, never negative
       */
    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