public final class io.reactivex.internal.schedulers.ScheduledRunnable extends java.util.concurrent.atomic.AtomicReferenceArray<java.lang.Object> implements java.lang.Runnable, java.util.concurrent.Callable<java.lang.Object>, io.reactivex.disposables.Disposable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.schedulers.ScheduledRunnable
super_class: java.util.concurrent.atomic.AtomicReferenceArray
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -6120223772001106981
final java.lang.Runnable actual;
descriptor: Ljava/lang/Runnable;
flags: (0x0010) ACC_FINAL
static final java.lang.Object PARENT_DISPOSED;
descriptor: Ljava/lang/Object;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.lang.Object SYNC_DISPOSED;
descriptor: Ljava/lang/Object;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.lang.Object ASYNC_DISPOSED;
descriptor: Ljava/lang/Object;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.lang.Object DONE;
descriptor: Ljava/lang/Object;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final int PARENT_INDEX;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final int FUTURE_INDEX;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int THREAD_INDEX;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic io.reactivex.internal.schedulers.ScheduledRunnable.PARENT_DISPOSED:Ljava/lang/Object;
1: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic io.reactivex.internal.schedulers.ScheduledRunnable.SYNC_DISPOSED:Ljava/lang/Object;
2: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic io.reactivex.internal.schedulers.ScheduledRunnable.ASYNC_DISPOSED:Ljava/lang/Object;
3: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic io.reactivex.internal.schedulers.ScheduledRunnable.DONE:Ljava/lang/Object;
4: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.Runnable, io.reactivex.internal.disposables.DisposableContainer);
descriptor: (Ljava/lang/Runnable;Lio/reactivex/internal/disposables/DisposableContainer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_3
invokespecial java.util.concurrent.atomic.AtomicReferenceArray.<init>:(I)V
1: aload 0
aload 1
putfield io.reactivex.internal.schedulers.ScheduledRunnable.actual:Ljava/lang/Runnable;
2: aload 0
iconst_0
aload 2
invokevirtual io.reactivex.internal.schedulers.ScheduledRunnable.lazySet:(ILjava/lang/Object;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/schedulers/ScheduledRunnable;
0 4 1 actual Ljava/lang/Runnable;
0 4 2 parent Lio/reactivex/internal/disposables/DisposableContainer;
MethodParameters:
Name Flags
actual
parent
public java.lang.Object call();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.reactivex.internal.schedulers.ScheduledRunnable.run:()V
1: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/schedulers/ScheduledRunnable;
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
iconst_2
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual io.reactivex.internal.schedulers.ScheduledRunnable.lazySet:(ILjava/lang/Object;)V
1: aload 0
getfield io.reactivex.internal.schedulers.ScheduledRunnable.actual:Ljava/lang/Runnable;
invokeinterface java.lang.Runnable.run:()V
2: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
3: astore 1
start local 1 4: aload 1
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
end local 1 5: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 2
7: aload 0
iconst_2
aconst_null
invokevirtual io.reactivex.internal.schedulers.ScheduledRunnable.lazySet:(ILjava/lang/Object;)V
8: aload 0
iconst_0
invokevirtual io.reactivex.internal.schedulers.ScheduledRunnable.get:(I)Ljava/lang/Object;
astore 3
start local 3 9: aload 3
getstatic io.reactivex.internal.schedulers.ScheduledRunnable.PARENT_DISPOSED:Ljava/lang/Object;
if_acmpeq 11
aload 0
iconst_0
aload 3
getstatic io.reactivex.internal.schedulers.ScheduledRunnable.DONE:Ljava/lang/Object;
invokevirtual io.reactivex.internal.schedulers.ScheduledRunnable.compareAndSet:(ILjava/lang/Object;Ljava/lang/Object;)Z
ifeq 11
aload 3
ifnull 11
10: aload 3
checkcast io.reactivex.internal.disposables.DisposableContainer
aload 0
invokeinterface io.reactivex.internal.disposables.DisposableContainer.delete:(Lio/reactivex/disposables/Disposable;)Z
pop
11: StackMap locals: io.reactivex.internal.schedulers.ScheduledRunnable top java.lang.Throwable java.lang.Object
StackMap stack:
aload 0
iconst_1
invokevirtual io.reactivex.internal.schedulers.ScheduledRunnable.get:(I)Ljava/lang/Object;
astore 3
12: aload 3
getstatic io.reactivex.internal.schedulers.ScheduledRunnable.SYNC_DISPOSED:Ljava/lang/Object;
if_acmpeq 13
aload 3
getstatic io.reactivex.internal.schedulers.ScheduledRunnable.ASYNC_DISPOSED:Ljava/lang/Object;
if_acmpeq 13
aload 0
iconst_1
aload 3
getstatic io.reactivex.internal.schedulers.ScheduledRunnable.DONE:Ljava/lang/Object;
invokevirtual io.reactivex.internal.schedulers.ScheduledRunnable.compareAndSet:(ILjava/lang/Object;Ljava/lang/Object;)Z
ifeq 11
end local 3 13: StackMap locals:
StackMap stack:
aload 2
athrow
14: StackMap locals: io.reactivex.internal.schedulers.ScheduledRunnable
StackMap stack:
aload 0
iconst_2
aconst_null
invokevirtual io.reactivex.internal.schedulers.ScheduledRunnable.lazySet:(ILjava/lang/Object;)V
15: aload 0
iconst_0
invokevirtual io.reactivex.internal.schedulers.ScheduledRunnable.get:(I)Ljava/lang/Object;
astore 3
start local 3 16: aload 3
getstatic io.reactivex.internal.schedulers.ScheduledRunnable.PARENT_DISPOSED:Ljava/lang/Object;
if_acmpeq 18
aload 0
iconst_0
aload 3
getstatic io.reactivex.internal.schedulers.ScheduledRunnable.DONE:Ljava/lang/Object;
invokevirtual io.reactivex.internal.schedulers.ScheduledRunnable.compareAndSet:(ILjava/lang/Object;Ljava/lang/Object;)Z
ifeq 18
aload 3
ifnull 18
17: aload 3
checkcast io.reactivex.internal.disposables.DisposableContainer
aload 0
invokeinterface io.reactivex.internal.disposables.DisposableContainer.delete:(Lio/reactivex/disposables/Disposable;)Z
pop
18: StackMap locals: io.reactivex.internal.schedulers.ScheduledRunnable top top java.lang.Object
StackMap stack:
aload 0
iconst_1
invokevirtual io.reactivex.internal.schedulers.ScheduledRunnable.get:(I)Ljava/lang/Object;
astore 3
19: aload 3
getstatic io.reactivex.internal.schedulers.ScheduledRunnable.SYNC_DISPOSED:Ljava/lang/Object;
if_acmpeq 20
aload 3
getstatic io.reactivex.internal.schedulers.ScheduledRunnable.ASYNC_DISPOSED:Ljava/lang/Object;
if_acmpeq 20
aload 0
iconst_1
aload 3
getstatic io.reactivex.internal.schedulers.ScheduledRunnable.DONE:Ljava/lang/Object;
invokevirtual io.reactivex.internal.schedulers.ScheduledRunnable.compareAndSet:(ILjava/lang/Object;Ljava/lang/Object;)Z
ifeq 18
end local 3 20: StackMap locals: io.reactivex.internal.schedulers.ScheduledRunnable
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lio/reactivex/internal/schedulers/ScheduledRunnable;
4 5 1 e Ljava/lang/Throwable;
9 13 3 o Ljava/lang/Object;
16 20 3 o Ljava/lang/Object;
Exception table:
from to target type
1 2 3 Class java.lang.Throwable
1 6 6 any
public void setFuture(java.util.concurrent.Future<?>);
descriptor: (Ljava/util/concurrent/Future;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
iconst_1
invokevirtual io.reactivex.internal.schedulers.ScheduledRunnable.get:(I)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
getstatic io.reactivex.internal.schedulers.ScheduledRunnable.DONE:Ljava/lang/Object;
if_acmpne 3
2: return
3: StackMap locals: java.lang.Object
StackMap stack:
aload 2
getstatic io.reactivex.internal.schedulers.ScheduledRunnable.SYNC_DISPOSED:Ljava/lang/Object;
if_acmpne 6
4: aload 1
iconst_0
invokeinterface java.util.concurrent.Future.cancel:(Z)Z
pop
5: return
6: StackMap locals:
StackMap stack:
aload 2
getstatic io.reactivex.internal.schedulers.ScheduledRunnable.ASYNC_DISPOSED:Ljava/lang/Object;
if_acmpne 9
7: aload 1
iconst_1
invokeinterface java.util.concurrent.Future.cancel:(Z)Z
pop
8: return
9: StackMap locals:
StackMap stack:
aload 0
iconst_1
aload 2
aload 1
invokevirtual io.reactivex.internal.schedulers.ScheduledRunnable.compareAndSet:(ILjava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/reactivex/internal/schedulers/ScheduledRunnable;
0 11 1 f Ljava/util/concurrent/Future<*>;
1 11 2 o Ljava/lang/Object;
Signature: (Ljava/util/concurrent/Future<*>;)V
MethodParameters:
Name Flags
f
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
iconst_1
invokevirtual io.reactivex.internal.schedulers.ScheduledRunnable.get:(I)Ljava/lang/Object;
astore 1
start local 1 1: aload 1
getstatic io.reactivex.internal.schedulers.ScheduledRunnable.DONE:Ljava/lang/Object;
if_acmpeq 11
aload 1
getstatic io.reactivex.internal.schedulers.ScheduledRunnable.SYNC_DISPOSED:Ljava/lang/Object;
if_acmpeq 11
aload 1
getstatic io.reactivex.internal.schedulers.ScheduledRunnable.ASYNC_DISPOSED:Ljava/lang/Object;
if_acmpne 3
2: goto 11
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
iconst_2
invokevirtual io.reactivex.internal.schedulers.ScheduledRunnable.get:(I)Ljava/lang/Object;
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
if_acmpeq 4
iconst_1
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 2
start local 2 6: aload 0
iconst_1
aload 1
iload 2
ifeq 7
getstatic io.reactivex.internal.schedulers.ScheduledRunnable.ASYNC_DISPOSED:Ljava/lang/Object;
goto 8
StackMap locals: io.reactivex.internal.schedulers.ScheduledRunnable java.lang.Object int
StackMap stack: io.reactivex.internal.schedulers.ScheduledRunnable int java.lang.Object
7: getstatic io.reactivex.internal.schedulers.ScheduledRunnable.SYNC_DISPOSED:Ljava/lang/Object;
StackMap locals: io.reactivex.internal.schedulers.ScheduledRunnable java.lang.Object int
StackMap stack: io.reactivex.internal.schedulers.ScheduledRunnable int java.lang.Object java.lang.Object
8: invokevirtual io.reactivex.internal.schedulers.ScheduledRunnable.compareAndSet:(ILjava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
9: aload 1
ifnull 11
10: aload 1
checkcast java.util.concurrent.Future
iload 2
invokeinterface java.util.concurrent.Future.cancel:(Z)Z
pop
end local 2 end local 1 11: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual io.reactivex.internal.schedulers.ScheduledRunnable.get:(I)Ljava/lang/Object;
astore 1
start local 1 12: aload 1
getstatic io.reactivex.internal.schedulers.ScheduledRunnable.DONE:Ljava/lang/Object;
if_acmpeq 13
aload 1
getstatic io.reactivex.internal.schedulers.ScheduledRunnable.PARENT_DISPOSED:Ljava/lang/Object;
if_acmpeq 13
aload 1
ifnonnull 14
13: StackMap locals: java.lang.Object
StackMap stack:
return
14: StackMap locals:
StackMap stack:
aload 0
iconst_0
aload 1
getstatic io.reactivex.internal.schedulers.ScheduledRunnable.PARENT_DISPOSED:Ljava/lang/Object;
invokevirtual io.reactivex.internal.schedulers.ScheduledRunnable.compareAndSet:(ILjava/lang/Object;Ljava/lang/Object;)Z
ifeq 11
15: aload 1
checkcast io.reactivex.internal.disposables.DisposableContainer
aload 0
invokeinterface io.reactivex.internal.disposables.DisposableContainer.delete:(Lio/reactivex/disposables/Disposable;)Z
pop
16: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lio/reactivex/internal/schedulers/ScheduledRunnable;
1 11 1 o Ljava/lang/Object;
6 11 2 async Z
12 17 1 o Ljava/lang/Object;
public boolean isDisposed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual io.reactivex.internal.schedulers.ScheduledRunnable.get:(I)Ljava/lang/Object;
astore 1
start local 1 1: aload 1
getstatic io.reactivex.internal.schedulers.ScheduledRunnable.PARENT_DISPOSED:Ljava/lang/Object;
if_acmpeq 2
aload 1
getstatic io.reactivex.internal.schedulers.ScheduledRunnable.DONE:Ljava/lang/Object;
if_acmpeq 2
iconst_0
ireturn
StackMap locals: java.lang.Object
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/ScheduledRunnable;
1 3 1 o Ljava/lang/Object;
}
Signature: Ljava/util/concurrent/atomic/AtomicReferenceArray<Ljava/lang/Object;>;Ljava/lang/Runnable;Ljava/util/concurrent/Callable<Ljava/lang/Object;>;Lio/reactivex/disposables/Disposable;
SourceFile: "ScheduledRunnable.java"