com.groupbyinc.flux.common.netty.util.concurrent.GlobalEventExecutor.class Maven / Gradle / Ivy
???? 2 Dcom/groupbyinc/flux/common/netty/util/concurrent/GlobalEventExecutor Ocom/groupbyinc/flux/common/netty/util/concurrent/AbstractScheduledEventExecutor GlobalEventExecutor.java Ocom/groupbyinc/flux/common/netty/util/concurrent/GlobalEventExecutor$TaskRunner
TaskRunner Fcom/groupbyinc/flux/common/netty/util/concurrent/GlobalEventExecutor$1 logger GLcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger; SCHEDULE_QUIET_PERIOD_INTERVAL J INSTANCE FLcom/groupbyinc/flux/common/netty/util/concurrent/GlobalEventExecutor; taskQueue $Ljava/util/concurrent/BlockingQueue; :Ljava/util/concurrent/BlockingQueue; quietPeriodTask FLcom/groupbyinc/flux/common/netty/util/concurrent/ScheduledFutureTask; XLcom/groupbyinc/flux/common/netty/util/concurrent/ScheduledFutureTask;
threadFactory $Ljava/util/concurrent/ThreadFactory;
taskRunner QLcom/groupbyinc/flux/common/netty/util/concurrent/GlobalEventExecutor$TaskRunner; started +Ljava/util/concurrent/atomic/AtomicBoolean; thread Ljava/lang/Thread; terminationFuture 9Lcom/groupbyinc/flux/common/netty/util/concurrent/Future; ; ()V " #
$ (java/util/concurrent/LinkedBlockingQueue &
' $ ) Dcom/groupbyinc/flux/common/netty/util/concurrent/ScheduledFutureTask + I(Lcom/groupbyinc/flux/common/netty/util/concurrent/GlobalEventExecutor;)V " -
. java/util/concurrent/Executors 0 callable G(Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/concurrent/Callable; 2 3
1 4
6
deadlineNanos (J)J 8 9
, : u(Lcom/groupbyinc/flux/common/netty/util/concurrent/AbstractScheduledEventExecutor;Ljava/util/concurrent/Callable;JJ)V " <
, = ? Ecom/groupbyinc/flux/common/netty/util/concurrent/DefaultThreadFactory A java/lang/Object C getClass ()Ljava/lang/Class; E F
D G
toPoolName %(Ljava/lang/Class;)Ljava/lang/String; I J
B K .(Ljava/lang/String;ZILjava/lang/ThreadGroup;)V " M
B N P
. S )java/util/concurrent/atomic/AtomicBoolean U
V $ X =com/groupbyinc/flux/common/netty/util/concurrent/FailedFuture Z 'java/lang/UnsupportedOperationException \
] $ X(Lcom/groupbyinc/flux/common/netty/util/concurrent/EventExecutor;Ljava/lang/Throwable;)V " _
[ ` b scheduledTaskQueue ()Ljava/util/Queue; d e
f java/util/Queue h add (Ljava/lang/Object;)Z j k i l this takeTask ()Ljava/lang/Runnable; java/lang/InterruptedException q "java/util/concurrent/BlockingQueue s peekScheduledTask H()Lcom/groupbyinc/flux/common/netty/util/concurrent/ScheduledFutureTask; u v
w take ()Ljava/lang/Object; y z t { java/lang/Runnable }
delayNanos ()J ?
, ? java/util/concurrent/TimeUnit ? NANOSECONDS Ljava/util/concurrent/TimeUnit; ? ? ? ? poll 4(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; ? ? t ? ? z t ? fetchFromScheduledTaskQueue ? #
? task Ljava/lang/Runnable; e Ljava/lang/InterruptedException;
scheduledTask ILcom/groupbyinc/flux/common/netty/util/concurrent/ScheduledFutureTask<*>; nanoTime ? ?
? pollScheduledTask (J)Ljava/lang/Runnable; ? ?
? t l pendingTasks ()I size ? ? t ? addTask (Ljava/lang/Runnable;)V java/lang/NullPointerException ? ? (Ljava/lang/String;)V " ?
? ? inEventLoop (Ljava/lang/Thread;)Z ? shutdownGracefully \(JJLjava/util/concurrent/TimeUnit;)Lcom/groupbyinc/flux/common/netty/util/concurrent/Future; ;()Lcom/groupbyinc/flux/common/netty/util/concurrent/Future; ?
? quietPeriod timeout unit shutdown Ljava/lang/Deprecated; isShuttingDown ()Z
isShutdown isTerminated awaitTermination #(JLjava/util/concurrent/TimeUnit;)Z awaitInactivity ? java/lang/IllegalStateException ? thread was not started ?
? ? java/lang/Thread ? toMillis ? 9
? ? join (J)V ? ?
? ? isAlive ? ?
? ? execute ? ?
? ? ?
? startThread ? #
?
compareAndSet (ZZ)Z ? ?
V ? "java/util/concurrent/ThreadFactory ? newThread ((Ljava/lang/Runnable;)Ljava/lang/Thread; ? ? ? ? start ? #
? ? t
access$000 I()Lcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger; ?
access$100 s(Lcom/groupbyinc/flux/common/netty/util/concurrent/GlobalEventExecutor;)Ljava/util/concurrent/atomic/AtomicBoolean; x0 Lcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLoggerFactory ? getInstance Z(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger; ? ?
? ? SECONDS ? ? ? ? toNanos ? 9
? ?
$ ? Signature Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable _(JJLjava/util/concurrent/TimeUnit;)Lcom/groupbyinc/flux/common/netty/util/concurrent/Future<*>; >()Lcom/groupbyinc/flux/common/netty/util/concurrent/Future<*>;
Deprecated RuntimeVisibleAnnotations
Exceptions
SourceFile InnerClasses 1
@ ! " # ? *? %*? 'Y? (? **? ,Y*?
Y*? /? 5? 7? ;? 7u? >? @*? BY*? H? L? O? Q*? Y*? R? T*? VY? W? Y*? [Y*? ]Y? ^? a? c*? g*? @? m W? n 2 @ + , - $ 2 1 8 7 9 F : R ; ] > p A ~ B o p ? o*? *L*? xM,? N+? | ? ~N? :-?,? ?7 ?? +? ?? ? ? ~:? :?+? ? ? ~:? *? ?+? ? ? ~:? ???? r . > A r R ? ? > ? ? C ? ? ' E P ? ?
b ? o n j
b ? ? j V J L
M N P S Q T ! V ' X . Z > ^ A [ C ] E ` P c U d Y e d h i i l l M ? t? t , ~ r? ? t , r?
~? t ? # ? #? ?@*? ?N-? *? *-? ? W*? ?N??? # n ?
? ? p q
r s t " v
?
~ ? ? 4
*? *? ? ?
n ? ? c +?
? ?Y?? ??*? *+? ? W? n ? ? ? ? ? ? ? ? M +*? ?? ? ? n ? @ ? ? M *? ?? * n ? ? ? ? ? ? / *? c? n ? ? # 2 ? ]Y? ^? n ?
? ? ? , ? n ? ? ? , ? n ? ? ? , ? n ? ? ? @ ? n ? ? ? ? ? ? ? ;-?
? ?Y· ??*? ?:?
? ?YƷ ǿ-? ̶ ?? Ӛ ? ? * ; n ; ? ; ? ? ' ? ? ? ? ? # ? - ? ? ?@ r ? ? q +?
? ?Y?? ??*+? ?*? ؚ *? ۱ n ? ? ? ? ? ? ? ? ? # q $*? Y? ߙ *? Q*? T? ? L*+? ?+? ? ? $ n ? ? ? ? # ? # ? ? ? ?? # ? ? / *? Y? ? # ? # = ? ?? ?? ?
? ?? 7? Y? ?? ? % ' )