classes.io.netty.channel.SingleThreadEventLoop.class Maven / Gradle / Ivy
The newest version!
???? 2 ? 0 v
w x
0 y
0 z
1 {
0 | 0 }
1 ~
1 R
? ? ?
1 ? ?
1 ? ? ?
?
0 ? ] ? ? ? ? ? ? ? Z
? f
0 ?
0 ? ?
0 ?
0 ?
0 ?
0 ? ?
0 ?
1 ? ?
1 ? ?
0 ?
0 ? ? ????
? ?
? ? ? ? ? NonWakeupRunnable InnerClasses DEFAULT_MAX_PENDING_TASKS I tailTasks Ljava/util/Queue; Signature 'Ljava/util/Queue; I(Lio/netty/channel/EventLoopGroup;Ljava/util/concurrent/ThreadFactory;Z)V Code LineNumberTable LocalVariableTable 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 executor Ljava/util/concurrent/Executor; }(Lio/netty/channel/EventLoopGroup;Ljava/util/concurrent/ThreadFactory;ZILio/netty/util/concurrent/RejectedExecutionHandler;)V maxPendingTasks rejectedExecutionHandler 3Lio/netty/util/concurrent/RejectedExecutionHandler; x(Lio/netty/channel/EventLoopGroup;Ljava/util/concurrent/Executor;ZILio/netty/util/concurrent/RejectedExecutionHandler;)V ?(Lio/netty/channel/EventLoopGroup;Ljava/util/concurrent/Executor;ZLjava/util/Queue;Ljava/util/Queue;Lio/netty/util/concurrent/RejectedExecutionHandler;)V taskQueue
tailTaskQueue LocalVariableTypeTable ?(Lio/netty/channel/EventLoopGroup;Ljava/util/concurrent/Executor;ZLjava/util/Queue;Ljava/util/Queue;Lio/netty/util/concurrent/RejectedExecutionHandler;)V #()Lio/netty/channel/EventLoopGroup; next ()Lio/netty/channel/EventLoop; register <(Lio/netty/channel/Channel;)Lio/netty/channel/ChannelFuture; channel Lio/netty/channel/Channel; C(Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; promise !Lio/netty/channel/ChannelPromise; ](Lio/netty/channel/Channel;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture;
StackMapTable
Deprecated RuntimeVisibleAnnotations Ljava/lang/Deprecated; executeAfterEventLoopIteration (Ljava/lang/Runnable;)V task Ljava/lang/Runnable; !removeAfterEventLoopIterationTask (Ljava/lang/Runnable;)Z afterRunningAllTasks ()V hasTasks ()Z pendingTasks ()I registeredChannels /()Lio/netty/util/concurrent/EventExecutorGroup; *()Lio/netty/util/concurrent/EventExecutor;
SourceFile SingleThreadEventLoop.java 5 6 ? ? ? ; K ; O ; ? ? ? 7 8 ; ? ; ? ? ? ? java/util/Queue B q io/netty/channel/EventLoopGroup V r io/netty/channel/EventLoop &io/netty/channel/DefaultChannelPromise ; ? X \ ? Z ? ? ? ? ? X ? java/lang/NullPointerException ; ? ? m ? k ? ? ? e ? i ? m ? ? ? ? ? ? l m ? m n o ? o B U V W "io.netty.eventLoop.maxPendingTasks java/lang/Integer ? ? ? ? ? ? &io/netty/channel/SingleThreadEventLoop 2io/netty/util/concurrent/SingleThreadEventExecutor 8io/netty/channel/SingleThreadEventLoop$NonWakeupRunnable 2io/netty/util/concurrent/RejectedExecutionHandlers reject 5()Lio/netty/util/concurrent/RejectedExecutionHandler; ?(Lio/netty/util/concurrent/EventExecutorGroup;Ljava/util/concurrent/ThreadFactory;ZILio/netty/util/concurrent/RejectedExecutionHandler;)V newTaskQueue (I)Ljava/util/Queue; ?(Lio/netty/util/concurrent/EventExecutorGroup;Ljava/util/concurrent/Executor;ZILio/netty/util/concurrent/RejectedExecutionHandler;)V ?(Lio/netty/util/concurrent/EventExecutorGroup;Ljava/util/concurrent/Executor;ZLjava/util/Queue;Lio/netty/util/concurrent/RejectedExecutionHandler;)V !io/netty/util/internal/ObjectUtil checkNotNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; E(Lio/netty/channel/Channel;Lio/netty/util/concurrent/EventExecutor;)V io/netty/channel/ChannelPromise ()Lio/netty/channel/Channel; io/netty/channel/Channel unsafe Unsafe #()Lio/netty/channel/Channel$Unsafe; io/netty/channel/Channel$Unsafe @(Lio/netty/channel/EventLoop;Lio/netty/channel/ChannelPromise;)V (Ljava/lang/String;)V
isShutdown offer (Ljava/lang/Object;)Z wakesUpForTask inEventLoop wakeup (Z)V remove runAllTasksFrom (Ljava/util/Queue;)Z isEmpty size )io/netty/util/internal/SystemPropertyUtil getInt (Ljava/lang/String;I)I java/lang/Math max (II)I! 0 1 5 6 7 8 9 : ; <