com.google.common.util.concurrent.SmoothRateLimiter$SmoothWarmingUp.class Maven / Gradle / Ivy
???? 2 b A B
C
D E F G H?? I@ J? K
L M
N O P Q warmupPeriodMicros J slope D thresholdPermits
coldFactor S SleepingStopwatch InnerClasses e(Lcom/google/common/util/concurrent/RateLimiter$SleepingStopwatch;JLjava/util/concurrent/TimeUnit;D)V Code LineNumberTable LocalVariableTable this SmoothWarmingUp ELcom/google/common/util/concurrent/SmoothRateLimiter$SmoothWarmingUp; stopwatch ALcom/google/common/util/concurrent/RateLimiter$SleepingStopwatch; warmupPeriod timeUnit Ljava/util/concurrent/TimeUnit; doSetRate (DD)V permitsPerSecond stableIntervalMicros
oldMaxPermits coldIntervalMicros
StackMapTable P storedPermitsToWaitTime (DD)J permitsAboveThresholdToTake
storedPermits
permitsToTake availablePermitsAboveThreshold micros
permitsToTime (D)D permits coolDownIntervalMicros ()D
SourceFile SmoothRateLimiter.java T U X Y Z [ \ 6 ] ^ _ : ; . Ccom/google/common/util/concurrent/SmoothRateLimiter$SmoothWarmingUp 3com/google/common/util/concurrent/SmoothRateLimiter ` ?com/google/common/util/concurrent/RateLimiter$SleepingStopwatch java/lang/Double POSITIVE_INFINITY a {(Lcom/google/common/util/concurrent/RateLimiter$SleepingStopwatch;Lcom/google/common/util/concurrent/SmoothRateLimiter$1;)V java/util/concurrent/TimeUnit toMicros (J)J
maxPermits java/lang/Math min (DD)D -com/google/common/util/concurrent/RateLimiter 5com/google/common/util/concurrent/SmoothRateLimiter$1 0 u *+? * ? ? *? ? ! ? ? ? ? " 4 # % &