final class io.reactivex.internal.schedulers.IoScheduler$EventLoopWorker extends io.reactivex.Scheduler$Worker
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.schedulers.IoScheduler$EventLoopWorker
super_class: io.reactivex.Scheduler$Worker
{
private final io.reactivex.disposables.CompositeDisposable tasks;
descriptor: Lio/reactivex/disposables/CompositeDisposable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.reactivex.internal.schedulers.IoScheduler$CachedWorkerPool pool;
descriptor: Lio/reactivex/internal/schedulers/IoScheduler$CachedWorkerPool;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.reactivex.internal.schedulers.IoScheduler$ThreadWorker threadWorker;
descriptor: Lio/reactivex/internal/schedulers/IoScheduler$ThreadWorker;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final java.util.concurrent.atomic.AtomicBoolean once;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0010) ACC_FINAL
void <init>(io.reactivex.internal.schedulers.IoScheduler$CachedWorkerPool);
descriptor: (Lio/reactivex/internal/schedulers/IoScheduler$CachedWorkerPool;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial io.reactivex.Scheduler$Worker.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicBoolean
dup
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
putfield io.reactivex.internal.schedulers.IoScheduler$EventLoopWorker.once:Ljava/util/concurrent/atomic/AtomicBoolean;
2: aload 0
aload 1
putfield io.reactivex.internal.schedulers.IoScheduler$EventLoopWorker.pool:Lio/reactivex/internal/schedulers/IoScheduler$CachedWorkerPool;
3: aload 0
new io.reactivex.disposables.CompositeDisposable
dup
invokespecial io.reactivex.disposables.CompositeDisposable.<init>:()V
putfield io.reactivex.internal.schedulers.IoScheduler$EventLoopWorker.tasks:Lio/reactivex/disposables/CompositeDisposable;
4: aload 0
aload 1
invokevirtual io.reactivex.internal.schedulers.IoScheduler$CachedWorkerPool.get:()Lio/reactivex/internal/schedulers/IoScheduler$ThreadWorker;
putfield io.reactivex.internal.schedulers.IoScheduler$EventLoopWorker.threadWorker:Lio/reactivex/internal/schedulers/IoScheduler$ThreadWorker;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/schedulers/IoScheduler$EventLoopWorker;
0 6 1 pool Lio/reactivex/internal/schedulers/IoScheduler$CachedWorkerPool;
MethodParameters:
Name Flags
pool
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.schedulers.IoScheduler$EventLoopWorker.once:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 3
1: aload 0
getfield io.reactivex.internal.schedulers.IoScheduler$EventLoopWorker.tasks:Lio/reactivex/disposables/CompositeDisposable;
invokevirtual io.reactivex.disposables.CompositeDisposable.dispose:()V
2: aload 0
getfield io.reactivex.internal.schedulers.IoScheduler$EventLoopWorker.pool:Lio/reactivex/internal/schedulers/IoScheduler$CachedWorkerPool;
aload 0
getfield io.reactivex.internal.schedulers.IoScheduler$EventLoopWorker.threadWorker:Lio/reactivex/internal/schedulers/IoScheduler$ThreadWorker;
invokevirtual io.reactivex.internal.schedulers.IoScheduler$CachedWorkerPool.release:(Lio/reactivex/internal/schedulers/IoScheduler$ThreadWorker;)V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/schedulers/IoScheduler$EventLoopWorker;
public boolean isDisposed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.schedulers.IoScheduler$EventLoopWorker.once:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/schedulers/IoScheduler$EventLoopWorker;
public io.reactivex.disposables.Disposable schedule(java.lang.Runnable, long, java.util.concurrent.TimeUnit);
descriptor: (Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Lio/reactivex/disposables/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
getfield io.reactivex.internal.schedulers.IoScheduler$EventLoopWorker.tasks:Lio/reactivex/disposables/CompositeDisposable;
invokevirtual io.reactivex.disposables.CompositeDisposable.isDisposed:()Z
ifeq 2
1: getstatic io.reactivex.internal.disposables.EmptyDisposable.INSTANCE:Lio/reactivex/internal/disposables/EmptyDisposable;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.schedulers.IoScheduler$EventLoopWorker.threadWorker:Lio/reactivex/internal/schedulers/IoScheduler$ThreadWorker;
aload 1
lload 2
aload 4
aload 0
getfield io.reactivex.internal.schedulers.IoScheduler$EventLoopWorker.tasks:Lio/reactivex/disposables/CompositeDisposable;
invokevirtual io.reactivex.internal.schedulers.IoScheduler$ThreadWorker.scheduleActual:(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;Lio/reactivex/internal/disposables/DisposableContainer;)Lio/reactivex/internal/schedulers/ScheduledRunnable;
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/schedulers/IoScheduler$EventLoopWorker;
0 3 1 action Ljava/lang/Runnable;
0 3 2 delayTime J
0 3 4 unit Ljava/util/concurrent/TimeUnit;
RuntimeInvisibleAnnotations:
io.reactivex.annotations.NonNull()
RuntimeInvisibleParameterAnnotations:
0:
io.reactivex.annotations.NonNull()
1:
2:
io.reactivex.annotations.NonNull()
MethodParameters:
Name Flags
action
delayTime
unit
}
SourceFile: "IoScheduler.java"
NestHost: io.reactivex.internal.schedulers.IoScheduler
InnerClasses:
public abstract Worker = io.reactivex.Scheduler$Worker of io.reactivex.Scheduler
final CachedWorkerPool = io.reactivex.internal.schedulers.IoScheduler$CachedWorkerPool of io.reactivex.internal.schedulers.IoScheduler
final EventLoopWorker = io.reactivex.internal.schedulers.IoScheduler$EventLoopWorker of io.reactivex.internal.schedulers.IoScheduler
final ThreadWorker = io.reactivex.internal.schedulers.IoScheduler$ThreadWorker of io.reactivex.internal.schedulers.IoScheduler