Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for throttle (0.14 sec)

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

       * allow in normal conditions. This is enforced by "throttling" incoming requests as needed. For
       * example, we could compute the appropriate throttle time for an incoming request, and make the
       * calling thread wait for that time.
       *
       * The simplest way to maintain a rate of QPS is to keep the timestamp of the last granted
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

      }
    
      /**
       * Updates the stable rate of this {@code RateLimiter}, that is, the {@code permitsPerSecond}
       * argument provided in the factory method that constructed the {@code RateLimiter}. Currently
       * throttled threads will <b>not</b> be awakened as a result of this invocation, thus they do not
       * observe the new rate; only subsequent requests will.
       *
    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