abstract class io.reactivex.internal.schedulers.AbstractDirectTask extends java.util.concurrent.atomic.AtomicReference<java.util.concurrent.Future<?>> implements io.reactivex.disposables.Disposable, io.reactivex.schedulers.SchedulerRunnableIntrospection
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: io.reactivex.internal.schedulers.AbstractDirectTask
super_class: java.util.concurrent.atomic.AtomicReference
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1811839108042568751
protected final java.lang.Runnable runnable;
descriptor: Ljava/lang/Runnable;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected java.lang.Thread runner;
descriptor: Ljava/lang/Thread;
flags: (0x0004) ACC_PROTECTED
protected static final java.util.concurrent.FutureTask<java.lang.Void> FINISHED;
descriptor: Ljava/util/concurrent/FutureTask;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/FutureTask<Ljava/lang/Void;>;
protected static final java.util.concurrent.FutureTask<java.lang.Void> DISPOSED;
descriptor: Ljava/util/concurrent/FutureTask;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/FutureTask<Ljava/lang/Void;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new java.util.concurrent.FutureTask
dup
getstatic io.reactivex.internal.functions.Functions.EMPTY_RUNNABLE:Ljava/lang/Runnable;
aconst_null
invokespecial java.util.concurrent.FutureTask.<init>:(Ljava/lang/Runnable;Ljava/lang/Object;)V
putstatic io.reactivex.internal.schedulers.AbstractDirectTask.FINISHED:Ljava/util/concurrent/FutureTask;
1: new java.util.concurrent.FutureTask
dup
getstatic io.reactivex.internal.functions.Functions.EMPTY_RUNNABLE:Ljava/lang/Runnable;
aconst_null
invokespecial java.util.concurrent.FutureTask.<init>:(Ljava/lang/Runnable;Ljava/lang/Object;)V
putstatic io.reactivex.internal.schedulers.AbstractDirectTask.DISPOSED:Ljava/util/concurrent/FutureTask;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.Runnable);
descriptor: (Ljava/lang/Runnable;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.schedulers.AbstractDirectTask.runnable:Ljava/lang/Runnable;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/schedulers/AbstractDirectTask;
0 3 1 runnable Ljava/lang/Runnable;
MethodParameters:
Name Flags
runnable
public final void dispose();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual io.reactivex.internal.schedulers.AbstractDirectTask.get:()Ljava/lang/Object;
checkcast java.util.concurrent.Future
astore 1
start local 1 1: aload 1
getstatic io.reactivex.internal.schedulers.AbstractDirectTask.FINISHED:Ljava/util/concurrent/FutureTask;
if_acmpeq 7
aload 1
getstatic io.reactivex.internal.schedulers.AbstractDirectTask.DISPOSED:Ljava/util/concurrent/FutureTask;
if_acmpeq 7
2: aload 0
aload 1
getstatic io.reactivex.internal.schedulers.AbstractDirectTask.DISPOSED:Ljava/util/concurrent/FutureTask;
invokevirtual io.reactivex.internal.schedulers.AbstractDirectTask.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 7
3: aload 1
ifnull 7
4: aload 1
aload 0
getfield io.reactivex.internal.schedulers.AbstractDirectTask.runner:Ljava/lang/Thread;
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
if_acmpeq 5
iconst_1
goto 6
StackMap locals: io.reactivex.internal.schedulers.AbstractDirectTask java.util.concurrent.Future
StackMap stack: java.util.concurrent.Future
5: iconst_0
StackMap locals: io.reactivex.internal.schedulers.AbstractDirectTask java.util.concurrent.Future
StackMap stack: java.util.concurrent.Future int
6: invokeinterface java.util.concurrent.Future.cancel:(Z)Z
pop
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/reactivex/internal/schedulers/AbstractDirectTask;
1 8 1 f Ljava/util/concurrent/Future<*>;
public final boolean isDisposed();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual io.reactivex.internal.schedulers.AbstractDirectTask.get:()Ljava/lang/Object;
checkcast java.util.concurrent.Future
astore 1
start local 1 1: aload 1
getstatic io.reactivex.internal.schedulers.AbstractDirectTask.FINISHED:Ljava/util/concurrent/FutureTask;
if_acmpeq 2
aload 1
getstatic io.reactivex.internal.schedulers.AbstractDirectTask.DISPOSED:Ljava/util/concurrent/FutureTask;
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 Lio/reactivex/internal/schedulers/AbstractDirectTask;
1 3 1 f Ljava/util/concurrent/Future<*>;
public final void setFuture(java.util.concurrent.Future<?>);
descriptor: (Ljava/util/concurrent/Future;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.schedulers.AbstractDirectTask.get:()Ljava/lang/Object;
checkcast java.util.concurrent.Future
astore 2
start local 2 1: aload 2
getstatic io.reactivex.internal.schedulers.AbstractDirectTask.FINISHED:Ljava/util/concurrent/FutureTask;
if_acmpne 3
2: goto 9
3: StackMap locals: java.util.concurrent.Future
StackMap stack:
aload 2
getstatic io.reactivex.internal.schedulers.AbstractDirectTask.DISPOSED:Ljava/util/concurrent/FutureTask;
if_acmpne 8
4: aload 1
aload 0
getfield io.reactivex.internal.schedulers.AbstractDirectTask.runner: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: io.reactivex.internal.schedulers.AbstractDirectTask 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: goto 9
8: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 1
invokevirtual io.reactivex.internal.schedulers.AbstractDirectTask.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
end local 2 9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/reactivex/internal/schedulers/AbstractDirectTask;
0 10 1 future Ljava/util/concurrent/Future<*>;
1 9 2 f Ljava/util/concurrent/Future<*>;
Signature: (Ljava/util/concurrent/Future<*>;)V
MethodParameters:
Name Flags
future
public java.lang.Runnable getWrappedRunnable();
descriptor: ()Ljava/lang/Runnable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.schedulers.AbstractDirectTask.runnable:Ljava/lang/Runnable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/schedulers/AbstractDirectTask;
}
Signature: Ljava/util/concurrent/atomic/AtomicReference<Ljava/util/concurrent/Future<*>;>;Lio/reactivex/disposables/Disposable;Lio/reactivex/schedulers/SchedulerRunnableIntrospection;
SourceFile: "AbstractDirectTask.java"