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

com.groupbyinc.flux.common.http.pool.AbstractConnPool.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????25com/groupbyinc/flux/common/http/pool/AbstractConnPool?;>Ljava/lang/Object;Lcom/groupbyinc/flux/common/http/pool/ConnPool;Lcom/groupbyinc/flux/common/http/pool/ConnPoolControl;java/lang/Object-com/groupbyinc/flux/common/http/pool/ConnPool4com/groupbyinc/flux/common/http/pool/ConnPoolControlAbstractConnPool.java5Lcom/groupbyinc/flux/common/http/annotation/Contract;	threading>Lcom/groupbyinc/flux/common/http/annotation/ThreadingBehavior;SAFE_CONDITIONAL7com/groupbyinc/flux/common/http/pool/AbstractConnPool$47com/groupbyinc/flux/common/http/pool/AbstractConnPool$37com/groupbyinc/flux/common/http/pool/AbstractConnPool$27com/groupbyinc/flux/common/http/pool/AbstractConnPool$1java/util/Map$Entry
java/util/MapEntrylock!Ljava/util/concurrent/locks/Lock;connFactory2Lcom/groupbyinc/flux/common/http/pool/ConnFactory;:Lcom/groupbyinc/flux/common/http/pool/ConnFactory;routeToPoolLjava/util/Map;WLjava/util/Map;>;leasedLjava/util/Set;Ljava/util/Set;	availableLjava/util/LinkedList;Ljava/util/LinkedList;pendingSLjava/util/LinkedList;>;maxPerRoute'Ljava/util/Map;
isShutDownZdefaultMaxPerRouteImaxTotalvalidateAfterInactivity7(Lcom/groupbyinc/flux/common/http/pool/ConnFactory;II)V()V46
7Connection factory9)com/groupbyinc/flux/common/http/util/Args;notNull8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;=>
<?0com/groupbyinc/flux/common/http/pool/ConnFactoryA	CMax per route valueEpositive(ILjava/lang/String;)IGH
<I01	KMax total valueM21	O(java/util/concurrent/locks/ReentrantLockQ
R7	Tjava/util/HashMapV
W7!"	Yjava/util/HashSet[
\7$%	^java/util/LinkedList`
a7'(	c*(	e,"	gthisBLcom/groupbyinc/flux/common/http/pool/AbstractConnPool;7Lcom/groupbyinc/flux/common/http/pool/AbstractConnPool;createEntryV(Ljava/lang/Object;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/http/pool/PoolEntry;onLease3(Lcom/groupbyinc/flux/common/http/pool/PoolEntry;)VentryTE;0Lcom/groupbyinc/flux/common/http/pool/PoolEntry;	onReleaseonReusevalidate3(Lcom/groupbyinc/flux/common/http/pool/PoolEntry;)Z
isShutdown()Z./	yshutdownjava/io/IOException|java/util/concurrent/locks/Lock~6?iterator()Ljava/util/Iterator;??
a?java/util/Iterator?hasNext?x??next()Ljava/lang/Object;????.com/groupbyinc/flux/common/http/pool/PoolEntry?close?6
??
java/util/Set???values()Ljava/util/Collection;???java/util/Collection???6com/groupbyinc/flux/common/http/pool/RouteSpecificPool?{6
??clear?6???
a?unlock?6?java/lang/Throwable?i$Ljava/util/Iterator;poolCLcom/groupbyinc/flux/common/http/pool/RouteSpecificPool;8Lcom/groupbyinc/flux/common/http/pool/RouteSpecificPool;getPoolL(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/http/pool/RouteSpecificPool;get&(Ljava/lang/Object;)Ljava/lang/Object;???^(Lcom/groupbyinc/flux/common/http/pool/AbstractConnPool;Ljava/lang/Object;Ljava/lang/Object;)V4?
?put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;???routeTT;Ljava/lang/Object;lease~(Ljava/lang/Object;Ljava/lang/Object;Lcom/groupbyinc/flux/common/http/concurrent/FutureCallback;)Ljava/util/concurrent/Future;Route?Connection pool shut down?,com/groupbyinc/flux/common/http/util/Asserts?check(ZLjava/lang/String;)V??
???(Lcom/groupbyinc/flux/common/http/pool/AbstractConnPool;Ljava/util/concurrent/locks/Lock;Lcom/groupbyinc/flux/common/http/concurrent/FutureCallback;Ljava/lang/Object;Ljava/lang/Object;)V4?
?statecallback@Lcom/groupbyinc/flux/common/http/concurrent/FutureCallback;;Lcom/groupbyinc/flux/common/http/concurrent/FutureCallback;C(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/concurrent/Future;??
?getPoolEntryBlocking?(Ljava/lang/Object;Ljava/lang/Object;JLjava/util/concurrent/TimeUnit;Lcom/groupbyinc/flux/common/http/pool/PoolEntryFuture;)Lcom/groupbyinc/flux/common/http/pool/PoolEntry;java/lang/InterruptedException?%java/util/concurrent/TimeoutException?java/util/Date?java/lang/System?currentTimeMillis()J??
??java/util/concurrent/TimeUnit?toMillis(J)J??
??(J)V4?
????
?getFreeD(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/http/pool/PoolEntry;??
??	isExpired(J)Z??
??31	?
getUpdated??
??uv
?isClosed?x
?remove(Ljava/lang/Object;)Z
afree4(Lcom/groupbyinc/flux/common/http/pool/PoolEntry;Z)V
?add
?to

getMax(Ljava/lang/Object;)I
getAllocatedCount()I
?java/lang/Mathmax(II)I
getLastUsed2()Lcom/groupbyinc/flux/common/http/pool/PoolEntry;
?v
?!size#?$
a$isEmpty'x
a(
removeLast*?
a+getRoute-?
?.create0?B1
?
?3queue9(Lcom/groupbyinc/flux/common/http/pool/PoolEntryFuture;)V56
?7
a4com/groupbyinc/flux/common/http/pool/PoolEntryFuture:await(Ljava/util/Date;)Z<=
;>unqueue@6
?AgetTimeC?
?DTimeout waiting for connectionF(Ljava/lang/String;)V4H
?IlastUsedi	otherpooltotalAvailableconnTC;	totalUsedfreeCapacityexcesssuccesstimeoutJtunitLjava/util/concurrent/TimeUnit;future;Lcom/groupbyinc/flux/common/http/pool/PoolEntryFuture;6Lcom/groupbyinc/flux/common/http/pool/PoolEntryFuture;deadlineLjava/util/Date;release?addFirst(Ljava/lang/Object;)V`a
abso
dnextPending8()Lcom/groupbyinc/flux/common/http/pool/PoolEntryFuture;fg
?hpollj?
akwakeupm6
;nreusablejava/lang/IntegerqintValues
rtvLjava/lang/Integer;setMaxTotal(I)V	Max valuezgetMaxTotalsetDefaultMaxPerRoutegetDefaultMaxPerRoutesetMaxPerRoute(Ljava/lang/Object;I)VvalueOf(I)Ljava/lang/Integer;??
r?getMaxPerRoute
getTotalStats2()Lcom/groupbyinc/flux/common/http/pool/PoolStats;.com/groupbyinc/flux/common/http/pool/PoolStats?(IIII)V4?
??getStatsD(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/http/pool/PoolStats;getLeasedCount?
??getPendingCount?
??getAvailableCount?
??	getRoutes()Ljava/util/Set;keySet???(Ljava/util/Collection;)V4?
\?
enumAvailable;(Lcom/groupbyinc/flux/common/http/pool/PoolEntryCallback;)V6com/groupbyinc/flux/common/http/pool/PoolEntryCallback?process?o??6??purgePoolMap?6
?itLjava/util/Iterator;@Lcom/groupbyinc/flux/common/http/pool/PoolEntryCallback;8Lcom/groupbyinc/flux/common/http/pool/PoolEntryCallback;
enumLeasedentrySet???getValue???]Ljava/util/Map$Entry;>;Ljava/util/Map$Entry;sLjava/util/Iterator;>;>;	closeIdle#(JLjava/util/concurrent/TimeUnit;)V	Time unit?;(Lcom/groupbyinc/flux/common/http/pool/AbstractConnPool;J)V4?
???
?idletimetimecloseExpired
?nowgetValidateAfterInactivitysetValidateAfterInactivitymstoString()Ljava/lang/String;java/lang/StringBuilder?
?7	[leased: ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??-(Ljava/lang/Object;)Ljava/lang/StringBuilder;??
??
][available: ?][pending: ?]???
??bufferLjava/lang/StringBuilder;(Ljava/lang/Object;Z)V^
?x0x1
access$000?(Lcom/groupbyinc/flux/common/http/pool/AbstractConnPool;Ljava/lang/Object;Ljava/lang/Object;JLjava/util/concurrent/TimeUnit;Lcom/groupbyinc/flux/common/http/pool/PoolEntryFuture;)Lcom/groupbyinc/flux/common/http/pool/PoolEntry;??
?x2x3x4x5	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable?(Lcom/groupbyinc/flux/common/http/pool/ConnFactory;II)V(TT;TC;)TE;(TE;)V(TE;)Z
StackMapTable
ExceptionsH(TT;)Lcom/groupbyinc/flux/common/http/pool/RouteSpecificPool;y(TT;Ljava/lang/Object;Lcom/groupbyinc/flux/common/http/concurrent/FutureCallback;)Ljava/util/concurrent/Future;9(TT;Ljava/lang/Object;)Ljava/util/concurrent/Future;u(TT;Ljava/lang/Object;JLjava/util/concurrent/TimeUnit;Lcom/groupbyinc/flux/common/http/pool/PoolEntryFuture;)TE;(TE;Z)V(TT;)I(TT;I)V5(TT;)Lcom/groupbyinc/flux/common/http/pool/PoolStats;()Ljava/util/Set;C(Lcom/groupbyinc/flux/common/http/pool/PoolEntryCallback;)V
SourceFileInnerClassesRuntimeInvisibleAnnotations!	? !"?#$%?&'(?)*(?+,"?-B./B01B21B31!45??h*?8*+:?@?B?D*F?J?L*N?J?P*?RY?S?U*?WY?X?Z*?\Y?]?_*?aY?b?d*?aY?b?f*?WY?X?h??*hikhh01h21?hijh ?.UVWX%Y0Z;[F\Q]\^g_??lm??no?Q??ikpr?ijpq?j??so?Q??ikpr?ijpq?p??to?Q??ikpr?ijpq?v??uv?R??ikpr?ijpq?|??wx?A*?z??ik?ij??{6???*?z??*?z*?U??*?d??L+???+????M,?????*?_??L+???+????M,?????*?Z????L+???+????M,?????*?Z??*?_??*?d??*?U???N*?U??-????????H1pr??UprB??~??k???ik?*1pqUpq~???ij?R???
??1?5?8?U?Y?\?~??????????????????#	????	?????d??}????+*?Z+????M,??Y*++??M*?Z+,??W,?? +ik+????? +ij+?????????)???)???????(+ĸ@W*?z??Ƹ̻Y**?U-+,?ϰ?*(ik(??(??(??? (ij(??(???????@?????b*+,?ְ? ik?????ij?????????=C:!	????Y??!??a??:*?U??*+??::		??*?z??Ƹ?,??:		??Z	????	???**???#	??*???a?䔝*	???	??	??*?d	?W	?	???	?/*?d	?W*?_	?W*	?	:
*?U??
?*+?6
?`
d?6?96?/? :

?? 
??*?d
?W
?"W?????
??*?_?%6*?Pd?6

?t*?d?&6
d?1*?d?)?'*?d?,??:??*?/??:?"W*?D+?2:?4:	*?_	?W	:*?U???6?8*?f?9W??6?B*?f?W?:?B*?f?W????E?䔝?????YG?J?:*?U?????????%?5??5?75??
Kr
?3L1~Kr?M?_hN1?%O?D?Q1QvR1
?C,1
?3S1?]T/,	??/pr	CikC??C??CUVCWXCY[@\]?\	
Kq
~Kq?M??%OP,	??/pq	CijC??CYZ?C??	??%?,?/?4?E?M?R?U?`?h?o?????????????????D????
!)/9DQV_ h!r"~#?$?%?(?)?*?+?D?/?1?2?3?9?:?;?9:=$?'A*B5D?z?????@&0?????f?0?0?;??????
?;???}????^???*?U??*?_+?_?_*+?/??N-+?	?*?z?*?d+?c?+??*+?e-?i:?*?f?W?*?f?l?;:??o*?U???:*?U????	r~~?~?4S??J(Y[?ik?pr?p/?*S??J(YZ?ij?pq?JJ	LMN%O0P;R?TDUJVOW\Yh[m\r`{a~`?b??;??;?	K?
????*?h+???rM,?,?u?*?L?? ik??vw?ij???efgi??r?xy??/{?JW*?U??*?P*?U???M*?U??,??""#"?/ik/1?/ij?oprtu"t.v?b?|??%*?U??*?P<*?U???M*?U??,?	?%ik?%ij?z	|~?Y?}y??.F?JW*?U??*?L*?U???M*?U??,??!!"!?.ik.1?.ij??????!?-??a?~??%*?U??*?L<*?U???M*?U??,?	?%ik?%ij??	???Y?????+ĸ@WF?JW*?U??*?h+????W*?U???N*?U??-??&2232? ?ik????1??ij????"????&?/?2?>??r?????-+ĸ@W*?U??*+?=*?U???N*?U??-?!!"!?-ik-???-ij-????????a??????C*?U????Y*?_?%*?f?&*?d?&*?P??L*?U??+?M*?U??,?	,7787?Cik?Cij??	?,??w?????H+ĸ@W*?U??*+??M??Y,??,??,??*+???N*?U??-?:*?U???/::<:? $??HikH??? $??HijH???????/??z??????1*?U???\Y*?Z????L*?U??+?M*?U??,?	%%&%?1ik?1ij??	???e?????`k*?U??*?d??M,???5,????N+-??-??*-?/??:-?"W,?????*??*?U???:*?U????	P\\^\?4<
??$%pr???kikk???4<
??$%pq???kijk???>?	???$?+?2?<?C?I?L?P?Y?\?j????7???
????
K*?U??*?_??M,???,????N+-?????*?U???:*?U????	0<<><?*&pr??KikK???*&pq??KijK???*
?	???&?-?09<J????K?
??6??B*?Z????L+???,+???M,????N-??-?`?	+????ѱ?*"p?,??Bik3???*"p?,??Bij3???""	,
8>
A?
??.????0-??@W-??7	??	7??e7*?Y*???±?40ik0?V0WX!?V!\V?0ij?!/(???6?`??@*?Y*?ƶ±?ik?V?ij?./9??A*????ik?ij?@?y?P*????ik?1?ij?
HI????H??Y??L+Ѷ?W+*?_??W+ڶ?W+*?d??W+ܶ?W+*?f??W+޶?W+???Hik@???Hij?&	MNOP!Q*R2S;TCUA^??Z
*+????? 
ik
??
?/?
ij?@???h*+,!???>?k?????V?X?[?A?}???
*	
e





© 2015 - 2024 Weber Informatics LLC | Privacy Policy