Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SmoothBursty (0.12 sec)

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

       * seconds, we can save up to 2 * 10 = 20 permits.
       */
      static final class SmoothBursty extends SmoothRateLimiter {
        /** The work (permits) of how many seconds can be saved up if this RateLimiter is unused? */
        final double maxBurstSeconds;
    
        SmoothBursty(SleepingStopwatch stopwatch, double maxBurstSeconds) {
          super(stopwatch);
          this.maxBurstSeconds = maxBurstSeconds;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.base.Stopwatch;
    import com.google.common.util.concurrent.SmoothRateLimiter.SmoothBursty;
    import com.google.common.util.concurrent.SmoothRateLimiter.SmoothWarmingUp;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.time.Duration;
    import java.util.Locale;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/RateLimiter.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.base.Stopwatch;
    import com.google.common.util.concurrent.SmoothRateLimiter.SmoothBursty;
    import com.google.common.util.concurrent.SmoothRateLimiter.SmoothWarmingUp;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.time.Duration;
    import java.util.Locale;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top