final class reactor.core.scheduler.SchedulerTask implements java.lang.Runnable, reactor.core.Disposable, java.util.concurrent.Callable<java.lang.Void>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: reactor.core.scheduler.SchedulerTask
super_class: java.lang.Object
{
final java.lang.Runnable task;
descriptor: Ljava/lang/Runnable;
flags: (0x0010) ACC_FINAL
static final java.util.concurrent.Future<java.lang.Void> FINISHED;
descriptor: Ljava/util/concurrent/Future;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/Future<Ljava/lang/Void;>;
static final java.util.concurrent.Future<java.lang.Void> CANCELLED;
descriptor: Ljava/util/concurrent/Future;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/Future<Ljava/lang/Void;>;
static final reactor.core.Disposable TAKEN;
descriptor: Lreactor/core/Disposable;
flags: (0x0018) ACC_STATIC, ACC_FINAL
volatile java.util.concurrent.Future<?> future;
descriptor: Ljava/util/concurrent/Future;
flags: (0x0040) ACC_VOLATILE
Signature: Ljava/util/concurrent/Future<*>;
static final java.util.concurrent.atomic.AtomicReferenceFieldUpdater<reactor.core.scheduler.SchedulerTask, java.util.concurrent.Future> FUTURE;
descriptor: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<Lreactor/core/scheduler/SchedulerTask;Ljava/util/concurrent/Future;>;
volatile reactor.core.Disposable parent;
descriptor: Lreactor/core/Disposable;
flags: (0x0040) ACC_VOLATILE
static final java.util.concurrent.atomic.AtomicReferenceFieldUpdater<reactor.core.scheduler.SchedulerTask, reactor.core.Disposable> PARENT;
descriptor: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<Lreactor/core/scheduler/SchedulerTask;Lreactor/core/Disposable;>;
java.lang.Thread thread;
descriptor: Ljava/lang/Thread;
flags: (0x0000)
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.util.concurrent.FutureTask
dup
invokedynamic call()Ljava/util/concurrent/Callable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
reactor/core/scheduler/SchedulerTask.lambda$0()Ljava/lang/Void; (6)
()Ljava/lang/Void;
invokespecial java.util.concurrent.FutureTask.<init>:(Ljava/util/concurrent/Callable;)V
putstatic reactor.core.scheduler.SchedulerTask.FINISHED:Ljava/util/concurrent/Future;
1: new java.util.concurrent.FutureTask
dup
invokedynamic call()Ljava/util/concurrent/Callable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
reactor/core/scheduler/SchedulerTask.lambda$1()Ljava/lang/Void; (6)
()Ljava/lang/Void;
invokespecial java.util.concurrent.FutureTask.<init>:(Ljava/util/concurrent/Callable;)V
putstatic reactor.core.scheduler.SchedulerTask.CANCELLED:Ljava/util/concurrent/Future;
2: invokestatic reactor.core.Disposables.disposed:()Lreactor/core/Disposable;
putstatic reactor.core.scheduler.SchedulerTask.TAKEN:Lreactor/core/Disposable;
3: ldc Lreactor/core/scheduler/SchedulerTask;
ldc Ljava/util/concurrent/Future;
ldc "future"
invokestatic java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
4: putstatic reactor.core.scheduler.SchedulerTask.FUTURE:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
5: ldc Lreactor/core/scheduler/SchedulerTask;
ldc Lreactor/core/Disposable;
ldc "parent"
invokestatic java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
6: putstatic reactor.core.scheduler.SchedulerTask.PARENT:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
7: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.Runnable, reactor.core.Disposable);
descriptor: (Ljava/lang/Runnable;Lreactor/core/Disposable;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield reactor.core.scheduler.SchedulerTask.task:Ljava/lang/Runnable;
2: getstatic reactor.core.scheduler.SchedulerTask.PARENT:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aload 2
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.lazySet:(Ljava/lang/Object;Ljava/lang/Object;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lreactor/core/scheduler/SchedulerTask;
0 4 1 task Ljava/lang/Runnable;
0 4 2 parent Lreactor/core/Disposable;
RuntimeVisibleParameterAnnotations:
0:
1:
reactor.util.annotation.Nullable()
MethodParameters:
Name Flags
task
parent
public java.lang.Void call();
descriptor: ()Ljava/lang/Void;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
putfield reactor.core.scheduler.SchedulerTask.thread:Ljava/lang/Thread;
1: aconst_null
astore 1
start local 1 2: StackMap locals: reactor.core.Disposable
StackMap stack:
aload 0
getfield reactor.core.scheduler.SchedulerTask.parent:Lreactor/core/Disposable;
astore 1
3: aload 1
getstatic reactor.core.scheduler.SchedulerTask.TAKEN:Lreactor/core/Disposable;
if_acmpeq 6
aload 1
ifnonnull 5
4: goto 6
5: StackMap locals:
StackMap stack:
getstatic reactor.core.scheduler.SchedulerTask.PARENT:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aload 1
getstatic reactor.core.scheduler.SchedulerTask.TAKEN:Lreactor/core/Disposable;
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 2
6: StackMap locals:
StackMap stack:
aload 0
getfield reactor.core.scheduler.SchedulerTask.task:Ljava/lang/Runnable;
invokeinterface java.lang.Runnable.run:()V
7: goto 18
8: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 9: aload 2
invokestatic reactor.core.scheduler.Schedulers.handleError:(Ljava/lang/Throwable;)V
end local 2 10: goto 18
11: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
12: aload 0
aconst_null
putfield reactor.core.scheduler.SchedulerTask.thread:Ljava/lang/Thread;
13: StackMap locals: reactor.core.scheduler.SchedulerTask reactor.core.Disposable top java.lang.Throwable
StackMap stack:
aload 0
getfield reactor.core.scheduler.SchedulerTask.future:Ljava/util/concurrent/Future;
astore 4
start local 4 14: aload 4
getstatic reactor.core.scheduler.SchedulerTask.CANCELLED:Ljava/util/concurrent/Future;
if_acmpeq 15
getstatic reactor.core.scheduler.SchedulerTask.FUTURE:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aload 4
getstatic reactor.core.scheduler.SchedulerTask.FINISHED:Ljava/util/concurrent/Future;
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 13
15: StackMap locals: java.util.concurrent.Future
StackMap stack:
aload 1
ifnull 17
16: aload 1
invokeinterface reactor.core.Disposable.dispose:()V
end local 4 17: StackMap locals:
StackMap stack:
aload 3
athrow
18: StackMap locals: reactor.core.scheduler.SchedulerTask reactor.core.Disposable
StackMap stack:
aload 0
aconst_null
putfield reactor.core.scheduler.SchedulerTask.thread:Ljava/lang/Thread;
19: StackMap locals:
StackMap stack:
aload 0
getfield reactor.core.scheduler.SchedulerTask.future:Ljava/util/concurrent/Future;
astore 4
start local 4 20: aload 4
getstatic reactor.core.scheduler.SchedulerTask.CANCELLED:Ljava/util/concurrent/Future;
if_acmpeq 21
getstatic reactor.core.scheduler.SchedulerTask.FUTURE:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aload 4
getstatic reactor.core.scheduler.SchedulerTask.FINISHED:Ljava/util/concurrent/Future;
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 19
21: StackMap locals: reactor.core.scheduler.SchedulerTask reactor.core.Disposable top top java.util.concurrent.Future
StackMap stack:
aload 1
ifnull 23
22: aload 1
invokeinterface reactor.core.Disposable.dispose:()V
end local 4 23: StackMap locals: reactor.core.scheduler.SchedulerTask reactor.core.Disposable
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lreactor/core/scheduler/SchedulerTask;
2 24 1 d Lreactor/core/Disposable;
9 10 2 ex Ljava/lang/Throwable;
14 17 4 f Ljava/util/concurrent/Future;
20 23 4 f Ljava/util/concurrent/Future;
Exception table:
from to target type
6 7 8 Class java.lang.Throwable
2 11 11 any
RuntimeVisibleAnnotations:
reactor.util.annotation.Nullable()
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual reactor.core.scheduler.SchedulerTask.call:()Ljava/lang/Void;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lreactor/core/scheduler/SchedulerTask;
void setFuture(java.util.concurrent.Future<?>);
descriptor: (Ljava/util/concurrent/Future;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
getfield reactor.core.scheduler.SchedulerTask.future:Ljava/util/concurrent/Future;
astore 2
start local 2 1: aload 2
getstatic reactor.core.scheduler.SchedulerTask.FINISHED:Ljava/util/concurrent/Future;
if_acmpne 3
2: return
3: StackMap locals: java.util.concurrent.Future
StackMap stack:
aload 2
getstatic reactor.core.scheduler.SchedulerTask.CANCELLED:Ljava/util/concurrent/Future;
if_acmpne 8
4: aload 1
aload 0
getfield reactor.core.scheduler.SchedulerTask.thread:Ljava/lang/Thread;
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
if_acmpeq 5
iconst_1
goto 6
StackMap locals:
StackMap stack: java.util.concurrent.Future
5: iconst_0
StackMap locals: reactor.core.scheduler.SchedulerTask java.util.concurrent.Future java.util.concurrent.Future
StackMap stack: java.util.concurrent.Future int
6: invokeinterface java.util.concurrent.Future.cancel:(Z)Z
pop
7: return
8: StackMap locals:
StackMap stack:
getstatic reactor.core.scheduler.SchedulerTask.FUTURE:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aload 2
aload 1
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lreactor/core/scheduler/SchedulerTask;
0 10 1 f Ljava/util/concurrent/Future<*>;
1 10 2 o Ljava/util/concurrent/Future;
Signature: (Ljava/util/concurrent/Future<*>;)V
MethodParameters:
Name Flags
f
public boolean isDisposed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield reactor.core.scheduler.SchedulerTask.future:Ljava/util/concurrent/Future;
astore 1
start local 1 1: getstatic reactor.core.scheduler.SchedulerTask.FINISHED:Ljava/util/concurrent/Future;
aload 1
if_acmpeq 2
getstatic reactor.core.scheduler.SchedulerTask.CANCELLED:Ljava/util/concurrent/Future;
aload 1
if_acmpeq 2
iconst_0
ireturn
StackMap locals: java.util.concurrent.Future
StackMap stack:
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lreactor/core/scheduler/SchedulerTask;
1 3 1 a Ljava/util/concurrent/Future<*>;
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
getfield reactor.core.scheduler.SchedulerTask.future:Ljava/util/concurrent/Future;
astore 1
start local 1 1: aload 1
getstatic reactor.core.scheduler.SchedulerTask.FINISHED:Ljava/util/concurrent/Future;
if_acmpeq 8
aload 1
getstatic reactor.core.scheduler.SchedulerTask.CANCELLED:Ljava/util/concurrent/Future;
if_acmpne 3
2: goto 8
3: StackMap locals: java.util.concurrent.Future
StackMap stack:
getstatic reactor.core.scheduler.SchedulerTask.FUTURE:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aload 1
getstatic reactor.core.scheduler.SchedulerTask.CANCELLED:Ljava/util/concurrent/Future;
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
4: aload 1
ifnull 8
5: aload 1
aload 0
getfield reactor.core.scheduler.SchedulerTask.thread:Ljava/lang/Thread;
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
if_acmpeq 6
iconst_1
goto 7
StackMap locals:
StackMap stack: java.util.concurrent.Future
6: iconst_0
StackMap locals: reactor.core.scheduler.SchedulerTask java.util.concurrent.Future
StackMap stack: java.util.concurrent.Future int
7: invokeinterface java.util.concurrent.Future.cancel:(Z)Z
pop
end local 1 8: StackMap locals:
StackMap stack:
aload 0
getfield reactor.core.scheduler.SchedulerTask.parent:Lreactor/core/Disposable;
astore 1
start local 1 9: aload 1
getstatic reactor.core.scheduler.SchedulerTask.TAKEN:Lreactor/core/Disposable;
if_acmpeq 13
aload 1
ifnonnull 11
10: goto 13
11: StackMap locals: reactor.core.Disposable
StackMap stack:
getstatic reactor.core.scheduler.SchedulerTask.PARENT:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aload 1
getstatic reactor.core.scheduler.SchedulerTask.TAKEN:Lreactor/core/Disposable;
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 8
12: aload 1
invokeinterface reactor.core.Disposable.dispose:()V
13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lreactor/core/scheduler/SchedulerTask;
1 8 1 f Ljava/util/concurrent/Future;
9 14 1 d Lreactor/core/Disposable;
public java.lang.Object call();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual reactor.core.scheduler.SchedulerTask.call:()Ljava/lang/Void;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
private static java.lang.Void lambda$0();
descriptor: ()Ljava/lang/Void;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
private static java.lang.Void lambda$1();
descriptor: ()Ljava/lang/Void;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
Signature: Ljava/lang/Object;Ljava/lang/Runnable;Lreactor/core/Disposable;Ljava/util/concurrent/Callable<Ljava/lang/Void;>;
SourceFile: "SchedulerTask.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles