io.netty.channel.SingleThreadEventLoop.class Maven / Gradle / Ivy
???? 2 ? &io/netty/channel/SingleThreadEventLoop 2io/netty/util/concurrent/SingleThreadEventExecutor io/netty/channel/EventLoop SingleThreadEventLoop.java 8io/netty/channel/SingleThreadEventLoop$NonWakeupRunnable NonWakeupRunnable io/netty/channel/Channel$Unsafe io/netty/channel/Channel
Unsafe DEFAULT_MAX_PENDING_TASKS I tailTasks Ljava/util/Queue; 'Ljava/util/Queue; I(Lio/netty/channel/EventLoopGroup;Ljava/util/concurrent/ThreadFactory;Z)V 2io/netty/util/concurrent/RejectedExecutionHandlers reject 5()Lio/netty/util/concurrent/RejectedExecutionHandler;
}(Lio/netty/channel/EventLoopGroup;Ljava/util/concurrent/ThreadFactory;ZILio/netty/util/concurrent/RejectedExecutionHandler;)V
this (Lio/netty/channel/SingleThreadEventLoop; parent !Lio/netty/channel/EventLoopGroup;
threadFactory $Ljava/util/concurrent/ThreadFactory; addTaskWakesUp Z D(Lio/netty/channel/EventLoopGroup;Ljava/util/concurrent/Executor;Z)V x(Lio/netty/channel/EventLoopGroup;Ljava/util/concurrent/Executor;ZILio/netty/util/concurrent/RejectedExecutionHandler;)V +
, executor Ljava/util/concurrent/Executor; ?(Lio/netty/util/concurrent/EventExecutorGroup;Ljava/util/concurrent/ThreadFactory;ZILio/netty/util/concurrent/RejectedExecutionHandler;)V 0
1 newTaskQueue (I)Ljava/util/Queue; 3 4
5 7 maxPendingTasks rejectedExecutionHandler 3Lio/netty/util/concurrent/RejectedExecutionHandler; ?(Lio/netty/util/concurrent/EventExecutorGroup;Ljava/util/concurrent/Executor;ZILio/netty/util/concurrent/RejectedExecutionHandler;)V <
= #()Lio/netty/channel/EventLoopGroup; /()Lio/netty/util/concurrent/EventExecutorGroup; $ @
A io/netty/channel/EventLoopGroup C next ()Lio/netty/channel/EventLoop; *()Lio/netty/util/concurrent/EventExecutor; E G
H register <(Lio/netty/channel/Channel;)Lio/netty/channel/ChannelFuture; &io/netty/channel/DefaultChannelPromise L E(Lio/netty/channel/Channel;Lio/netty/util/concurrent/EventExecutor;)V N
M O C(Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; J Q
R channel Lio/netty/channel/Channel; promise V !io/netty/util/internal/ObjectUtil X checkNotNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; Z [
Y \ io/netty/channel/ChannelPromise ^ ()Lio/netty/channel/Channel; T ` _ a unsafe #()Lio/netty/channel/Channel$Unsafe; c d e @(Lio/netty/channel/EventLoop;Lio/netty/channel/ChannelPromise;)V J g h !Lio/netty/channel/ChannelPromise; ](Lio/netty/channel/Channel;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; Ljava/lang/Deprecated; java/lang/NullPointerException m T (Ljava/lang/String;)V p
n q executeAfterEventLoopIteration (Ljava/lang/Runnable;)V task u
isShutdown ()Z w x
y ()V {
| java/util/Queue ~ offer (Ljava/lang/Object;)Z ? ? ? t
? wakesUpForTask (Ljava/lang/Runnable;)Z ? ?
? inEventLoop ? x
? wakeup (Z)V ? ?
? Ljava/lang/Runnable; !removeAfterEventLoopIterationTask remove ? ? ? afterRunningAllTasks runAllTasksFrom (Ljava/util/Queue;)Z ? ?
? hasTasks ? x
? isEmpty ? x ? pendingTasks ()I ? ?
? size ? ? ? $ ?
? E F
? "io.netty.eventLoop.maxPendingTasks ???? )io/netty/util/internal/SystemPropertyUtil ? getInt (Ljava/lang/String;I)I ? ?
? ? java/lang/Math ? max (II)I ? ?
? ? Signature Code LocalVariableTable LineNumberTable
StackMapTable
Deprecated RuntimeVisibleAnnotations
SourceFile InnerClasses! ? ? Z *+,? ? ? !? ? * " # $ % &