classes.io.netty.channel.pool.SimpleChannelPool.class Maven / Gradle / Ivy
???? 2?
c ?
c ?
c ?
c ?
c ? ?
c ?
c ?
m ?
? ? c ? {
? ? ? c ? } ? c ? c ? ?
? c ? ?
?
?
?
? ? ? ? ?
c ?
c
c c
c
'
a ?
, ?
c c
7 ?
;
@! a"#$ %&
c'
c(
)
c* ?+
K#,-.
O ?/
O0
O12
O3
N4
c5
c67
Y8 9 c:
c; c< a=>?@>AB
CDE
FGHI
g4J
KLMNO InnerClasses POOL_KEY Lio/netty/util/AttributeKey; Signature GLio/netty/util/AttributeKey; FULL_EXCEPTION !Ljava/lang/IllegalStateException; UNHEALTHY_NON_OFFERED_TO_POOL 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 $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 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;
StackMapTable@ ?PQ
notifyConnect E(Lio/netty/channel/ChannelFuture;Lio/netty/util/concurrent/Promise;)V channel future 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;R [(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
ExceptionsS 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 ? ? ? ? ? ? ? ? ? ?T ~ ? ? ? ? ? ?UVW x yXYZ (io/netty/channel/pool/ChannelPoolHandler { | *io/netty/channel/pool/ChannelHealthChecker } ~ ? ? io/netty/bootstrap/Bootstrap[\ ? )io/netty/channel/pool/SimpleChannelPool$1 ?] {^_`abcdefQgh ? ? ? ? ? ? q rij ? ?Pkl )io/netty/channel/pool/SimpleChannelPool$2 ?mnopfql )io/netty/channel/pool/SimpleChannelPool$3 ? ?rs java/lang/Throwabletuvwl ? ?xy ? ? ?z ? ? java/lang/AssertionError{ ?R )io/netty/channel/pool/SimpleChannelPool$4n|}~ java/lang/Booleanli????? ??? ? ? ? ??? ? ? )io/netty/channel/pool/SimpleChannelPool$5?? "java/lang/IllegalArgumentException java/lang/StringBuilder Channel ???? ' was not acquired from this ChannelPool?? ?? ? ? ? ? )io/netty/channel/pool/SimpleChannelPool$6 ? ?? ? w v ? ? u v ????~ io/netty/channel/Channel?y 'io/netty/channel/pool/SimpleChannelPool??l channelPool??? java/lang/IllegalStateException ChannelPool full releaseAndOffer(...)??? 1Channel is unhealthy not offering it back to pool java/lang/Object !io/netty/channel/pool/ChannelPool io/netty/channel/ChannelFuture io/netty/channel/EventLoop io/netty/util/concurrent/Future java/lang/Exception ACTIVE (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 ()Lio/netty/bootstrap/Bootstrap; 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 ()Z 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
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 channelAcquired
setSuccess 6(Ljava/lang/Object;)Lio/netty/util/concurrent/Promise; connect "()Lio/netty/channel/ChannelFuture; getAndSet &(Ljava/lang/Object;)Ljava/lang/Object; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; (Ljava/lang/String;)V channelReleased java/util/Deque pollLast offer java/lang/Class desiredAssertionStatus io/netty/util/AttributeKey newInstance 0(Ljava/lang/String;)Lio/netty/util/AttributeKey; $io/netty/util/internal/ThrowableUtil unknownStackTrace O(Ljava/lang/Throwable;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Throwable; ! c m n q r s t u v w v x y s z { | } ~ ? ? ? ? ? ? ? ? L
*+,? ? ? ?
? @ ?
? ?
?
{ | ? ? ? U *+,-? ? ?
K L ? * ? ? ? { | } ~ ? ? ? ? M*? *?
? *,?
? ? *-?
? ? *? *+?
? ? ? *? ? Y*,? ? W? ? " Y 2 Z [ % \ + ^ ; _ L f ? 4 M ? ? M ? M { | M } ~ M ? ? ? ? ? C **? ? ? ? ? ? ? ? j ? ? ? s ? ? ? ? W
+ ?
W*+? !? ?
o p ?
? ?
? ? ?
? ? s ? ? ? ? m *? "M,? B*? ? N-? #*? $W*-? %:? & ?
*+? ? ? 'Y*+? (? ) W+?,? * N-? + ? *,+? ? -? ,Y*,+? -? . ? M+,? 0 W+? G t / H q t / ? F z { } ~ ! ? + ? 5 ? F ? H ? O ? X ? a ? q ? t ? u ? } ? ? H 7 ? ? ! ' ? ? l ? ? O " ? ? u ? ? ? ? ? ? ? ? ? ? ? 5 ? ? ?? ? ?? B ? s ? ? ? ? ? 1+? 1 ? +? 2 N,-? 3 ? *-? 4W? ,+? 5 ? 0 W? ? ? ? ? ? ? # ? 0 ? ? * ? ? 1 ? ? 1 ? ? 1 ? ? ? 1 ? ? ? s ? ? ? ? ? L? 6? +? * ? + ? ? 7Y? 8?*? +? 9 N-? : ?
*-+,? ? -? ;Y*+,?