![JAR search and dependency download from the Maven repository](/logo.png)
com.google.common.util.concurrent.SmoothRateLimiter$SmoothWarmingUp.class Maven / Gradle / Ivy
???? 4 _
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; MethodParameters doSetRate (DD)V permitsPerSecond stableIntervalMicros
oldMaxPermits coldIntervalMicros
StackMapTable storedPermitsToWaitTime (DD)J permitsAboveThresholdToTake length
storedPermits
permitsToTake availablePermitsAboveThreshold micros
permitsToTime (D)D permits coolDownIntervalMicros ()D
SourceFile SmoothRateLimiter.java U V W X Y java/lang/Double 7 Z [ \ ; < / Ccom/google/common/util/concurrent/SmoothRateLimiter$SmoothWarmingUp 3com/google/common/util/concurrent/SmoothRateLimiter ] ?com/google/common/util/concurrent/RateLimiter$SleepingStopwatch ^ {(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 # % &