![JAR search and dependency download from the Maven repository](/logo.png)
classes.io.netty.channel.kqueue.KQueueEventLoop.class Maven / Gradle / Ivy
The newest version!
???? 2?
?
?
!
"
#
$
%
& '
( ?) *
+,
*
.-./0
.1
2.3
.4
5 6
78
9
:
;
<=
> ;?? ? ???
@A
B
C
5
D
E
F G H.I JKL
=M
NOPQ
.RS T
QU V
W
QX Y
Z [
Q\ ] ^
7_
` a
b
c
d
e
fg
h
i
j
k???
lm
lnopq
m&.r
stuPv
w.xyz ?{|{}~ ?
??
??
?? ?
7?
??? InnerClasses logger /Lio/netty/util/internal/logging/InternalLogger; WAKEN_UP_UPDATER 7Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater; Signature bLjava/util/concurrent/atomic/AtomicIntegerFieldUpdater; KQUEUE_WAKE_UP_IDENT I
ConstantValue allowGrowing Z kqueueFd &Lio/netty/channel/unix/FileDescriptor;
changeList *Lio/netty/channel/kqueue/KQueueEventArray; eventList selectStrategy !Lio/netty/channel/SelectStrategy; iovArray Lio/netty/channel/unix/IovArray; selectNowSupplier Lio/netty/util/IntSupplier; channels 'Lio/netty/util/collection/IntObjectMap; XLio/netty/util/collection/IntObjectMap; wakenUp ioRatio $assertionsDisabled ?(Lio/netty/channel/EventLoopGroup;Ljava/util/concurrent/Executor;ILio/netty/channel/SelectStrategy;Lio/netty/util/concurrent/RejectedExecutionHandler;Lio/netty/channel/EventLoopTaskQueueFactory;)V Code LineNumberTable LocalVariableTable this )Lio/netty/channel/kqueue/KQueueEventLoop; parent !Lio/netty/channel/EventLoopGroup; executor Ljava/util/concurrent/Executor; maxEvents strategy rejectedExecutionHandler 3Lio/netty/util/concurrent/RejectedExecutionHandler; queueFactory ,Lio/netty/channel/EventLoopTaskQueueFactory; result
StackMapTable???? newTaskQueue ?(Lio/netty/channel/EventLoopTaskQueueFactory;)Ljava/util/Queue; U(Lio/netty/channel/EventLoopTaskQueueFactory;)Ljava/util/Queue; add 2(Lio/netty/channel/kqueue/AbstractKQueueChannel;)V ch /Lio/netty/channel/kqueue/AbstractKQueueChannel; old evSet 5(Lio/netty/channel/kqueue/AbstractKQueueChannel;SSI)V filter S flags fflags remove fd
Exceptions?
cleanArray "()Lio/netty/channel/unix/IovArray; wakeup (Z)V inEventLoop ()V
kqueueWait (Z)I oldWakeup
totalDelay J delaySeconds
kqueueWaitNow ()I (II)I
timeoutSec timeoutNs numEvents processReady (I)V channel unsafe AbstractKQueueUnsafe DLio/netty/channel/kqueue/AbstractKQueueChannel$AbstractKQueueUnsafe; i ready run ioTime ioStartTime t Ljava/lang/Throwable; (I)Ljava/util/Queue; maxPendingTasks *(I)Ljava/util/Queue;
newTaskQueue0?
getIoRatio
setIoRatio registeredChannels cleanup e Ljava/io/IOException; closeAll
localChannels 0[Lio/netty/channel/kqueue/AbstractKQueueChannel; handleLoopException (Ljava/lang/Throwable;)V
access$000 ,(Lio/netty/channel/kqueue/KQueueEventLoop;)I x0
SourceFile KQueueEventLoop.java ? ? ? ? ?? io/netty/channel/unix/IovArray ? ? ? ? )io/netty/channel/kqueue/KQueueEventLoop$1 ?? ? ? )io/netty/util/collection/IntObjectHashMap ? ? ? ? ? ???? io/netty/channel/SelectStrategy ? ???? ? ? ? ? (io/netty/channel/kqueue/KQueueEventArray ? ? ? ??? ? 'io/netty/channel/kqueue/KQueueEventLoop? ? ? ? java/lang/IllegalStateException java/lang/StringBuilder ,kevent failed to add user event with errno: ?????? ??? ? ? ? ? ? ? ? ?? java/lang/AssertionError ????? -io/netty/channel/kqueue/AbstractKQueueChannel?? ? ? ??? ?? ? ? ???? ? ?? ???????? java/lang/Integer??? ? ??? ?? ?? ??? ?? ??? ? ? #events[{}]=[{}, {}] had no channel! java/lang/Object???????? ?? Bio/netty/channel/kqueue/AbstractKQueueChannel$AbstractKQueueUnsafe? ?? ?? ?????? ? ??? ?? ?? ????? ? ? ? ? ? ?????? ?? ? java/lang/Throwable ? ??? ? ??????? ? "java/lang/IllegalArgumentException ioRatio: (expected: 0 < ioRatio <= 100)? ?? ? java/io/IOException Failed to close the kqueue fd.??? ??????????? *Unexpected exception in the selector loop.??? java/lang/InterruptedException?????????? ? &io/netty/channel/SingleThreadEventLoop io/netty/channel/EventLoopGroup java/util/concurrent/Executor 1io/netty/util/concurrent/RejectedExecutionHandler *io/netty/channel/EventLoopTaskQueueFactory java/lang/Exception java/util/Queue ?(Lio/netty/channel/EventLoopGroup;Ljava/util/concurrent/Executor;ZLjava/util/Queue;Ljava/util/Queue;Lio/netty/util/concurrent/RejectedExecutionHandler;)V ,(Lio/netty/channel/kqueue/KQueueEventLoop;)V !io/netty/util/internal/ObjectUtil checkNotNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; io/netty/channel/kqueue/Native newKQueue (()Lio/netty/channel/unix/FileDescriptor; $io/netty/channel/unix/FileDescriptor intValue keventAddUserEvent append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; (Ljava/lang/String;)V DEFAULT_MAX_PENDING_TASKS ()Z %io/netty/util/collection/IntObjectMap put '(ILjava/lang/Object;)Ljava/lang/Object; isOpen (I)Ljava/lang/Object; unregisterFilters clear 5java/util/concurrent/atomic/AtomicIntegerFieldUpdater
compareAndSet (Ljava/lang/Object;II)Z keventTriggerUserEvent hasTasks java/lang/System nanoTime ()J
delayNanos (J)J java/lang/Math min (JJ)J
keventWait Z(ILio/netty/channel/kqueue/KQueueEventArray;Lio/netty/channel/kqueue/KQueueEventArray;II)I (I)S (I)I EVFILT_USER EV_ERROR get valueOf (I)Ljava/lang/Integer; java/lang/Short (S)Ljava/lang/Short; -io/netty/util/internal/logging/InternalLogger warn ((Ljava/lang/String;[Ljava/lang/Object;)V Unsafe #()Lio/netty/channel/Channel$Unsafe; EVFILT_WRITE
writeReady EVFILT_READ data (I)J readReady (J)V EVFILT_SOCK
NOTE_RDHUP readEOF EV_EOF calculateStrategy (Lio/netty/util/IntSupplier;Z)I getAndSet (Ljava/lang/Object;I)I runAllTasks (J)Z capacity realloc isShuttingDown confirmShutdown (io/netty/util/internal/PlatformDependent newMpscQueue ()Ljava/util/Queue; size close *(Ljava/lang/String;Ljava/lang/Throwable;)V free values ()Ljava/util/Collection; java/util/Collection toArray (([Ljava/lang/Object;)[Ljava/lang/Object;? io/netty/channel/Channel$Unsafe voidPromise #()Lio/netty/channel/ChannelPromise; $(Lio/netty/channel/ChannelPromise;)V java/lang/Thread sleep java/lang/Class desiredAssertionStatus 4io/netty/util/internal/logging/InternalLoggerFactory getInstance B(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;
newUpdater \(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater; io/netty/channel/kqueue/KQueue ensureAvailability io/netty/channel/Channel 0 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? B ? ? B ? ? ? ? ? ? ? ? ?*+,? ? ? *? Y? ? *? Y*? ? *?
Y ? ? *2?
*? ? ? *? ? ? *? >? *? *? Y? ? *? Y? ? *? ? ? 6? $*? ? Y? Y? ? !t? "? #? $?? ? J M > ? * E 8 H > O L P S Q W R \ S c U h W t X ? Y ? Z ? [ ? \ ? ^ ? R ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ' ? ? ? ! ? c ? ? ? ? ? J
? ? ? P *?
? %? &?*? %? ' ? ? b c e ? ? ? ? ? ? ? ? ? ? D? (? *? )? ? *Y? +?*? +? ,? +? - ? .M? (? ,? ,? /? ? *Y? +?? ? i j * m C n ? D ? ? D ? ? * ? ? ? ? - . ? ? ? ? "? (? *? )? ? *Y? +?*? +? 0? ? q r ! s ? 4 " ? ? " ? ? " ? ? " ? ? " ? ? ? ? ? ? ? a? (? *? )? ? *Y? +?+? ,? =*? ? 1 ? .N-? )-+? $*? -? - W? (? +? /? ? *Y? +?+? /? +? 2? ? &