![JAR search and dependency download from the Maven repository](/logo.png)
classes.io.netty.channel.pool.SimpleChannelPool.class Maven / Gradle / Ivy
The newest version!
???? 2?
l ?
l ?
l ?
l ?
l ? ?
l ?
l ?
l ?
n ? ?
? ?
?
? ?
?
?
? ? l ?
? ? l ? x
? ? ? l ? z l l |
l
"
l
l ?
l
l
l
1 h
6 !"#$ %!&
l'( l)*
B ? +,-
F,.,#,/0
K1 h234!5
l6
l7
8
l9 ?:
U3;<=
>?
X@
lA
lBC
_D E
lFGH
cI hJKLMKNKOPQ
RSTU InnerClasses poolKey Lio/netty/util/AttributeKey; Signature GLio/netty/util/AttributeKey; deque Ljava/util/Deque; -Ljava/util/Deque; handler *Lio/netty/channel/pool/ChannelPoolHandler; healthCheck ,Lio/netty/channel/pool/ChannelHealthChecker; bootstrap Lio/netty/bootstrap/Bootstrap; releaseHealthCheck Z lastRecentUsed $assertionsDisabled K(Lio/netty/bootstrap/Bootstrap;Lio/netty/channel/pool/ChannelPoolHandler;)V Code LineNumberTable LocalVariableTable this )Lio/netty/channel/pool/SimpleChannelPool; w(Lio/netty/bootstrap/Bootstrap;Lio/netty/channel/pool/ChannelPoolHandler;Lio/netty/channel/pool/ChannelHealthChecker;)V x(Lio/netty/bootstrap/Bootstrap;Lio/netty/channel/pool/ChannelPoolHandler;Lio/netty/channel/pool/ChannelHealthChecker;Z)V y(Lio/netty/bootstrap/Bootstrap;Lio/netty/channel/pool/ChannelPoolHandler;Lio/netty/channel/pool/ChannelHealthChecker;ZZ)V ()Lio/netty/bootstrap/Bootstrap; ,()Lio/netty/channel/pool/ChannelPoolHandler;
healthChecker .()Lio/netty/channel/pool/ChannelHealthChecker; ()Z acquire #()Lio/netty/util/concurrent/Future; ?()Lio/netty/util/concurrent/Future; E(Lio/netty/util/concurrent/Promise;)Lio/netty/util/concurrent/Future; promise "Lio/netty/util/concurrent/Promise; LocalVariableTypeTable >Lio/netty/util/concurrent/Promise; }(Lio/netty/util/concurrent/Promise;)Lio/netty/util/concurrent/Future; acquireHealthyFromPoolOrNew bs f Lio/netty/channel/ChannelFuture; ch Lio/netty/channel/Channel; loop Lio/netty/channel/EventLoop; cause Ljava/lang/Throwable;
StackMapTableMVW
notifyConnect E(Lio/netty/channel/ChannelFuture;Lio/netty/util/concurrent/Promise;)V channel future
ExceptionsX a(Lio/netty/channel/ChannelFuture;Lio/netty/util/concurrent/Promise;)V
doHealthCheck ?(Lio/netty/channel/Channel;Lio/netty/util/concurrent/Promise;)V !Lio/netty/util/concurrent/Future; 6Lio/netty/util/concurrent/Future;Y [(Lio/netty/channel/Channel;Lio/netty/util/concurrent/Promise;)V notifyHealthCheck `(Lio/netty/util/concurrent/Future;Lio/netty/channel/Channel;Lio/netty/util/concurrent/Promise;)V ?(Lio/netty/util/concurrent/Future;Lio/netty/channel/Channel;Lio/netty/util/concurrent/Promise;)V connectChannel @(Lio/netty/bootstrap/Bootstrap;)Lio/netty/channel/ChannelFuture; release =(Lio/netty/channel/Channel;)Lio/netty/util/concurrent/Future; O(Lio/netty/channel/Channel;)Lio/netty/util/concurrent/Future; _(Lio/netty/channel/Channel;Lio/netty/util/concurrent/Promise;)Lio/netty/util/concurrent/Future; 4Lio/netty/util/concurrent/Promise; ?(Lio/netty/channel/Channel;Lio/netty/util/concurrent/Promise;)Lio/netty/util/concurrent/Future; doReleaseChannel Q(Lio/netty/channel/Channel;Lio/netty/util/concurrent/Promise;)V doHealthCheckOnRelease releaseAndOfferIfHealthy `(Lio/netty/channel/Channel;Lio/netty/util/concurrent/Promise;Lio/netty/util/concurrent/Future;)V ?(Lio/netty/channel/Channel;Lio/netty/util/concurrent/Promise;Lio/netty/util/concurrent/Future;)V releaseAndOffer closeChannel (Lio/netty/channel/Channel;)V closeAndFail T(Lio/netty/channel/Channel;Ljava/lang/Throwable;Lio/netty/util/concurrent/Promise;)V %Lio/netty/util/concurrent/Promise<*>; W(Lio/netty/channel/Channel;Ljava/lang/Throwable;Lio/netty/util/concurrent/Promise<*>;)V pollChannel ()Lio/netty/channel/Channel; offerChannel (Lio/netty/channel/Channel;)Z close ()V
access$000 n(Lio/netty/channel/pool/SimpleChannelPool;Lio/netty/channel/ChannelFuture;Lio/netty/util/concurrent/Promise;)V x0 x1 x2
access$100 h(Lio/netty/channel/pool/SimpleChannelPool;Lio/netty/channel/Channel;Lio/netty/util/concurrent/Promise;)V
access$200 ?(Lio/netty/channel/pool/SimpleChannelPool;Lio/netty/util/concurrent/Future;Lio/netty/channel/Channel;Lio/netty/util/concurrent/Promise;)V x3
access$300
access$400 ?(Lio/netty/channel/pool/SimpleChannelPool;Lio/netty/channel/Channel;Lio/netty/util/concurrent/Promise;Lio/netty/util/concurrent/Future;)V
SourceFile SimpleChannelPool.java ? ? ? ? ? ? ? ? ? ?Z { ? ? ? ? ? ? ? ? java/lang/StringBuilder channelPool.[\]^_[`abcde q rfgh u vijk (io/netty/channel/pool/ChannelPoolHandler x y *io/netty/channel/pool/ChannelHealthChecker z { ~ io/netty/bootstrap/Bootstrapl ? | } )io/netty/channel/pool/SimpleChannelPool$1 ?m xn ? opqrstuvWwx ? ? ? ? ? ?yz ? ?V{ ? )io/netty/channel/pool/SimpleChannelPool$2 ?|}~v? ? )io/netty/channel/pool/SimpleChannelPool$3 ? ??? java/lang/Throwable???? ? ? ?? ??? ? ? ?? ? java/lang/AssertionError? ?Y )io/netty/channel/pool/SimpleChannelPool$4}??? java/lang/Boolean? ?y?????? ? ? ? ??? ? ? )io/netty/channel/pool/SimpleChannelPool$5?? "java/lang/IllegalArgumentException Channel [? ' was not acquired from this ChannelPool ?? ? ? ? ? )io/netty/channel/pool/SimpleChannelPool$6 ? ?? ? ? ? )io/netty/channel/pool/SimpleChannelPool$7 ChannelPool full ?? ????? io/netty/channel/Channel?????? 'io/netty/channel/pool/SimpleChannelPool?? ? java/lang/Object !io/netty/channel/pool/ChannelPool io/netty/channel/ChannelFuture io/netty/channel/EventLoop java/lang/Exception io/netty/util/concurrent/Future ACTIVE append -(Ljava/lang/String;)Ljava/lang/StringBuilder; java/lang/System identityHashCode (Ljava/lang/Object;)I (I)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; io/netty/util/AttributeKey newInstance 0(Ljava/lang/String;)Lio/netty/util/AttributeKey; (io/netty/util/internal/PlatformDependent newConcurrentDeque ()Ljava/util/Deque; !io/netty/util/internal/ObjectUtil checkNotNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; clone V(Lio/netty/channel/pool/SimpleChannelPool;Lio/netty/channel/pool/ChannelPoolHandler;)V I(Lio/netty/channel/ChannelHandler;)Lio/netty/bootstrap/AbstractBootstrap; config &()Lio/netty/bootstrap/BootstrapConfig; "io/netty/bootstrap/BootstrapConfig group #()Lio/netty/channel/EventLoopGroup; io/netty/channel/EventLoopGroup next ()Lio/netty/channel/EventLoop;
newPromise $()Lio/netty/util/concurrent/Promise; attr V(Lio/netty/util/AttributeKey;Ljava/lang/Object;)Lio/netty/bootstrap/AbstractBootstrap; isDone N(Lio/netty/channel/pool/SimpleChannelPool;Lio/netty/util/concurrent/Promise;)V addListener R(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture; eventLoop inEventLoop execute (Ljava/lang/Runnable;)V io/netty/util/concurrent/Promise
tryFailure (Ljava/lang/Throwable;)Z isSuccess channelAcquired
trySuccess (Ljava/lang/Object;)Z ()Ljava/lang/Throwable; isHealthy S(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/util/concurrent/Future; getNow ()Ljava/lang/Object; booleanValue 7(Lio/netty/util/AttributeKey;)Lio/netty/util/Attribute; io/netty/util/Attribute set (Ljava/lang/Object;)V
setSuccess 6(Ljava/lang/Object;)Lio/netty/util/concurrent/Promise; connect "()Lio/netty/channel/ChannelFuture; getAndSet &(Ljava/lang/Object;)Ljava/lang/Object; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; (Ljava/lang/String;)V channelReleased >(Lio/netty/channel/pool/SimpleChannelPool;Ljava/lang/String;)V java/util/Deque pollLast pollFirst offer awaitUninterruptibly java/lang/Class desiredAssertionStatus ! l n o q r s t u v s w x y z { | } ~ ? ? ? ? ? L
*+,? ? ? ?
: ; ?
? ?
| }
x y ? ? ? U *+,-? ? ?
F G ? * ? ? | } x y z { ? ? ? a *+,-? ? ?
U
V ? 4 ? ? | } x y z { ~ ? ? ? ? p*?
*? Y?
? *? ? ? ? ? *? ? *,? ? ? *-? ? ? *? *+? ? ? ? !*? !? "Y*,? #? $W*? %? ? 2 d * + * ! , ( e 5 f B g H i X j i q o r ? > p ? ? p | } p x y p z { p ~ p ? | ? ? / *? !? ? z ? ? ? x ? ? / *? ? ? ? ? ? ? ? ? ? / *? ? ? ? ? ? ? ~ ? ? / *? ? ? ? ? ? ? ? ? ? C **? !? &? '? ( ? ) ? *? ? ? ? ? ? s ? ? ? ? W
++? W*+? ,? ?
? ? ?
? ?
? ? ?
? ? s ? ? ? ? n ?*? -M,? C*? !? N-*? *? .W*-? /:? 0 ?
*+? ? ? 1Y*+? 2? 3 W+?,? 4 N-? 5 ? *,+? ? -? 6Y*,+? 7? 8 ? M+,? : W+? H u 9 I r u 9 ? F ? ? ? ? ? " ? , ? 6 ? G ? I ? P ? Y ? b ? r ? u ? v ? ~ ? ? H 8 ? } " ' ? ? m ? ? P " ? ? v ? ? ? ? ? ? ? ? ? ? ? ? ? ? 6 ? ? ?? ? ?? B ? s ? ? ? ? ? ;+? ; ? '+? < N*? -? = ,-? > ? *-? ?W? ,+? @ ? : W? ? " ? ? ? ? $ ? * ? - ? : ? ? * ? ? ; ? ? ; ? ? ; ? ? ? ; ? ? ? * ? ? s ? ? ? ? ? L? A? +? 4 ? 5 ? ? BY? C?*? +? D N-? E ?
*-+,? ? -? FY*+,? G? H W? ? ? ? ' ? 0 ? : ? K ? ? * L ? ? L ? ? L ? ? ' % ? ? ? L ? ? ' % ? ? ?
? ? s ? ? ? ? > ?? A? ,? 4 ? 5 ? ? BY? C?+? I ? R+? J ? K? L? 5,*? ? M *? N *? ,? = -,? O W? ):*,-? P? *,? Q*-? ,W? *,? Q*-? ,W? 4 V Y 9 ? > ? ? % ? 4 ? D ? N ? V ? Y ? [ ? c ? f ? k ? t ? y ? ? ? 4 [ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
| ?
s ? ? ? ? 9 +? R? ? ? ? ? ? } ? ? ? E *++? 4 ? ) ? S? ?
? ? ? ? ? s ? ? ? ? ? D+T? W,+? W+? 4 N-? 5 ? *+,? ? -? UY*+,? V? 8 ? N*+-,? P,? 7 : 9 ? *
' 7" : ;! B# ? 4 " ? ? ; ? ? D ? ? D ? ? D ? ? ? D ? ? ? ? ' ?? B ? s ? ? ? ? z? A? +? 4 ? 5 ? ? BY? C?+*? ? M ? W *? +*+? XY? Y? Y? +? Z[? ? ? \,? P? $*? ? *+,? ]? *+,? ^? N*+-,? P? X n q 9 ? *
' ) 0* X1 _2 h4 n8 q6 r7 y: ? * r ? ? z ? ? z ? ? z ? ? ? z ? ? ? ;B ? s ? ? ? ? ? 1*? +? D N-? E ?
*+,-? ? -? _Y*+,-? `? H W? ? = > ? A 0H ? * 1 ? ? 1 ? ? 1 ? ? &