All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.common.util.concurrent.RateLimiter.class Maven / Gradle / Ivy

The newest version!
????2?
y
/z|
~
/??
??
??@
/??

?	/?
?
???	/?
???
??
/?
?
/?
/?
/?
/?
?	??
??
/?
/?
/?	??
??
/?
/?
/?	???
/?
??
???
???SleepingStopwatchInnerClasses	stopwatchALcom/google/common/util/concurrent/RateLimiter$SleepingStopwatch;mutexDoNotUseDirectlyLjava/lang/Object;create2(D)Lcom/google/common/util/concurrent/RateLimiter;CodeLineNumberTableLocalVariableTablepermitsPerSecondDs(Lcom/google/common/util/concurrent/RateLimiter$SleepingStopwatch;D)Lcom/google/common/util/concurrent/RateLimiter;rateLimiter/Lcom/google/common/util/concurrent/RateLimiter;RuntimeInvisibleAnnotations1Lcom/google/common/annotations/VisibleForTesting;R(DJLjava/util/concurrent/TimeUnit;)Lcom/google/common/util/concurrent/RateLimiter;warmupPeriodJunitLjava/util/concurrent/TimeUnit;
StackMapTable?(Lcom/google/common/util/concurrent/RateLimiter$SleepingStopwatch;DJLjava/util/concurrent/TimeUnit;D)Lcom/google/common/util/concurrent/RateLimiter;
coldFactormutex()Ljava/lang/Object;this??D(Lcom/google/common/util/concurrent/RateLimiter$SleepingStopwatch;)VsetRate(D)V?	doSetRate(DJ)VgetRate()D	doGetRateacquire(I)DpermitsImicrosToWaitreserve(I)J
tryAcquire#(JLjava/util/concurrent/TimeUnit;)Ztimeout(I)Z()Z$(IJLjava/util/concurrent/TimeUnit;)Z	nowMicros
timeoutMicros?
canAcquire(JJ)ZreserveAndGetWaitLength(IJ)JmomentAvailablequeryEarliestAvailable(J)JreserveEarliestAvailabletoString()Ljava/lang/String;checkPermits(I)I
SourceFileRateLimiter.java(Ljavax/annotation/concurrent/ThreadSafe;$Lcom/google/common/annotations/Beta;??6=?@com/google/common/util/concurrent/SmoothRateLimiter$SmoothBurstySmoothBurstyO?QR%warmupPeriod must not be negative: %sjava/lang/Object??????6HCcom/google/common/util/concurrent/SmoothRateLimiter$SmoothWarmingUpSmoothWarmingUpO?45O????com/google/common/util/concurrent/RateLimiter$SleepingStopwatch23???rate must be positive??JK??TUXWYZ^_????F?ostkl`e?F???ijnopl??? RateLimiter[stableRate=%3.1fqps]VW?????'Requested permits (%s) must be positive???-com/google/common/util/concurrent/RateLimiterjava/lang/Throwablejava/util/concurrent/TimeUnitcreateFromSystemTimerC()Lcom/google/common/util/concurrent/RateLimiter$SleepingStopwatch;3com/google/common/util/concurrent/SmoothRateLimiterE(Lcom/google/common/util/concurrent/RateLimiter$SleepingStopwatch;D)Vjava/lang/LongvalueOf(J)Ljava/lang/Long;$com/google/common/base/Preconditions
checkArgument)(ZLjava/lang/String;[Ljava/lang/Object;)Ve(Lcom/google/common/util/concurrent/RateLimiter$SleepingStopwatch;JLjava/util/concurrent/TimeUnit;D)V()VcheckNotNull&(Ljava/lang/Object;)Ljava/lang/Object;java/lang/DoubleisNaN(D)Z(ZLjava/lang/Object;)V
readMicros()JsleepMicrosUninterruptibly(J)VSECONDStoMicrosMICROSECONDSjava/lang/Mathmax(JJ)Jjava/util/LocaleROOTLjava/util/Locale;(D)Ljava/lang/Double;java/lang/StringformatK(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;java/lang/Integer(I)Ljava/lang/Integer;!/23B45	6782?&??9?:;<6=8W?Y*?N-'?-?9?
??: 23;<
>?@A	6B8v) 	????Y ?S?	?& 
??9
??: );<)CD)EFG
@6H8|	?
Y*!?:'??9???:>23;<CDEFI<	>?@AJK8?/*?L+?'*YM?*?L+?*?Y?YL?,çN,?-?+?
%((+(9"??	?
???#?-?:/L?*J5G?#MMDN?OP8L*?*+????9???:L?23QR8?7'??'????*?YN?*'*???-ç
:-???,//3/9???*?6?:7L?7;<G@?SMN?TUVW8m*?YL?*?+ïM+?,?
9???:L?G?SMNXWYW80*??9:L?YZ8b*?A*? ? ?k?
??o?9: L?[\]D^_8? ? W*?YM?**???!,íN,?-?9 !"#: L? [\G?SMN`a8F*-?"?94: L?bDEF`c8>
*	?#?"?9C:
L?
[\`d84
*	?#?"?9Q:
L?`e8=
T ?	?$7? W*?Y:	?*??7
*
?%?	ì*
?!7	ç:	??*???1A2>AAFA9*
abde"f-g2i;kIlRm:H"fD
TL?T[\TbDTEFHgD;]DGA?2	ShM?ShMN?Shij8[*?&!e????9q: L?fDgDG@kl8]* ?'7 e	?$?9
z{:*L?[\fD	mDnoplqr8A?()?Y*?*?+S?,?9?:L?
st8T??-?Y?.S?	?9
??:[\G@uv@
wx1/0{}
{?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy