
com.groupbyinc.flux.common.netty.channel.SingleThreadEventLoop.class Maven / Gradle / Ivy
???? 2 ? >com/groupbyinc/flux/common/netty/channel/SingleThreadEventLoop Jcom/groupbyinc/flux/common/netty/util/concurrent/SingleThreadEventExecutor 2com/groupbyinc/flux/common/netty/channel/EventLoop SingleThreadEventLoop.java Pcom/groupbyinc/flux/common/netty/channel/SingleThreadEventLoop$NonWakeupRunnable NonWakeupRunnable 7com/groupbyinc/flux/common/netty/channel/Channel$Unsafe 0com/groupbyinc/flux/common/netty/channel/Channel
Unsafe DEFAULT_MAX_PENDING_TASKS I tailTasks Ljava/util/Queue; 'Ljava/util/Queue; a(Lcom/groupbyinc/flux/common/netty/channel/EventLoopGroup;Ljava/util/concurrent/ThreadFactory;Z)V Jcom/groupbyinc/flux/common/netty/util/concurrent/RejectedExecutionHandlers reject M()Lcom/groupbyinc/flux/common/netty/util/concurrent/RejectedExecutionHandler;
?(Lcom/groupbyinc/flux/common/netty/channel/EventLoopGroup;Ljava/util/concurrent/ThreadFactory;ZILcom/groupbyinc/flux/common/netty/util/concurrent/RejectedExecutionHandler;)V
this @Lcom/groupbyinc/flux/common/netty/channel/SingleThreadEventLoop; parent 9Lcom/groupbyinc/flux/common/netty/channel/EventLoopGroup;
threadFactory $Ljava/util/concurrent/ThreadFactory; addTaskWakesUp Z \(Lcom/groupbyinc/flux/common/netty/channel/EventLoopGroup;Ljava/util/concurrent/Executor;Z)V ?(Lcom/groupbyinc/flux/common/netty/channel/EventLoopGroup;Ljava/util/concurrent/Executor;ZILcom/groupbyinc/flux/common/netty/util/concurrent/RejectedExecutionHandler;)V +
, executor Ljava/util/concurrent/Executor; ?(Lcom/groupbyinc/flux/common/netty/util/concurrent/EventExecutorGroup;Ljava/util/concurrent/ThreadFactory;ZILcom/groupbyinc/flux/common/netty/util/concurrent/RejectedExecutionHandler;)V 0
1 newTaskQueue (I)Ljava/util/Queue; 3 4
5 7 maxPendingTasks rejectedExecutionHandler KLcom/groupbyinc/flux/common/netty/util/concurrent/RejectedExecutionHandler; ?(Lcom/groupbyinc/flux/common/netty/util/concurrent/EventExecutorGroup;Ljava/util/concurrent/Executor;ZILcom/groupbyinc/flux/common/netty/util/concurrent/RejectedExecutionHandler;)V <
= ;()Lcom/groupbyinc/flux/common/netty/channel/EventLoopGroup; G()Lcom/groupbyinc/flux/common/netty/util/concurrent/EventExecutorGroup; $ @
A 7com/groupbyinc/flux/common/netty/channel/EventLoopGroup C next 6()Lcom/groupbyinc/flux/common/netty/channel/EventLoop; B()Lcom/groupbyinc/flux/common/netty/util/concurrent/EventExecutor; E G
H register l(Lcom/groupbyinc/flux/common/netty/channel/Channel;)Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture; >com/groupbyinc/flux/common/netty/channel/DefaultChannelPromise L u(Lcom/groupbyinc/flux/common/netty/channel/Channel;Lcom/groupbyinc/flux/common/netty/util/concurrent/EventExecutor;)V N
M O s(Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise;)Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture; J Q
R channel 2Lcom/groupbyinc/flux/common/netty/channel/Channel; promise V 9com/groupbyinc/flux/common/netty/util/internal/ObjectUtil X checkNotNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; Z [
Y \ 7com/groupbyinc/flux/common/netty/channel/ChannelPromise ^ 4()Lcom/groupbyinc/flux/common/netty/channel/Channel; T ` _ a unsafe ;()Lcom/groupbyinc/flux/common/netty/channel/Channel$Unsafe; c d e p(Lcom/groupbyinc/flux/common/netty/channel/EventLoop;Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise;)V J g h 9Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise; ?(Lcom/groupbyinc/flux/common/netty/channel/Channel;Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise;)Lcom/groupbyinc/flux/common/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
? :com.groupbyinc.flux.common.netty.eventLoop.maxPendingTasks ???? Acom/groupbyinc/flux/common/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 *+,? ? ? !? ? * " # $ % &