final class io.reactivex.internal.schedulers.InstantPeriodicTask implements java.util.concurrent.Callable<java.lang.Void>, io.reactivex.disposables.Disposable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.schedulers.InstantPeriodicTask
super_class: java.lang.Object
{
final java.lang.Runnable task;
descriptor: Ljava/lang/Runnable;
flags: (0x0010) ACC_FINAL
final java.util.concurrent.atomic.AtomicReference<java.util.concurrent.Future<?>> rest;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Ljava/util/concurrent/Future<*>;>;
final java.util.concurrent.atomic.AtomicReference<java.util.concurrent.Future<?>> first;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Ljava/util/concurrent/Future<*>;>;
final java.util.concurrent.ExecutorService executor;
descriptor: Ljava/util/concurrent/ExecutorService;
flags: (0x0010) ACC_FINAL
java.lang.Thread runner;
descriptor: Ljava/lang/Thread;
flags: (0x0000)
static final java.util.concurrent.FutureTask<java.lang.Void> CANCELLED;
descriptor: Ljava/util/concurrent/FutureTask;
flags: (0x0018) 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.InstantPeriodicTask.CANCELLED:Ljava/util/concurrent/FutureTask;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.Runnable, java.util.concurrent.ExecutorService);
descriptor: (Ljava/lang/Runnable;Ljava/util/concurrent/ExecutorService;)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 io.reactivex.internal.schedulers.InstantPeriodicTask.task:Ljava/lang/Runnable;
2: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield io.reactivex.internal.schedulers.InstantPeriodicTask.first:Ljava/util/concurrent/atomic/AtomicReference;
3: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield io.reactivex.internal.schedulers.InstantPeriodicTask.rest:Ljava/util/concurrent/atomic/AtomicReference;
4: aload 0
aload 2
putfield io.reactivex.internal.schedulers.InstantPeriodicTask.executor:Ljava/util/concurrent/ExecutorService;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/schedulers/InstantPeriodicTask;
0 6 1 task Ljava/lang/Runnable;
0 6 2 executor Ljava/util/concurrent/ExecutorService;
MethodParameters:
Name Flags
task
executor
public java.lang.Void call();
descriptor: ()Ljava/lang/Void;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
putfield io.reactivex.internal.schedulers.InstantPeriodicTask.runner:Ljava/lang/Thread;
1: aload 0
getfield io.reactivex.internal.schedulers.InstantPeriodicTask.task:Ljava/lang/Runnable;
invokeinterface java.lang.Runnable.run:()V
2: aload 0
aload 0
getfield io.reactivex.internal.schedulers.InstantPeriodicTask.executor:Ljava/util/concurrent/ExecutorService;
aload 0
invokeinterface java.util.concurrent.ExecutorService.submit:(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future;
invokevirtual io.reactivex.internal.schedulers.InstantPeriodicTask.setRest:(Ljava/util/concurrent/Future;)V
3: aload 0
aconst_null
putfield io.reactivex.internal.schedulers.InstantPeriodicTask.runner:Ljava/lang/Thread;
4: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 1
start local 1 6: aload 0
aconst_null
putfield io.reactivex.internal.schedulers.InstantPeriodicTask.runner:Ljava/lang/Thread;
7: aload 1
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
end local 1 8: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/reactivex/internal/schedulers/InstantPeriodicTask;
6 8 1 ex Ljava/lang/Throwable;
Exception table:
from to target type
1 4 5 Class java.lang.Throwable
Exceptions:
throws java.lang.Exception
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.schedulers.InstantPeriodicTask.first:Ljava/util/concurrent/atomic/AtomicReference;
getstatic io.reactivex.internal.schedulers.InstantPeriodicTask.CANCELLED:Ljava/util/concurrent/FutureTask;
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.concurrent.Future
astore 1
start local 1 1: aload 1
ifnull 5
aload 1
getstatic io.reactivex.internal.schedulers.InstantPeriodicTask.CANCELLED:Ljava/util/concurrent/FutureTask;
if_acmpeq 5
2: aload 1
aload 0
getfield io.reactivex.internal.schedulers.InstantPeriodicTask.runner:Ljava/lang/Thread;
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
if_acmpeq 3
iconst_1
goto 4
StackMap locals: io.reactivex.internal.schedulers.InstantPeriodicTask java.util.concurrent.Future
StackMap stack: java.util.concurrent.Future
3: iconst_0
StackMap locals: io.reactivex.internal.schedulers.InstantPeriodicTask java.util.concurrent.Future
StackMap stack: java.util.concurrent.Future int
4: invokeinterface java.util.concurrent.Future.cancel:(Z)Z
pop
5: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.schedulers.InstantPeriodicTask.rest:Ljava/util/concurrent/atomic/AtomicReference;
getstatic io.reactivex.internal.schedulers.InstantPeriodicTask.CANCELLED:Ljava/util/concurrent/FutureTask;
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.concurrent.Future
astore 1
6: aload 1
ifnull 10
aload 1
getstatic io.reactivex.internal.schedulers.InstantPeriodicTask.CANCELLED:Ljava/util/concurrent/FutureTask;
if_acmpeq 10
7: aload 1
aload 0
getfield io.reactivex.internal.schedulers.InstantPeriodicTask.runner:Ljava/lang/Thread;
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
if_acmpeq 8
iconst_1
goto 9
StackMap locals:
StackMap stack: java.util.concurrent.Future
8: iconst_0
StackMap locals: io.reactivex.internal.schedulers.InstantPeriodicTask java.util.concurrent.Future
StackMap stack: java.util.concurrent.Future int
9: invokeinterface java.util.concurrent.Future.cancel:(Z)Z
pop
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/reactivex/internal/schedulers/InstantPeriodicTask;
1 11 1 current Ljava/util/concurrent/Future<*>;
public boolean isDisposed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.schedulers.InstantPeriodicTask.first:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
getstatic io.reactivex.internal.schedulers.InstantPeriodicTask.CANCELLED:Ljava/util/concurrent/FutureTask;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/schedulers/InstantPeriodicTask;
void setFirst(java.util.concurrent.Future<?>);
descriptor: (Ljava/util/concurrent/Future;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.schedulers.InstantPeriodicTask.first:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast java.util.concurrent.Future
astore 2
start local 2 1: aload 2
getstatic io.reactivex.internal.schedulers.InstantPeriodicTask.CANCELLED:Ljava/util/concurrent/FutureTask;
if_acmpne 6
2: aload 1
aload 0
getfield io.reactivex.internal.schedulers.InstantPeriodicTask.runner:Ljava/lang/Thread;
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
if_acmpeq 3
iconst_1
goto 4
StackMap locals: io.reactivex.internal.schedulers.InstantPeriodicTask java.util.concurrent.Future java.util.concurrent.Future
StackMap stack: java.util.concurrent.Future
3: iconst_0
StackMap locals: io.reactivex.internal.schedulers.InstantPeriodicTask java.util.concurrent.Future java.util.concurrent.Future
StackMap stack: java.util.concurrent.Future int
4: invokeinterface java.util.concurrent.Future.cancel:(Z)Z
pop
5: return
6: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.schedulers.InstantPeriodicTask.first:Ljava/util/concurrent/atomic/AtomicReference;
aload 2
aload 1
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/reactivex/internal/schedulers/InstantPeriodicTask;
0 8 1 f Ljava/util/concurrent/Future<*>;
1 8 2 current Ljava/util/concurrent/Future<*>;
Signature: (Ljava/util/concurrent/Future<*>;)V
MethodParameters:
Name Flags
f
void setRest(java.util.concurrent.Future<?>);
descriptor: (Ljava/util/concurrent/Future;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.schedulers.InstantPeriodicTask.rest:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast java.util.concurrent.Future
astore 2
start local 2 1: aload 2
getstatic io.reactivex.internal.schedulers.InstantPeriodicTask.CANCELLED:Ljava/util/concurrent/FutureTask;
if_acmpne 6
2: aload 1
aload 0
getfield io.reactivex.internal.schedulers.InstantPeriodicTask.runner:Ljava/lang/Thread;
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
if_acmpeq 3
iconst_1
goto 4
StackMap locals: io.reactivex.internal.schedulers.InstantPeriodicTask java.util.concurrent.Future java.util.concurrent.Future
StackMap stack: java.util.concurrent.Future
3: iconst_0
StackMap locals: io.reactivex.internal.schedulers.InstantPeriodicTask java.util.concurrent.Future java.util.concurrent.Future
StackMap stack: java.util.concurrent.Future int
4: invokeinterface java.util.concurrent.Future.cancel:(Z)Z
pop
5: return
6: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.schedulers.InstantPeriodicTask.rest:Ljava/util/concurrent/atomic/AtomicReference;
aload 2
aload 1
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/reactivex/internal/schedulers/InstantPeriodicTask;
0 8 1 f Ljava/util/concurrent/Future<*>;
1 8 2 current Ljava/util/concurrent/Future<*>;
Signature: (Ljava/util/concurrent/Future<*>;)V
MethodParameters:
Name Flags
f
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 io.reactivex.internal.schedulers.InstantPeriodicTask.call:()Ljava/lang/Void;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
Signature: Ljava/lang/Object;Ljava/util/concurrent/Callable<Ljava/lang/Void;>;Lio/reactivex/disposables/Disposable;
SourceFile: "InstantPeriodicTask.java"