io.netty.util.concurrent.ScheduledFutureTask.class Maven / Gradle / Ivy
???? 2 ? ,io/netty/util/concurrent/ScheduledFutureTask pLio/netty/util/concurrent/PromiseTask;Lio/netty/util/concurrent/ScheduledFuture; $io/netty/util/concurrent/PromiseTask (io/netty/util/concurrent/ScheduledFuture ScheduledFutureTask.java
nextTaskId (Ljava/util/concurrent/atomic/AtomicLong;
START_TIME J id
deadlineNanos periodNanos $assertionsDisabled Z nanoTime ()J java/lang/System
(J)J
delay c(Lio/netty/util/concurrent/AbstractScheduledEventExecutor;Ljava/lang/Runnable;Ljava/lang/Object;J)V
toCallable G(Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/concurrent/Callable;
! \(Lio/netty/util/concurrent/AbstractScheduledEventExecutor;Ljava/util/concurrent/Callable;J)V #
$ this 3Lio/netty/util/concurrent/ScheduledFutureTask; .Lio/netty/util/concurrent/ScheduledFutureTask; executor 9Lio/netty/util/concurrent/AbstractScheduledEventExecutor; runnable Ljava/lang/Runnable; result TV; Ljava/lang/Object; ](Lio/netty/util/concurrent/AbstractScheduledEventExecutor;Ljava/util/concurrent/Callable;JJ)V J(Lio/netty/util/concurrent/EventExecutor;Ljava/util/concurrent/Callable;)V 1
2
4 &java/util/concurrent/atomic/AtomicLong 6 getAndIncrement 8
7 9
; "java/lang/IllegalArgumentException = period: 0 (expected: != 0) ? (Ljava/lang/String;)V A
> B 7io/netty/util/concurrent/AbstractScheduledEventExecutor D java/util/concurrent/Callable F H J callable $Ljava/util/concurrent/Callable; Ljava/util/concurrent/Callable; period *()Lio/netty/util/concurrent/EventExecutor; ) P
Q
delayNanos
T java/lang/Math V max (JJ)J X Y
W Z currentTimeNanos getDelay "(Ljava/util/concurrent/TimeUnit;)J S
_ java/util/concurrent/TimeUnit a NANOSECONDS Ljava/util/concurrent/TimeUnit; c d b e convert #(JLjava/util/concurrent/TimeUnit;)J g h
b i unit compareTo !(Ljava/util/concurrent/Delayed;)I java/lang/Error n ()V p
o q o Ljava/util/concurrent/Delayed; that 1Lio/netty/util/concurrent/ScheduledFutureTask<*>; d run java/lang/Throwable y {
Q &io/netty/util/concurrent/EventExecutor ~ inEventLoop ()Z ? ? ? java/lang/AssertionError ?
? q setUncancellableInternal ? ?
? task ? N ? call ()Ljava/lang/Object; ? ? G ? setSuccessInternal 6(Ljava/lang/Object;)Lio/netty/util/concurrent/Promise; ? ?
? isCancelled ? ?
?
isShutdown ? ? ? scheduledTaskQueue Ljava/util/Queue; ? ? E ? java/util/Queue ? add (Ljava/lang/Object;)Z ? ? ? ? setFailureInternal 9(Ljava/lang/Throwable;)Lio/netty/util/concurrent/Promise; ? ?
? DLjava/util/Queue;>; p cause Ljava/lang/Throwable; cancel (Z)Z ? ?
? removeScheduled 1(Lio/netty/util/concurrent/ScheduledFutureTask;)V ? ?
E ? mayInterruptIfRunning canceled cancelWithoutRemove toStringBuilder ()Ljava/lang/StringBuilder; ? ?
? java/lang/StringBuilder ? length ()I ? ?
? ? setCharAt (IC)V ? ?
? ? id: ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? (J)Ljava/lang/StringBuilder; ? ?
? ? , deadline: ?
, period: ? (C)Ljava/lang/StringBuilder; ? ?
? ? buf Ljava/lang/StringBuilder; (Ljava/lang/Object;)I java/util/concurrent/Delayed ? l m
? java/lang/Class ? desiredAssertionStatus ? ?
? ?
7 q Code LineNumberTable LocalVariableTable LocalVariableTypeTable Signature T(Lio/netty/util/concurrent/AbstractScheduledEventExecutor;Ljava/lang/Runnable;TV;J)V
StackMapTable b(Lio/netty/util/concurrent/AbstractScheduledEventExecutor;Ljava/util/concurrent/Callable;JJ)V a(Lio/netty/util/concurrent/AbstractScheduledEventExecutor;Ljava/util/concurrent/Callable;J)V
SourceFile 0
? ? ? e? ? ? 0 ? a? ? ? # ?
*+,-? "? %? ? 4
&