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??
??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/SelectableChannel?validOps??
?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/IllegalStateExceptionevent 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: 0 (expected: 0 < ioRatio <= 100)2rebuildSelector

@execute(Ljava/lang/Runnable;)V67
8rebuildSelector0:I
; Failed to create a new Selector.=warn???@keys()Ljava/util/Set;BC
?D
java/util/SetFiterator()Ljava/util/Iterator;HIGJjava/util/IteratorLhasNextN?MOnextQ?MRjava/nio/channels/SelectionKeyT
attachmentV?
UWisValidY?
UZchannel'()Ljava/nio/channels/SelectableChannel;\]
U^keyFor>(Ljava/nio/channels/Selector;)Ljava/nio/channels/SelectionKey;`a
?b*?
UdcancelfI
UgselectionKey Ljava/nio/channels/SelectionKey;ij	k4Failed to re-register a Channel to the new Selector.munsafeM()Lcom/groupbyinc/flux/common/netty/channel/nio/AbstractNioChannel$NioUnsafe;op
qvoidPromise;()Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise;stuclose<(Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise;)Vwxy4com/groupbyinc/flux/common/netty/channel/nio/NioTask{invokeChannelUnregisteredn(Lcom/groupbyinc/flux/common/netty/channel/nio/NioTask;Ljava/nio/channels/SelectionKey;Ljava/lang/Throwable;)V}~
wI
??
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
?,C
??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??G?remove?IM?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;B
	?reset
/
?'java/nio/channels/CancelledKeyException	eventLoop=()Lcom/groupbyinc/flux/common/netty/channel/nio/NioEventLoop;
2com/groupbyinc/flux/common/netty/channel/EventLoopreadyOps?
U#(I)Ljava/nio/channels/SelectionKey;*
U
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,-|.statejava/util/ArrayList1?G37/
25java/util/Collection7add(Ljava/lang/Object;)Z9:8;8JchannelsYLjava/util/Collection;Ljava/util/Collection;channelUnregistered=(Ljava/nio/channels/SelectableChannel;Ljava/lang/Throwable;)VAB|C@Unexpected exception while running NioTask.channelUnregistered()Ecause
compareAndSet(ZZ)ZHI
HJ	selectNowL?
?M
delayNanos(J)JOP
Q? B@(J)I?W
?XhasScheduledTasksZ?
[interrupted]?
?^isDebugEnabled`??a?Selector.select() returned prematurely because Thread.currentThread().interrupt() was called. Use NioEventLoop.shutdownGracefully() to shutdown the NioEventLoop.cdebugeT?fjava/util/concurrent/TimeUnithMILLISECONDSLjava/util/concurrent/TimeUnit;jk	iltoNanosnP
io#	qQSelector.select() returned prematurely {} times in a row; rebuilding Selector {}.svalueOf(I)Ljava/lang/Integer;uv
?w???y4I
{ISelector.select() returned prematurely {} times in a row for Selector {}.}e??
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?e???=com.groupbyinc.flux.common.netty.selectorAutoRebuildThreshold?getInt(Ljava/lang/String;I)I??
??#-Dio.netty.noKeySetOptimization: {}?java/lang/Boolean?(Z)Ljava/lang/Boolean;u?
??e???+-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?????9?װ?pq???????`%*?ޙ*??**?F?????????%pq?????N?+?
?QY??V??
??Y????+??~?1??Y?Y??
?
?
+??
)?????-??QY?V?*???Y? ?+*?j-?#W?:?%Y'?(??v????4?
???pq??)?*?,??+?B'C U"Y#d&k'v+?.?,?-?/?
8M???-??/*?O??pq?5./?|2?	d?%??Y?Y?1?
?
3?
????*?O??2pq24?=
>,@1A?
!4I?\*?ޚ*?
Y*?5?9?*?-?A?>+?E?K:?P???S?U:?X:?[??_,?l?c?????e6?h?_,?l?#:??
??l??H:??n?A??!?:?r?r?v?z??|:????N*,?i?j*,?l?m+???:?????????A???Y???
?
??
????
?Ja??d??????????z
??k,*??j????	,?C??J???C??j???6pq1?* ?z"???	???&UX	Y
]a^_` d"eCfJhaidlkmpn?o?q?s?~?t?u?v?w?x?y?{?|???????????????5??X
?
?G??
?M?3U??/U??MU???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???*?AոܧL????????????U??I?Z*???
*?ߧ**?j????pq??????
?I?q*?j???L???+?A?
|???pq???
????J|f??t#+?h*Y??`??*???
*??*????#pq#?j?"?"???`*??L*???*??+??pq
??
??????l+????+?KM,?S?UN-?X:,????*-?????|:-?,?P??,*???"*??*?j??L+????
+?KM?????>C,`j!Z??pq,n? C?,n?R	
!'/ <#C$I'R(U+\,`-h0q1t3{6~7?
?M?*U?????I?c<*???	?X*???2M*???S,?XN-??*,-????-?|:,?*???*??`?*??!@&B-C9F?GEJLMVOZP\:bS???6U????????,?rN+?[?(,?:?:?*???--?v?z?+?6~?+?e6?~6+?W-? ~?,?r?#~??	-?&?:--?v?z??1|?f
'(?'E)7E?(*?pq?j????o+?bVWZ`[_e#f$i0j1n7q?tEuLvSxY|`~i?v?|???????1?U??
??'?B

?????=+*?_*?/=?6)*?h+*???*?[?	+*????N*?h+*-??=?3&*?h+*???*?[?	+*????:?6)*?h+*???*?[?	+*????I??IV?????*J???j?,?0????v??
??,?0?6?9?@?F?I?J?N?T?V?p?t?z?}???????????????????????,B?&B???????I???*??*?j?EL?2Y+?4?6M+?KN-?P?C-?S?U:?X:??,??<W??h?|:?????,?=N-?P?%-?S?:?r?r?v?z??ر?H_,<+??52j????pq?B?>@? _??B?>??>????5?<?D?S?X?_?g?j????????&?!G8M?1U????M?*
}~??*+?_,?D?N??F-?A???*??,jG??????????N??????^?*?M?K?*?j??W??pq? ?????+??/*?m??pq??L???1*?j?N<*?M???*?j??W?M*?M???*?j??W,??1pq??????'????????|????
O*?jM>??7*?Ra7eSaUm7	????,?NW>??*???*?M?K?
,?NW>??,?Y6
?
????*?M????*????*?\??v?_????b???d?g>?U??7?m?pe??>?3?r?-?r?&??t?x,?z*?|*?jM,?NW>?
7?? ? ???b???~d?x,???2N???b?&???Y????
??
?,-????f
&???`?,
?J??????? .?*OpqO? J)*??.?????&?-?1?6?;?N?S?U?X?`?c??????????	?
??
???????????!?"
#$#-' (+)N.?.???#?.?/??!B.?|?I?{*??*?j?NW?L???+?A?
????pq?13
6457?P????/*????q?8???/*??WXY![,d/b0c<gFhKiMlQn\omp~r??/?????0??B
	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy