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

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

????4?
?
1??
?
1?
??	p?
1??
??@
1??
?	1??
?
???	1?
???
??
1?
?
1?
1?
1?
1?
?	p?
p?
1?
1?
1?	p?
??
1?
1?
1?	???
1?
??
???
???SleepingStopwatchInnerClasses	stopwatchALcom/google/common/util/concurrent/RateLimiter$SleepingStopwatch;mutexDoNotUseDirectlyLjava/lang/Object;RuntimeVisibleAnnotationsLjavax/annotation/CheckForNull;create2(D)Lcom/google/common/util/concurrent/RateLimiter;CodeLineNumberTableLocalVariableTablepermitsPerSecondDMethodParameterss(DLcom/google/common/util/concurrent/RateLimiter$SleepingStopwatch;)Lcom/google/common/util/concurrent/RateLimiter;rateLimiter/Lcom/google/common/util/concurrent/RateLimiter;RuntimeInvisibleAnnotations1Lcom/google/common/annotations/VisibleForTesting;F(DLjava/time/Duration;)Lcom/google/common/util/concurrent/RateLimiter;warmupPeriodLjava/time/Duration;R(DJLjava/util/concurrent/TimeUnit;)Lcom/google/common/util/concurrent/RateLimiter;JunitLjava/util/concurrent/TimeUnit;
StackMapTable?(DJLjava/util/concurrent/TimeUnit;DLcom/google/common/util/concurrent/RateLimiter$SleepingStopwatch;)Lcom/google/common/util/concurrent/RateLimiter;
coldFactormutex()Ljava/lang/Object;this?D(Lcom/google/common/util/concurrent/RateLimiter$SleepingStopwatch;)VsetRate(D)V	doSetRate(DJ)V	nowMicrosgetRate()D	doGetRateacquire8Lcom/google/errorprone/annotations/CanIgnoreReturnValue;(I)DpermitsImicrosToWaitreserve(I)J
tryAcquire(Ljava/time/Duration;)Ztimeout#(JLjava/util/concurrent/TimeUnit;)Z(I)Z()Z(ILjava/time/Duration;)Z$(IJLjava/util/concurrent/TimeUnit;)Z
timeoutMicros?
canAcquire(JJ)ZreserveAndGetWaitLength(IJ)JmomentAvailablequeryEarliestAvailable(J)JreserveEarliestAvailabletoString()Ljava/lang/String;checkPermits(I)V
SourceFileRateLimiter.javaCLcom/google/common/util/concurrent/ElementTypesAreNonnullByDefault;$Lcom/google/common/annotations/Beta;0Lcom/google/common/annotations/J2ktIncompatible;/Lcom/google/common/annotations/GwtIncompatible;??:B?@com/google/common/util/concurrent/SmoothRateLimiter$SmoothBurstySmoothBurstyU?WX????M:J%warmupPeriod must not be negative: %s???:OCcom/google/common/util/concurrent/SmoothRateLimiter$SmoothWarmingUpSmoothWarmingUpU?67java/lang/ObjectU????com/google/common/util/concurrent/RateLimiter$SleepingStopwatch45???rate must be positive??QR??YZ^]_aef???M?w{|stgn?M???qrvwxt??? RateLimiter[stableRate=%3.1fqps]\]?????'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)V*com/google/common/util/concurrent/InternaltoNanosSaturated(Ljava/time/Duration;)JNANOSECONDS$com/google/common/base/Preconditions
checkArgument(ZLjava/lang/String;J)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;valueOf(D)Ljava/lang/Double;java/lang/StringformatK(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;(ZLjava/lang/String;I)V!145B6789	:;<2&???=?>?@A?:B<W?Y,?N-&?-?=?
??> ?@45
CDA	?4EF	:G<@&,????=?>?@HIA	?H	:J<t 	???	 ?
& ??
?=????> ?@HKLMN
@A
?HL:O<}	?Y ?:&??=???>>?@HKLMP@45	CDA?HLP4EFQR<?/*?L+?'*YM?*?L+?*?Y?YL?,çN,?-?+?
%((+(="??	?
???#?-?>/SD*Q7N?#DT?UV<L*?*+????=???>SD45A4WX<?7'??'????*?YN?*'*???-ç
:-???,//3/=*6>7SD7?@N@?1T?A?YZA	?[\]<m*?YL?*?+ïM+?,?
=>SDN?1T^]_]<0*??=$>SDE`_a<b*?A*? ? ?k? 
?!?o?=234> SDbcdKAbE`ef<??"*?YM?**???#,íN,?-?=>?@A>SDbcN?1TAbgh<A
*+???$?=Q>
SD
iIAigj<F*-?$?=b> SDiKLMA	iLgk<>
*	?%?$?=p>
SD
bcAbgl<4
*	?%?$?=}>
SDgm<K
*,???$?=?> 
SD
bc
iIA	bign<F
S ?!	?&7?"*?Y:	?*??7
*
?'?	ì*
?#7	ç:	??*???0@1=@@E@=*
????!?,?1?:?H?Q?>R![K
:dKSSDSbcSiKSLMGoKHdKNA?1	1p?1pT?1pA
biLqr<[*?(!e????=?> SD[KoKN@A	[ost<]* ?)7 e	?&?=
??>*SDbc[K	uKA	b[vwA[xtA	b[yz<A?*+?Y*?,?-S?.?=?>SD
{|<I??/?0?=
??>bcN@Ab}~8E???312????




© 2015 - 2025 Weber Informatics LLC | Privacy Policy