![JAR search and dependency download from the Maven repository](/logo.png)
classes.io.netty.channel.pool.FixedChannelPool.class Maven / Gradle / Ivy
The newest version!
???? 2?
r ?
p ? p ?
p ? p ? p ? p ?
p ? p ? p ?
p ?
r ? ???
p ????????
p
p
p
r
p ?
&
s
y
0
2!
4
"#
$%&' p( p)
*+,-
=.+/012 p34
C 56
E+78
I.
I91:
p;<
N.=> ?+@ NAB ?
CDE
WF
rG
H=IJK
N9 NL
pMNOP
QR
QST
dUV
f.W
h
X YZ[
l
Y\
Y]^
_`ab InnerClasses AcquireListenerc TimeoutTask AcquireTaskd AcquireTimeoutAction executor (Lio/netty/util/concurrent/EventExecutor; acquireTimeoutNanos J timeoutTask Ljava/lang/Runnable; pendingAcquireQueue Ljava/util/Queue; Signature GLjava/util/Queue; maxConnections I maxPendingAcquires acquiredChannelCount +Ljava/util/concurrent/atomic/AtomicInteger; pendingAcquireCount closed Z $assertionsDisabled L(Lio/netty/bootstrap/Bootstrap;Lio/netty/channel/pool/ChannelPoolHandler;I)V Code LineNumberTable LocalVariableTable this (Lio/netty/channel/pool/FixedChannelPool; bootstrap Lio/netty/bootstrap/Bootstrap; handler *Lio/netty/channel/pool/ChannelPoolHandler; M(Lio/netty/bootstrap/Bootstrap;Lio/netty/channel/pool/ChannelPoolHandler;II)V ?(Lio/netty/bootstrap/Bootstrap;Lio/netty/channel/pool/ChannelPoolHandler;Lio/netty/channel/pool/ChannelHealthChecker;Lio/netty/channel/pool/FixedChannelPool$AcquireTimeoutAction;JII)V healthCheck ,Lio/netty/channel/pool/ChannelHealthChecker; action =Lio/netty/channel/pool/FixedChannelPool$AcquireTimeoutAction; acquireTimeoutMillis ?(Lio/netty/bootstrap/Bootstrap;Lio/netty/channel/pool/ChannelPoolHandler;Lio/netty/channel/pool/ChannelHealthChecker;Lio/netty/channel/pool/FixedChannelPool$AcquireTimeoutAction;JIIZ)V releaseHealthCheck ?(Lio/netty/bootstrap/Bootstrap;Lio/netty/channel/pool/ChannelPoolHandler;Lio/netty/channel/pool/ChannelHealthChecker;Lio/netty/channel/pool/FixedChannelPool$AcquireTimeoutAction;JIIZZ)V lastRecentUsed
StackMapTable^efgd ()I acquire E(Lio/netty/util/concurrent/Promise;)Lio/netty/util/concurrent/Future; cause Ljava/lang/Throwable; promise "Lio/netty/util/concurrent/Promise; LocalVariableTypeTable >Lio/netty/util/concurrent/Promise;0 }(Lio/netty/util/concurrent/Promise;)Lio/netty/util/concurrent/Future; acquire0 %(Lio/netty/util/concurrent/Promise;)V p l 8Lio/netty/channel/pool/FixedChannelPool$AcquireListener; task 4Lio/netty/channel/pool/FixedChannelPool$AcquireTask;< A(Lio/netty/util/concurrent/Promise;)V tooManyOutstanding %Lio/netty/util/concurrent/Promise<*>; ((Lio/netty/util/concurrent/Promise<*>;)V release _(Lio/netty/channel/Channel;Lio/netty/util/concurrent/Promise;)Lio/netty/util/concurrent/Future; channel Lio/netty/channel/Channel; 4Lio/netty/util/concurrent/Promise; ?(Lio/netty/channel/Channel;Lio/netty/util/concurrent/Promise;)Lio/netty/util/concurrent/Future; decrementAndRunTaskQueue ()V currentCount runTaskQueue
timeoutFuture &Ljava/util/concurrent/ScheduledFuture; )Ljava/util/concurrent/ScheduledFuture<*>;h close e Ljava/lang/InterruptedException;P
closeAsync #()Lio/netty/util/concurrent/Future;
closeComplete 5()Lio/netty/util/concurrent/Future; close0 f
access$101 m(Lio/netty/channel/pool/FixedChannelPool;Lio/netty/util/concurrent/Promise;)Lio/netty/util/concurrent/Future; x0 x1
access$200 M(Lio/netty/channel/pool/FixedChannelPool;Lio/netty/util/concurrent/Promise;)V
access$300 R(Lio/netty/channel/pool/FixedChannelPool;)Lio/netty/util/concurrent/EventExecutor;
access$400 +(Lio/netty/channel/pool/FixedChannelPool;)Z
access$500 +(Lio/netty/channel/pool/FixedChannelPool;)V
access$600 +(Lio/netty/channel/pool/FixedChannelPool;)J
access$700 ;(Lio/netty/channel/pool/FixedChannelPool;)Ljava/util/Queue;
access$806 +(Lio/netty/channel/pool/FixedChannelPool;)I
access$900 access$1000 U(Lio/netty/channel/pool/FixedChannelPool;)Ljava/util/concurrent/atomic/AtomicInteger; access$1100 K(Lio/netty/channel/pool/FixedChannelPool;)Lio/netty/util/concurrent/Future; access$1201
SourceFile FixedChannelPool.java ? ? ? ? ? ? ? ? ? ? ? ? } ~ ? ? ? ? { | ? ? ? ? java/lang/Integer ? ?gi ? ? ? ? ? ? ? ?j java/util/ArrayDeque ? ? )java/util/concurrent/atomic/AtomicInteger "java/lang/IllegalArgumentException java/lang/StringBuilder maxConnections: klkm (expected: >= 1)no ?p maxPendingAcquires: ? java/lang/NullPointerException acquireTimeoutMillis: kq (expected: >= 0)rstuvwxy ? (io/netty/channel/pool/FixedChannelPool$1 ? ? (io/netty/channel/pool/FixedChannelPool$2 java/lang/Errorez{|}~?? ? ? ? ?? ???? (io/netty/channel/pool/FixedChannelPool$3 ? ??? java/lang/Throwable??? ? ? java/lang/AssertionError java/lang/IllegalStateException FixedChannelPool was closed?? 6io/netty/channel/pool/FixedChannelPool$AcquireListener? ??? ? ? 2io/netty/channel/pool/FixedChannelPool$AcquireTask????t?? ? ? 'Too many outstanding acquire operations??? (io/netty/channel/pool/FixedChannelPool$4 ?? ? ?? ???h?? ? ? ? ??? ? java/lang/InterruptedException???? ? java/lang/RuntimeException ?? (io/netty/channel/pool/FixedChannelPool$5 (java/nio/channels/ClosedChannelException????? (io/netty/channel/pool/FixedChannelPool$6???? &io/netty/channel/pool/FixedChannelPool??? 'io/netty/channel/pool/SimpleChannelPool (io/netty/channel/pool/FixedChannelPool$7 2io/netty/channel/pool/FixedChannelPool$TimeoutTask ;io/netty/channel/pool/FixedChannelPool$AcquireTimeoutAction io/netty/bootstrap/Bootstrap (io/netty/channel/pool/ChannelPoolHandler *io/netty/channel/pool/ChannelHealthChecker $java/util/concurrent/ScheduledFuture ACTIVE y(Lio/netty/bootstrap/Bootstrap;Lio/netty/channel/pool/ChannelPoolHandler;Lio/netty/channel/pool/ChannelHealthChecker;ZZ)V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; (Ljava/lang/String;)V (J)Ljava/lang/StringBuilder; java/util/concurrent/TimeUnit MILLISECONDS Ljava/util/concurrent/TimeUnit; toNanos (J)J F$SwitchMap$io$netty$channel$pool$FixedChannelPool$AcquireTimeoutAction [I ordinal config &()Lio/netty/bootstrap/BootstrapConfig; "io/netty/bootstrap/BootstrapConfig group #()Lio/netty/channel/EventLoopGroup; io/netty/channel/EventLoopGroup next ()Lio/netty/channel/EventLoop; get &io/netty/util/concurrent/EventExecutor inEventLoop ()Z execute (Ljava/lang/Runnable;)V io/netty/util/concurrent/Promise
setFailure 9(Ljava/lang/Throwable;)Lio/netty/util/concurrent/Promise;
newPromise $()Lio/netty/util/concurrent/Promise; acquired addListener T(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/util/concurrent/Promise; java/util/Queue offer (Ljava/lang/Object;)Z NANOSECONDS schedule `(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Lio/netty/util/concurrent/ScheduledFuture; !io/netty/util/internal/ObjectUtil checkNotNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; g(Lio/netty/channel/pool/FixedChannelPool;Lio/netty/channel/Channel;Lio/netty/util/concurrent/Promise;)V decrementAndGet poll ()Ljava/lang/Object; cancel (Z)Z io/netty/util/concurrent/Future await java/lang/Thread
currentThread ()Ljava/lang/Thread; interrupt (Ljava/lang/Throwable;)V set (I)V ,io/netty/util/concurrent/GlobalEventExecutor INSTANCE .Lio/netty/util/concurrent/GlobalEventExecutor; submit B(Ljava/util/concurrent/Callable;)Lio/netty/util/concurrent/Future; newSucceededFuture 5(Ljava/lang/Object;)Lio/netty/util/concurrent/Future; java/lang/Class desiredAssertionStatus ! p r
{ | } ~ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? V
*+,? ? ?
M N ? *
? ?
? ?
? ?
? ? ? ? ? g *+,? ? ? ?
] ^ ? 4 ? ? ? ? ? ? ? ? ? ? ? ? ? ?
*+,-? ? ?
v w ? R ? ? ? ? ? ? ? ? ? ? ? ~ ? ? ? ? ? ? ? ?
*+,- ? ? ?
? ? ? \ ? ? ? ? ? ? ? ? ? ? ? ~ ? ? ? ? ? ? ? ? ? R C*+,-
? *? Y? ? *? Y? ? ? $? Y? Y? ? ? !? ? "? #?? $? Y? Y? $? ? !? ? "? #?? ?? *? %* ? ? ?? ??
? &Y'? (?? + ?? $? Y? Y? )? ? *+? ? "? #?*? ,? -? ? .? /.? 8 )*? 0Y*? 1? %? *? 2Y*? 3? %? ? 4Y? 5?*+? 6? 7? 8 ?
*? 9*? :? ? f ? <