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

com.huawei.shade.org.apache.http.pool.AbstractConnPool.class Maven / Gradle / Ivy

The newest version!
????26com/huawei/shade/org/apache/http/pool/AbstractConnPool?;>Ljava/lang/Object;Lcom/huawei/shade/org/apache/http/pool/ConnPool;Lcom/huawei/shade/org/apache/http/pool/ConnPoolControl;java/lang/Object.com/huawei/shade/org/apache/http/pool/ConnPool5com/huawei/shade/org/apache/http/pool/ConnPoolControlAbstractConnPool.java6Lcom/huawei/shade/org/apache/http/annotation/Contract;	threading?Lcom/huawei/shade/org/apache/http/annotation/ThreadingBehavior;SAFE_CONDITIONAL8com/huawei/shade/org/apache/http/pool/AbstractConnPool$48com/huawei/shade/org/apache/http/pool/AbstractConnPool$38com/huawei/shade/org/apache/http/pool/AbstractConnPool$28com/huawei/shade/org/apache/http/pool/AbstractConnPool$1java/util/Map$Entry
java/util/MapEntrylock!Ljava/util/concurrent/locks/Lock;	condition&Ljava/util/concurrent/locks/Condition;connFactory3Lcom/huawei/shade/org/apache/http/pool/ConnFactory;;Lcom/huawei/shade/org/apache/http/pool/ConnFactory;routeToPoolLjava/util/Map;XLjava/util/Map;>;leasedLjava/util/Set;Ljava/util/Set;	availableLjava/util/LinkedList;Ljava/util/LinkedList;pending:Ljava/util/LinkedList;>;maxPerRoute'Ljava/util/Map;
isShutDownZdefaultMaxPerRouteImaxTotalvalidateAfterInactivity8(Lcom/huawei/shade/org/apache/http/pool/ConnFactory;II)V@(Lcom/huawei/shade/org/apache/http/pool/ConnFactory;II)V()V69
:Connection factory<*com/huawei/shade/org/apache/http/util/Args>notNull8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;@A
?B1com/huawei/shade/org/apache/http/pool/ConnFactoryD !	FMax per route valueHpositive(ILjava/lang/String;)IJK
?L23	NMax total valueP43	R(java/util/concurrent/locks/ReentrantLockT
U:	Wjava/util/concurrent/locks/LockYnewCondition(()Ljava/util/concurrent/locks/Condition;[\Z]	_java/util/HashMapa
b:#$	djava/util/HashSetf
g:&'	ijava/util/LinkedListk
l:)*	n,*	p.$	rthisCLcom/huawei/shade/org/apache/http/pool/AbstractConnPool;8Lcom/huawei/shade/org/apache/http/pool/AbstractConnPool;createEntryW(Ljava/lang/Object;Ljava/lang/Object;)Lcom/huawei/shade/org/apache/http/pool/PoolEntry;(TT;TC;)TE;onLease4(Lcom/huawei/shade/org/apache/http/pool/PoolEntry;)V(TE;)VentryTE;1Lcom/huawei/shade/org/apache/http/pool/PoolEntry;	onReleaseonReusevalidate4(Lcom/huawei/shade/org/apache/http/pool/PoolEntry;)Z(TE;)Z
isShutdown()Z01	?shutdownjava/io/IOException?9Z?iterator()Ljava/util/Iterator;??
l?java/util/Iterator?hasNext????next()Ljava/lang/Object;????/com/huawei/shade/org/apache/http/pool/PoolEntry?close?9
??
java/util/Set???values()Ljava/util/Collection;???java/util/Collection???7com/huawei/shade/org/apache/http/pool/RouteSpecificPool??9
??clear?9???
l?unlock?9Z?java/lang/Throwable?i$Ljava/util/Iterator;poolDLcom/huawei/shade/org/apache/http/pool/RouteSpecificPool;9Lcom/huawei/shade/org/apache/http/pool/RouteSpecificPool;getPoolM(Ljava/lang/Object;)Lcom/huawei/shade/org/apache/http/pool/RouteSpecificPool;I(TT;)Lcom/huawei/shade/org/apache/http/pool/RouteSpecificPool;get&(Ljava/lang/Object;)Ljava/lang/Object;???_(Lcom/huawei/shade/org/apache/http/pool/AbstractConnPool;Ljava/lang/Object;Ljava/lang/Object;)V6?
?put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;???routeTT;Ljava/lang/Object;lease(Ljava/lang/Object;Ljava/lang/Object;Lcom/huawei/shade/org/apache/http/concurrent/FutureCallback;)Ljava/util/concurrent/Future;z(TT;Ljava/lang/Object;Lcom/huawei/shade/org/apache/http/concurrent/FutureCallback;)Ljava/util/concurrent/Future;Route?Connection pool shut down?-com/huawei/shade/org/apache/http/util/Asserts?check(ZLjava/lang/String;)V??
???(Lcom/huawei/shade/org/apache/http/pool/AbstractConnPool;Lcom/huawei/shade/org/apache/http/concurrent/FutureCallback;Ljava/lang/Object;Ljava/lang/Object;)V6?
?statecallbackALcom/huawei/shade/org/apache/http/concurrent/FutureCallback;;??
?getPoolEntryBlocking?(Ljava/lang/Object;Ljava/lang/Object;JLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/Future;)Lcom/huawei/shade/org/apache/http/pool/PoolEntry;\(TT;Ljava/lang/Object;JLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/Future;)TE;java/lang/InterruptedException?%java/util/concurrent/TimeoutException?java/util/Date?java/lang/System?currentTimeMillis()J??
??java/util/concurrent/TimeUnit?toMillis(J)J??
??(J)V6?
????
?getFreeE(Ljava/lang/Object;)Lcom/huawei/shade/org/apache/http/pool/PoolEntry;
?	isExpired(J)Z
?isClosed?
?	remove(Ljava/lang/Object;)Z
l
free5(Lcom/huawei/shade/org/apache/http/pool/PoolEntry;Z)V
?add??{
getMax(Ljava/lang/Object;)I
getAllocatedCount()I
?java/lang/Math max(II)I"#
!$getLastUsed3()Lcom/huawei/shade/org/apache/http/pool/PoolEntry;&'
?(?
?*size,?-
l-isEmpty0?
l1
removeLast3?
l4getRoute6?
?7create9?E:
?<java/util/concurrent/Future>isCancelled@??AOperation interruptedC(Ljava/lang/String;)V6E
?Fqueue (Ljava/util/concurrent/Future;)VHI
?J
l$java/util/concurrent/locks/ConditionM
awaitUntil(Ljava/util/Date;)ZOPNQawaitS9NTunqueueVI
?WgetTimeY?
?ZTimeout waiting for connection\
?FlastUsedi	otherpooltotalAvailableconnTC;	totalUsedfreeCapacityexcesssuccesstimeoutJtimeUnitLjava/util/concurrent/TimeUnit;future"Ljava/util/concurrent/Future;Ljava/util/concurrent/Future;deadlineLjava/util/Date;release(TE;Z)V?
addFirst(Ljava/lang/Object;)Vuv
lw?{
ynextPending()Ljava/util/concurrent/Future;{|
?}poll?
l?	signalAll?9N?reusable(TT;)Ijava/lang/Integer?intValue?
??vLjava/lang/Integer;setMaxTotal(I)V	Max value?getMaxTotalsetDefaultMaxPerRoutegetDefaultMaxPerRoutesetMaxPerRoute(Ljava/lang/Object;I)V(TT;I)VvalueOf(I)Ljava/lang/Integer;??
????getMaxPerRoute
getTotalStats3()Lcom/huawei/shade/org/apache/http/pool/PoolStats;/com/huawei/shade/org/apache/http/pool/PoolStats?(IIII)V6?
??getStatsE(Ljava/lang/Object;)Lcom/huawei/shade/org/apache/http/pool/PoolStats;6(TT;)Lcom/huawei/shade/org/apache/http/pool/PoolStats;getLeasedCount?
??getPendingCount?
??getAvailableCount?
??	getRoutes()Ljava/util/Set;()Ljava/util/Set;keySet???(Ljava/util/Collection;)V6?
g?
enumAvailable<(Lcom/huawei/shade/org/apache/http/pool/PoolEntryCallback;)VD(Lcom/huawei/shade/org/apache/http/pool/PoolEntryCallback;)V7com/huawei/shade/org/apache/http/pool/PoolEntryCallback?process?{??9??purgePoolMap?9
?itLjava/util/Iterator;ALcom/huawei/shade/org/apache/http/pool/PoolEntryCallback;9Lcom/huawei/shade/org/apache/http/pool/PoolEntryCallback;
enumLeasedentrySet???getValue???^Ljava/util/Map$Entry;>;Ljava/util/Map$Entry;tLjava/util/Iterator;>;>;	closeIdle#(JLjava/util/concurrent/TimeUnit;)V	Time unit?<(Lcom/huawei/shade/org/apache/http/pool/AbstractConnPool;J)V6?
???
?idletimetimecloseExpired
?nowgetValidateAfterInactivity53	?setValidateAfterInactivitymstoString()Ljava/lang/String;java/lang/StringBuilder?
?:	[leased: ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??-(Ljava/lang/Object;)Ljava/lang/StringBuilder;??
??
][available: ?][pending: ?]???
??bufferLjava/lang/StringBuilder;(Ljava/lang/Object;Z)Vr
x0x1
access$000[(Lcom/huawei/shade/org/apache/http/pool/AbstractConnPool;)Ljava/util/concurrent/locks/Lock;
access$100`(Lcom/huawei/shade/org/apache/http/pool/AbstractConnPool;)Ljava/util/concurrent/locks/Condition;
access$200?(Lcom/huawei/shade/org/apache/http/pool/AbstractConnPool;Ljava/lang/Object;Ljava/lang/Object;JLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/Future;)Lcom/huawei/shade/org/apache/http/pool/PoolEntry;??
x2x3x4x5
access$300;(Lcom/huawei/shade/org/apache/http/pool/AbstractConnPool;)I	SignatureCodeLineNumberTableLocalVariableTableLocalVariableTypeTable
StackMapTable
ExceptionsInnerClasses
SourceFileRuntimeInvisibleAnnotations!	 !"#$%&'()*+,*-.$/B01B23B43B53$67u*?;*+=?C?E?G*I?M?O*Q?M?S*?UY?V?X**?X?^?`*?bY?c?e*?gY?h?j*?lY?m?o*?lY?m?q*?bY?c?s?2Z[\]%^0_=`HaSb^cidte*utvu !u23u43utuu "8wxyz{Q?ptv}tu}~|?{Q?vtv}tu}~|?{Q?|tv}tu}~|??R??tv}tu}~???A*????tvtu?9??*????*??*?X??*?o??L+???+????M,?????*?j??L+???+????M,?????*?e????L+???+????M,?????*?e??*?j??*?o??*?X???N*?X??-???????#	????	?????d?F???
??1?8?U?\?~???????????????H1}??U}B??~??k???tv*1}~U}~~???tu????+*?e+????M,??Y*++??M*?e+,??W,??)?????)? +tv+???? +tu+????????$+ҸCW*????ԸڻY*-+,?ݰ@???*$tv$??$??$?? $tu$??$?????b*+,??% tv????tu?????7S:!	????Y??!??a??:*?X??*+??:*????Ը?,?:		??0	????	??	?
?*?o	?W	????	?/*?o	?W*?j	?W*	?	:
*?X??
?*+?6
?`
d?%6?96?/?):

?? 
??*?o
?W
?+W?????
??*?j?.6*?Sd?%6

?t*?o?/6
d?1*?o?2?'*?o?5??:??*?8??:?+W*?G+?;:?=:	*?j	?W	:*?X???6?B???YD?G??K*?q?LW?*?`?R6?*?`?U6?B???YD?G??X*?q?W?:?X*?q?W????[??????????Y]?^?:*?X?????
%?E??E?GE`????
@??0?????f?0?%S???
????D-.	/1%3,6=8E9J:M<X=]?e@oAzFG?H?I?J???N?P?Q?R?S?T?U?W?X?Y?R?]^_`$a-b6c@dLeQf\gdjpkyl?m???q?s?t?v?w?x?y?{?|?~?????????4?7?:?E???_
?3`3L_\a?-hb3p%c??e3vf3
??.3
?ug3??h1,??E}	StvS??S??SijSklSmoPpq\	?_~
L_~\a?p%cd,??E}~	StuS??Smn????r??*?X??*?j+?t?c*+?8??N-+??*???*?o+?x?+??*+?z-?~:?*?q?W?*?q????:?*?`??*?X???:*?X????	v?????;????
K?
J?	???%?0?;???D?J?O?\?h?m?v??????4W??J,mo?tv?}??1*W??J,mn?tu?}~s?*?s+????M,?
,???*?O?
??C
?? tv????tu??????/??MW*?X??*?S*?X???M*?X??,??""#"b??????"?.?/tv/"3/tu??%*?X??*?S<*?X???M*?X??,?	Y??	??%tv%tu???.I?MW*?X??*?O*?X???M*?X??,??!!"!a??????!?-?.tv."3.tu??%*?X??*?O<*?X???M*?X??,?	Y??	??%tv%tu???K+ҸCW*?X???*?s+????W?*?s+??W*?X???N*?X??-??2>>?>	'
K?&	????'?2?;?>?J? KtvK??K"3KtuK?????-+ҸCW*?X??*+?=*?X???N*?X??-?!!"!a?????-tv-??-tu-??????C*?X????Y*?j?.*?q?/*?o?/*?S??L*?X??+?M*?X??,?	,7787w??	?,CtvCtu???H+ҸCW*?X??*+??M??Y,??,??,??*+???N*?X??-?:*?X???/::<:z?	

/ $??HtvH?? $??HtuH??????1*?X???gY*?e????L*?X??+?M*?X??,?	%%&%e?	 "1tv1tu???`k*?X??*?o??M,???5,????N+-??-?
?*-?8??:-?+W,?????*??*?X???:*?X????	P\\^\??7???
>,	./0$1+223<4C5I7L8P:Y;\:j<4<
??$%}???ktvk??4<
??$%}~???ktuk?????
K*?X??*?j??M,???,????N+-?????*?X???:*?X????	0<<><???K?
*
D	FGH&I-J0L9M<LJN*&}??KtvK??*&}~??KtuK????9?B*?e????L+???,+???M,????N-??-?`?	+????ѱ
??."QRS"T,U8V>XAY*"}?,??Btv3??*"}?,??Btu3?????0-ٸCW-??7	??	7??e7*?Y*?ܶޱ?cdefh!i/s40tv0?j0kl!?j!pj0tu?9`??@*?Y*??ޱyz?tv?jtu?A*???tvtu??P*??
??tv?3tu???h*?X????Y??L+??W+*?j??W+???W+*?o??W+???W+*?q??W+???W+??M*?X??,?N*?X??-?	Q\\]\?\?.?	???"?*?3?;?D?L?Q?K?htvhtuArZ
*+????D 
tv
?
1
tu/*?X?Ev	/*?`?Ev
h*+,!?
?E>v??jlo???/*??Ev*	

e





© 2015 - 2024 Weber Informatics LLC | Privacy Policy