![JAR search and dependency download from the Maven repository](/logo.png)
com.google.common.util.concurrent.RateLimiter.class Maven / Gradle / Ivy
???? 4 ?
?com/google/common/util/concurrent/RateLimiter$SleepingStopwatch createFromSystemTimer C()Lcom/google/common/util/concurrent/RateLimiter$SleepingStopwatch;
-com/google/common/util/concurrent/RateLimiter create s(DLcom/google/common/util/concurrent/RateLimiter$SleepingStopwatch;)Lcom/google/common/util/concurrent/RateLimiter; @com/google/common/util/concurrent/SmoothRateLimiter$SmoothBursty
E(Lcom/google/common/util/concurrent/RateLimiter$SleepingStopwatch;D)V
setRate (D)V
*com/google/common/util/concurrent/Internal toNanosSaturated (Ljava/time/Duration;)J ! " java/util/concurrent/TimeUnit NANOSECONDS Ljava/util/concurrent/TimeUnit;
$ % R(DJLjava/util/concurrent/TimeUnit;)Lcom/google/common/util/concurrent/RateLimiter; ' %warmupPeriod must not be negative: %s
) * + , - $com/google/common/base/Preconditions
checkArgument (ZLjava/lang/String;J)V@
1 2 ?(DJLjava/util/concurrent/TimeUnit;DLcom/google/common/util/concurrent/RateLimiter$SleepingStopwatch;)Lcom/google/common/util/concurrent/RateLimiter; 4 Ccom/google/common/util/concurrent/SmoothRateLimiter$SmoothWarmingUp
3 6 7 e(Lcom/google/common/util/concurrent/RateLimiter$SleepingStopwatch;JLjava/util/concurrent/TimeUnit;D)V 9 : ; mutexDoNotUseDirectly Ljava/lang/Object; = java/lang/Object
<