final class reactor.core.scheduler.DelegateServiceScheduler implements reactor.core.scheduler.Scheduler, reactor.core.Scannable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: reactor.core.scheduler.DelegateServiceScheduler
super_class: java.lang.Object
{
final java.lang.String executorName;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final java.util.concurrent.ScheduledExecutorService original;
descriptor: Ljava/util/concurrent/ScheduledExecutorService;
flags: (0x0010) ACC_FINAL
volatile java.util.concurrent.ScheduledExecutorService executor;
descriptor: Ljava/util/concurrent/ScheduledExecutorService;
flags: (0x0040) ACC_VOLATILE
RuntimeVisibleAnnotations:
reactor.util.annotation.Nullable()
static final java.util.concurrent.atomic.AtomicReferenceFieldUpdater<reactor.core.scheduler.DelegateServiceScheduler, java.util.concurrent.ScheduledExecutorService> EXECUTOR;
descriptor: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<Lreactor/core/scheduler/DelegateServiceScheduler;Ljava/util/concurrent/ScheduledExecutorService;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc Lreactor/core/scheduler/DelegateServiceScheduler;
ldc Ljava/util/concurrent/ScheduledExecutorService;
ldc "executor"
invokestatic java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
1: putstatic reactor.core.scheduler.DelegateServiceScheduler.EXECUTOR:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.String, java.util.concurrent.ExecutorService);
descriptor: (Ljava/lang/String;Ljava/util/concurrent/ExecutorService;)V
flags: (0x0000)
Code:
stack=2, 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.DelegateServiceScheduler.executorName:Ljava/lang/String;
2: aload 0
aload 2
invokestatic reactor.core.scheduler.DelegateServiceScheduler.convert:(Ljava/util/concurrent/ExecutorService;)Ljava/util/concurrent/ScheduledExecutorService;
putfield reactor.core.scheduler.DelegateServiceScheduler.original:Ljava/util/concurrent/ScheduledExecutorService;
3: aload 0
aconst_null
putfield reactor.core.scheduler.DelegateServiceScheduler.executor:Ljava/util/concurrent/ScheduledExecutorService;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lreactor/core/scheduler/DelegateServiceScheduler;
0 5 1 executorName Ljava/lang/String;
0 5 2 executorService Ljava/util/concurrent/ExecutorService;
MethodParameters:
Name Flags
executorName
executorService
java.util.concurrent.ScheduledExecutorService getOrCreate();
descriptor: ()Ljava/util/concurrent/ScheduledExecutorService;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield reactor.core.scheduler.DelegateServiceScheduler.executor:Ljava/util/concurrent/ScheduledExecutorService;
astore 1
start local 1 1: aload 1
ifnonnull 6
2: aload 0
invokevirtual reactor.core.scheduler.DelegateServiceScheduler.start:()V
3: aload 0
getfield reactor.core.scheduler.DelegateServiceScheduler.executor:Ljava/util/concurrent/ScheduledExecutorService;
astore 1
4: aload 1
ifnonnull 6
5: new java.lang.IllegalStateException
dup
ldc "executor is null after implicit start()"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: java.util.concurrent.ScheduledExecutorService
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lreactor/core/scheduler/DelegateServiceScheduler;
1 7 1 e Ljava/util/concurrent/ScheduledExecutorService;
public reactor.core.scheduler.Scheduler$Worker createWorker();
descriptor: ()Lreactor/core/scheduler/Scheduler$Worker;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new reactor.core.scheduler.ExecutorServiceWorker
dup
aload 0
invokevirtual reactor.core.scheduler.DelegateServiceScheduler.getOrCreate:()Ljava/util/concurrent/ScheduledExecutorService;
invokespecial reactor.core.scheduler.ExecutorServiceWorker.<init>:(Ljava/util/concurrent/ScheduledExecutorService;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/core/scheduler/DelegateServiceScheduler;
public reactor.core.Disposable schedule(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)Lreactor/core/Disposable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual reactor.core.scheduler.DelegateServiceScheduler.getOrCreate:()Ljava/util/concurrent/ScheduledExecutorService;
aload 1
aconst_null
lconst_0
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokestatic reactor.core.scheduler.Schedulers.directSchedule:(Ljava/util/concurrent/ScheduledExecutorService;Ljava/lang/Runnable;Lreactor/core/Disposable;JLjava/util/concurrent/TimeUnit;)Lreactor/core/Disposable;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/core/scheduler/DelegateServiceScheduler;
0 1 1 task Ljava/lang/Runnable;
MethodParameters:
Name Flags
task
public reactor.core.Disposable schedule(java.lang.Runnable, long, java.util.concurrent.TimeUnit);
descriptor: (Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Lreactor/core/Disposable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
invokevirtual reactor.core.scheduler.DelegateServiceScheduler.getOrCreate:()Ljava/util/concurrent/ScheduledExecutorService;
aload 1
aconst_null
lload 2
aload 4
invokestatic reactor.core.scheduler.Schedulers.directSchedule:(Ljava/util/concurrent/ScheduledExecutorService;Ljava/lang/Runnable;Lreactor/core/Disposable;JLjava/util/concurrent/TimeUnit;)Lreactor/core/Disposable;
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/core/scheduler/DelegateServiceScheduler;
0 1 1 task Ljava/lang/Runnable;
0 1 2 delay J
0 1 4 unit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
task
delay
unit
public reactor.core.Disposable schedulePeriodically(java.lang.Runnable, long, long, java.util.concurrent.TimeUnit);
descriptor: (Ljava/lang/Runnable;JJLjava/util/concurrent/TimeUnit;)Lreactor/core/Disposable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 6 0: aload 0
invokevirtual reactor.core.scheduler.DelegateServiceScheduler.getOrCreate:()Ljava/util/concurrent/ScheduledExecutorService;
1: aload 1
2: lload 2
3: lload 4
4: aload 6
5: invokestatic reactor.core.scheduler.Schedulers.directSchedulePeriodically:(Ljava/util/concurrent/ScheduledExecutorService;Ljava/lang/Runnable;JJLjava/util/concurrent/TimeUnit;)Lreactor/core/Disposable;
areturn
end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lreactor/core/scheduler/DelegateServiceScheduler;
0 6 1 task Ljava/lang/Runnable;
0 6 2 initialDelay J
0 6 4 period J
0 6 6 unit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
task
initialDelay
period
unit
public void start();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: getstatic reactor.core.scheduler.DelegateServiceScheduler.EXECUTOR:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aconst_null
aload 0
aload 0
getfield reactor.core.scheduler.DelegateServiceScheduler.original:Ljava/util/concurrent/ScheduledExecutorService;
invokestatic reactor.core.scheduler.Schedulers.decorateExecutorService:(Lreactor/core/scheduler/Scheduler;Ljava/util/concurrent/ScheduledExecutorService;)Ljava/util/concurrent/ScheduledExecutorService;
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lreactor/core/scheduler/DelegateServiceScheduler;
public boolean isDisposed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield reactor.core.scheduler.DelegateServiceScheduler.executor:Ljava/util/concurrent/ScheduledExecutorService;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokeinterface java.util.concurrent.ScheduledExecutorService.isShutdown:()Z
ifeq 2
iconst_1
ireturn
StackMap locals: java.util.concurrent.ScheduledExecutorService
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lreactor/core/scheduler/DelegateServiceScheduler;
1 3 1 e Ljava/util/concurrent/ScheduledExecutorService;
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield reactor.core.scheduler.DelegateServiceScheduler.executor:Ljava/util/concurrent/ScheduledExecutorService;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokeinterface java.util.concurrent.ScheduledExecutorService.shutdownNow:()Ljava/util/List;
pop
3: StackMap locals: java.util.concurrent.ScheduledExecutorService
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lreactor/core/scheduler/DelegateServiceScheduler;
1 4 1 e Ljava/util/concurrent/ScheduledExecutorService;
static java.util.concurrent.ScheduledExecutorService convert(java.util.concurrent.ExecutorService);
descriptor: (Ljava/util/concurrent/ExecutorService;)Ljava/util/concurrent/ScheduledExecutorService;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
instanceof java.util.concurrent.ScheduledExecutorService
ifeq 2
1: aload 0
checkcast java.util.concurrent.ScheduledExecutorService
areturn
2: StackMap locals:
StackMap stack:
new reactor.core.scheduler.DelegateServiceScheduler$UnsupportedScheduledExecutorService
dup
aload 0
invokespecial reactor.core.scheduler.DelegateServiceScheduler$UnsupportedScheduledExecutorService.<init>:(Ljava/util/concurrent/ExecutorService;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 executor Ljava/util/concurrent/ExecutorService;
MethodParameters:
Name Flags
executor
public java.lang.Object scanUnsafe(reactor.core.Scannable$Attr);
descriptor: (Lreactor/core/Scannable$Attr;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getstatic reactor.core.Scannable$Attr.TERMINATED:Lreactor/core/Scannable$Attr;
if_acmpeq 1
aload 1
getstatic reactor.core.Scannable$Attr.CANCELLED:Lreactor/core/Scannable$Attr;
if_acmpne 2
StackMap locals:
StackMap stack:
1: aload 0
invokevirtual reactor.core.scheduler.DelegateServiceScheduler.isDisposed:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
2: StackMap locals:
StackMap stack:
aload 1
getstatic reactor.core.Scannable$Attr.NAME:Lreactor/core/Scannable$Attr;
if_acmpne 3
aload 0
invokevirtual reactor.core.scheduler.DelegateServiceScheduler.toString:()Ljava/lang/String;
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield reactor.core.scheduler.DelegateServiceScheduler.executor:Ljava/util/concurrent/ScheduledExecutorService;
astore 2
start local 2 4: aload 2
ifnull 6
5: aload 2
aload 1
invokestatic reactor.core.scheduler.Schedulers.scanExecutor:(Ljava/util/concurrent/Executor;Lreactor/core/Scannable$Attr;)Ljava/lang/Object;
areturn
6: StackMap locals: java.util.concurrent.ScheduledExecutorService
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lreactor/core/scheduler/DelegateServiceScheduler;
0 7 1 key Lreactor/core/Scannable$Attr;
4 7 2 e Ljava/util/concurrent/ScheduledExecutorService;
MethodParameters:
Name Flags
key
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "fromExecutorService("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield reactor.core.scheduler.DelegateServiceScheduler.executorName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/core/scheduler/DelegateServiceScheduler;
}
SourceFile: "DelegateServiceScheduler.java"
NestMembers:
reactor.core.scheduler.DelegateServiceScheduler$UnsupportedScheduledExecutorService
InnerClasses:
public Attr = reactor.core.Scannable$Attr of reactor.core.Scannable
final UnsupportedScheduledExecutorService = reactor.core.scheduler.DelegateServiceScheduler$UnsupportedScheduledExecutorService of reactor.core.scheduler.DelegateServiceScheduler
public abstract Worker = reactor.core.scheduler.Scheduler$Worker of reactor.core.scheduler.Scheduler