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

com.groupbyinc.flux.common.netty.channel.nio.NioEventLoop.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????2?9com/groupbyinc/flux/common/netty/channel/nio/NioEventLoop>com/groupbyinc/flux/common/netty/channel/SingleThreadEventLoopNioEventLoop.javaGcom/groupbyinc/flux/common/netty/channel/nio/NioEventLoop$SelectorTuple
SelectorTuple;com/groupbyinc/flux/common/netty/channel/nio/NioEventLoop$6	;com/groupbyinc/flux/common/netty/channel/nio/NioEventLoop$5;com/groupbyinc/flux/common/netty/channel/nio/NioEventLoop$4
;com/groupbyinc/flux/common/netty/channel/nio/NioEventLoop$3;com/groupbyinc/flux/common/netty/channel/nio/NioEventLoop$2;com/groupbyinc/flux/common/netty/channel/nio/NioEventLoop$1Icom/groupbyinc/flux/common/netty/channel/nio/AbstractNioChannel$NioUnsafe?com/groupbyinc/flux/common/netty/channel/nio/AbstractNioChannel	NioUnsafeloggerGLcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger;CLEANUP_INTERVALIDISABLE_KEYSET_OPTIMIZATIONZMIN_PREMATURE_SELECTOR_RETURNSSELECTOR_AUTO_REBUILD_THRESHOLDselectNowSupplier3Lcom/groupbyinc/flux/common/netty/util/IntSupplier;pendingTasksCallableLjava/util/concurrent/Callable;4Ljava/util/concurrent/Callable;selectorLjava/nio/channels/Selector;unwrappedSelectorselectedKeysFLcom/groupbyinc/flux/common/netty/channel/nio/SelectedSelectionKeySet;provider(Ljava/nio/channels/spi/SelectorProvider;wakenUp+Ljava/util/concurrent/atomic/AtomicBoolean;selectStrategy9Lcom/groupbyinc/flux/common/netty/channel/SelectStrategy;ioRatio
cancelledKeysneedsToSelectAgain(Lcom/groupbyinc/flux/common/netty/channel/nio/NioEventLoopGroup;Ljava/util/concurrent/Executor;Ljava/nio/channels/spi/SelectorProvider;Lcom/groupbyinc/flux/common/netty/channel/SelectStrategy;Lcom/groupbyinc/flux/common/netty/util/concurrent/RejectedExecutionHandler;)VDEFAULT_MAX_PENDING_TASKS9	:?(Lcom/groupbyinc/flux/common/netty/channel/EventLoopGroup;Ljava/util/concurrent/Executor;ZILcom/groupbyinc/flux/common/netty/util/concurrent/RejectedExecutionHandler;)V7<
=>(Lcom/groupbyinc/flux/common/netty/channel/nio/NioEventLoop;)V7?
@$%	B
@&'	E)java/util/concurrent/atomic/AtomicBooleanG()V7I
HJ01	L4	Njava/lang/NullPointerExceptionPselectorProviderR(Ljava/lang/String;)V7T
QU>com/groupbyinc/flux/common/netty/channel/nio/NioEventLoopGroupWjava/util/concurrent/ExecutorY&java/nio/channels/spi/SelectorProvider[7com/groupbyinc/flux/common/netty/channel/SelectStrategy]Icom/groupbyinc/flux/common/netty/util/concurrent/RejectedExecutionHandler_2./	bopenSelectorK()Lcom/groupbyinc/flux/common/netty/channel/nio/NioEventLoop$SelectorTuple;de
f)*	h	h+*	k	k23	nthis;Lcom/groupbyinc/flux/common/netty/channel/nio/NioEventLoop;parent@Lcom/groupbyinc/flux/common/netty/channel/nio/NioEventLoopGroup;executorLjava/util/concurrent/Executor;strategyrejectedExecutionHandlerKLcom/groupbyinc/flux/common/netty/util/concurrent/RejectedExecutionHandler;
selectorTupleILcom/groupbyinc/flux/common/netty/channel/nio/NioEventLoop$SelectorTuple;java/io/IOException{*()Ljava/nio/channels/spi/AbstractSelector;d}
\~9com/groupbyinc/flux/common/netty/channel/ChannelException?failed to open a new selector?*(Ljava/lang/String;Ljava/lang/Throwable;)V7?
??java/nio/channels/Selector? 	?(Ljava/nio/channels/Selector;)V7?
?Dcom/groupbyinc/flux/common/netty/channel/nio/SelectedSelectionKeySet?
?J
@java/security/AccessController?doPrivileged4(Ljava/security/PrivilegedAction;)Ljava/lang/Object;??
??java/lang/Class?java/lang/Object?getClass()Ljava/lang/Class;??
??isAssignableFrom(Ljava/lang/Class;)Z??
??java/lang/Throwable?	?5failed to instrument a special java.util.Set into: {}?Ecom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger?trace9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V?????(Lcom/groupbyinc/flux/common/netty/channel/nio/NioEventLoop;Ljava/lang/Class;Ljava/nio/channels/Selector;Lcom/groupbyinc/flux/common/netty/channel/nio/SelectedSelectionKeySet;)V7?
?java/lang/Exception?,-	?-instrumented a special java.util.Set into: {}?'(Ljava/lang/String;Ljava/lang/Object;)V????Lcom/groupbyinc/flux/common/netty/channel/nio/SelectedSelectionKeySetSelector?e(Ljava/nio/channels/Selector;Lcom/groupbyinc/flux/common/netty/channel/nio/SelectedSelectionKeySet;)V7?
??;(Ljava/nio/channels/Selector;Ljava/nio/channels/Selector;)V7?
?eLjava/io/IOException;tLjava/lang/Throwable;Ljava/lang/Exception;selectedKeySetmaybeSelectorImplClassLjava/lang/Object;selectorImplClassLjava/lang/Class<*>;Ljava/lang/Class;maybeException*()Ljava/nio/channels/spi/SelectorProvider;newTaskQueue(I)Ljava/util/Queue;???@com/groupbyinc/flux/common/netty/util/internal/PlatformDependent?newMpscQueue()Ljava/util/Queue;??
????
??java/util/Queue?maxPendingTaskspendingTasks()IinEventLoop()Z??
???
?submitZ(Ljava/util/concurrent/Callable;)Lcom/groupbyinc/flux/common/netty/util/concurrent/Future;??
?7com/groupbyinc/flux/common/netty/util/concurrent/Future?syncUninterruptibly;()Lcom/groupbyinc/flux/common/netty/util/concurrent/Future;????getNow()Ljava/lang/Object;????java/lang/Integer?intValue??
??register_(Ljava/nio/channels/SelectableChannel;ILcom/groupbyinc/flux/common/netty/channel/nio/NioTask;)Vch?"java/lang/IllegalArgumentException?interestOps must be non-zero.
?U#java/nio/channels/SelectableChannelvalidOps?
java/lang/StringBuilder
	Jinvalid interestOps: append-(Ljava/lang/String;)Ljava/lang/StringBuilder;

	(I)Ljava/lang/StringBuilder;

	(validOps: (C)Ljava/lang/StringBuilder;

	toString()Ljava/lang/String;
	task
isShutdown?
 java/lang/IllegalStateException"event loop shut down$
#UQ(Ljava/nio/channels/Selector;ILjava/lang/Object;)Ljava/nio/channels/SelectionKey;?'
(;com/groupbyinc/flux/common/netty/channel/EventLoopException*failed to register a channel,
+?%Ljava/nio/channels/SelectableChannel;interestOps9Lcom/groupbyinc/flux/common/netty/channel/nio/NioTask<*>;6Lcom/groupbyinc/flux/common/netty/channel/nio/NioTask;
getIoRatio
setIoRatio(I)V	ioRatio: 6 (expected: 0 < ioRatio <= 100)8rebuildSelector

@execute(Ljava/lang/Runnable;)V<=
>rebuildSelector0@I
A Failed to create a new Selector.CwarnE??Fkeys()Ljava/util/Set;HI
?J
java/util/SetLiterator()Ljava/util/Iterator;NOMPjava/util/IteratorRhasNextT?SUnextW?SXjava/nio/channels/SelectionKeyZ
attachment\?
[]isValid_?
[`channel'()Ljava/nio/channels/SelectableChannel;bc
[dkeyFor>(Ljava/nio/channels/Selector;)Ljava/nio/channels/SelectionKey;fg
h0?
[jcancellI
[mselectionKey Ljava/nio/channels/SelectionKey;op	q4Failed to re-register a Channel to the new Selector.sunsafeM()Lcom/groupbyinc/flux/common/netty/channel/nio/AbstractNioChannel$NioUnsafe;uv
wvoidPromise;()Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise;yz{close<(Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise;)V}~4com/groupbyinc/flux/common/netty/channel/nio/NioTask?invokeChannelUnregisteredn(Lcom/groupbyinc/flux/common/netty/channel/nio/NioTask;Ljava/nio/channels/SelectionKey;Ljava/lang/Throwable;)V??
?}I
??
isWarnEnabled????!Failed to close the old Selector.?	Migrated ?  channel(s) to the new Selector.?info?T??newSelectorTuplenewKeyALcom/groupbyinc/flux/common/netty/channel/nio/AbstractNioChannel;]Lcom/groupbyinc/flux/common/netty/channel/nio/NioTask;akeyoldSelector	nChannelsrunhasTasks??
?calculateStrategy7(Lcom/groupbyinc/flux/common/netty/util/IntSupplier;Z)I??^?	getAndSet(Z)Z??
H?select(Z)V??
?get??
H?wakeup()Ljava/nio/channels/Selector;??
??5	?6 	?processSelectedKeys?I
?runAllTasks??
?java/lang/System?nanoTime()J??
??(J)Z??
?handleLoopException(Ljava/lang/Throwable;)V??
?isShuttingDown??
?closeAll?I
?confirmShutdown??
?ioTimeJioStartTimejava/lang/InterruptedException?*Unexpected exception in the selector loop.??java/lang/Thread?sleep(J)V??
??processSelectedKeysOptimized?I
?,I
??processSelectedKeysPlain(Ljava/util/Set;)V??
?cleanupFailed to close a selector.?#(Ljava/nio/channels/SelectionKey;)VpollTask()Ljava/lang/Runnable;??
?selectAgain?I
?java/lang/Runnable?Ljava/lang/Runnable;isEmpty??M?remove?IS?processSelectedKeyd(Ljava/nio/channels/SelectionKey;Lcom/groupbyinc/flux/common/netty/channel/nio/AbstractNioChannel;)V
Y(Ljava/nio/channels/SelectionKey;Lcom/groupbyinc/flux/common/netty/channel/nio/NioTask;)V
k1Ljava/util/Set;Ljava/util/Set;i6Ljava/util/Iterator;Ljava/util/Iterator;size
	?![Ljava/nio/channels/SelectionKey;H	?reset5
?'java/nio/channels/CancelledKeyException	eventLoop=()Lcom/groupbyinc/flux/common/netty/channel/nio/NioEventLoop;
2com/groupbyinc/flux/common/netty/channel/EventLoopreadyOps?
[#(I)Ljava/nio/channels/SelectionKey;0!
["
finishConnect$I%
forceFlush'I(read*I+4Lcom/groupbyinc/flux/common/netty/channel/EventLoop;ignoredops)Ljava/nio/channels/CancelledKeyException;KLcom/groupbyinc/flux/common/netty/channel/nio/AbstractNioChannel$NioUnsafe;channelReadyH(Ljava/nio/channels/SelectableChannel;Ljava/nio/channels/SelectionKey;)V23?4statejava/util/ArrayList7
?M975
8;java/util/Collection=add(Ljava/lang/Object;)Z?@>A>PchannelsYLjava/util/Collection;Ljava/util/Collection;channelUnregistered=(Ljava/nio/channels/SelectableChannel;Ljava/lang/Throwable;)VGH?I@Unexpected exception while running NioTask.channelUnregistered()Kcause
compareAndSet(ZZ)ZNO
HP	selectNowR?
?S
delayNanos(J)JUV
W? B@(J)I?]
?^hasScheduledTasks`?
ainterruptedc?
?disDebugEnabledf??g?Selector.select() returned prematurely because Thread.currentThread().interrupt() was called. Use NioEventLoop.shutdownGracefully() to shutdown the NioEventLoop.idebugkT?ljava/util/concurrent/TimeUnitnMILLISECONDSLjava/util/concurrent/TimeUnit;pq	ortoNanostV
ou#	wQSelector.select() returned prematurely {} times in a row; rebuilding Selector {}.yvalueOf(I)Ljava/lang/Integer;{|
?}E??:I
?ISelector.select() returned prematurely {} times in a row for Selector {}.?k???
getSimpleName?
??# raised by a Selector {} - JDK bug??
timeoutMillistime	selectCntcurrentTimeNanosselectDeadLineNanos
oldWakenUpFailed to update SelectionKeys.?
access$001>(Lcom/groupbyinc/flux/common/netty/channel/nio/NioEventLoop;)Ix0
access$100java/lang/SecurityException?Lcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLoggerFactory?getInstanceZ(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger;??
??5com.groupbyinc.flux.common.netty.noKeySetOptimization?Acom/groupbyinc/flux/common/netty/util/internal/SystemPropertyUtil?
getBoolean(Ljava/lang/String;Z)Z??
??sun.nio.ch.bugLevel?&(Ljava/lang/String;)Ljava/lang/String;??
??
Jjava/lang/String?6Unable to get/set System Property: sun.nio.ch.bugLevel?k???=com.groupbyinc.flux.common.netty.selectorAutoRebuildThreshold?getInt(Ljava/lang/String;I)I??
??#-Dio.netty.noKeySetOptimization: {}?java/lang/Boolean?(Z)Ljava/lang/Boolean;{?
??k???+-Dio.netty.selectorAutoRebuildThreshold: {}?Ljava/lang/SecurityException;Ljava/lang/String;buglevelselectorAutoRebuildThreshold
ConstantValue	SignatureCodeLocalVariableTableLineNumberTable
StackMapTableLocalVariableTypeTable*(I)Ljava/util/Queue;b(Ljava/nio/channels/SelectableChannel;ILcom/groupbyinc/flux/common/netty/channel/nio/NioTask<*>;)V4(Ljava/util/Set;)V?(Ljava/nio/channels/SelectionKey;Lcom/groupbyinc/flux/common/netty/channel/nio/NioTask;)V?(Lcom/groupbyinc/flux/common/netty/channel/nio/NioTask;Ljava/nio/channels/SelectionKey;Ljava/lang/Throwable;)V
Exceptions
SourceFileInnerClasses1? !?"#$%&'?()*+*,-./0123B456 78?6v*+,?;?>*?Y*?A?C*?Y*?D?F*?HY?K?M*2?O-?
?QYS?V??
?QYa?V?*-?c*?g:*?i?j*?l?m*?o??HvpqvrsvtuvR/vv3vwx]yz?>?DJ$?/?5?9?C?H?R?W?]?f?o?u???CXZ\^`de???*?c?L?M??Y?,???????Y+?????Y??M?Y*????N-???-??+?????&-???-??:???+???Y+???-??:?Y*+,????:???%*????:???+???Y+???*,?????+???Y+??Y+,???ð|?f
+*??\
??????pq?+*.??-:???x]???L???x]???b??????&?.?:?F?O?V?\?i?r?x??????????????????!K|???(???@??R??/*?c??pq?????ZӠ	?٧?۰?pq??
?C??????`%*??*??**?F???????????%pq?
????O?+?
?QY??V????Y??+??~?1??Y?	Y?
???+??)????-??QY?V?*?!??#Y%?&?+*?j-?)W?:?+Y-?.??w????4?
???pq??/?0?2??1?B( D!V#Z$e'l(w,?/?-?.?0?8M???3??/*?O??pq?645?|2?	d?%??Y?	Y?
7??9????*?O??2pq24?>
?,A1B?
!:I?\*??*?
Y*?;???*?B??pq?IJPRS?@I?	6*?jL+??*?gM?N??D-?G?>+?K?Q:?V???Y?[:?^:?a??e,?l?i?????k6?n?e,?l?):??
??r??H:??t?G??!?:?x?x?|?????:????N*,?i?j*,?l?m+???:?????????G???	Y?
?????????
?Ja??d??????????z
??k,0??p????	2?C??J???C??p???6pq1?* ?z"???	???&VY	Z
^b_`a e"fCgJiajdmknpo?p?r?t??u?v?w?x?y?z?|?}????????????????5??X
?
?G??
?S?3[??/[??S[???4???V??I?'	?*?o*?C*?????<???????????**?M????*?M???*?j??W*??*??*?O<d?*??*??W?M*??W,??A??A*???? e7*dd?i?m??W?:?? e7*dd?i?m??W??L+??*?͙*??*?ә???.L+?ʧ?&bfn}?????,??/????????H??????}:??\[4???????pq?? ?,?/?;?E?M?R?W?\?b?f?k?n?y?}????????????????????????????????????2
+? ??!??B?B?
???f???*?G۸?L????????????U??I?Z*???
*??**?j????pq??????
?I?q*?j???L???+?G?
|???pq???
????J|l??t#+?n*Y??`??*???
*??*????#pq#?p?"?"???`*??L*???*??+??pq
??
??????l+????+?QM,?Y?[N-?^:,????*-?????:-?,?V??,*???"*??*?j??L+????
+?QM?????>C2`p!Z??pq,	n
? C?,n
?R	
!' /!<$C%I(R)U,\-`.h1q2t4{7~8?
?S?*[?????I?c<*????X*???2M*???S,?^N-??*,-???-??:,?*???*??`?*??????5?<?D?S?X?_?g?j????????&?!M>S?1[????S?*
????*+?e,?J?N??L-?G???*??2pM??????????N??????^?*?M?Q?*?j??W??pq? ?????+??/*?m??pq??R???1*?j?T<*?M???*?j??W?M*?M???*?j??W,??1pq??????'????????|????
O*?jM>??7*?Xa7eYa[m7	????,?TW>??*???*?M?Q?
,?TW>??,?_6
?
????*?M????*????*?b??v?e????h???j?m>?U??7?s?ve??>?3?x?-?x?&??z?~,??*??*?jM,?TW>?
7?? ? ???h????d?~,???2N???h?&???	Y?
??????,-????f
&???`?,
?J??????? .?0OpqO? J)*??.?????&?-?1?6?;?N?S?U?X?`?c??????????
??
??????????? ?"?#
$%$.( )+*N/?.???#?.?/??!B.?|?I?{*??*?j?TW?L???+?G?
????pq?24
7568?P????/*????q?8???/*?B???q?8?I?3??????????K???L+??Y????W?M???,?????=?=?x???h?%???????????Ųx?~???!,/??*0??h??a??F8??J:>?WXY![,d/b0c<gFhKiMlQn\omp~r??/?????0??B
	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy