abstract class io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber<T> extends java.util.concurrent.atomic.AtomicInteger implements io.reactivex.FlowableSubscriber<T>, org.reactivestreams.Subscription, java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber
super_class: java.util.concurrent.atomic.AtomicInteger
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 9222303586456402150
final int prefetch;
descriptor: I
flags: (0x0010) ACC_FINAL
final int limit;
descriptor: I
flags: (0x0010) ACC_FINAL
final io.reactivex.internal.queue.SpscArrayQueue<T> queue;
descriptor: Lio/reactivex/internal/queue/SpscArrayQueue;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/internal/queue/SpscArrayQueue<TT;>;
final io.reactivex.Scheduler$Worker worker;
descriptor: Lio/reactivex/Scheduler$Worker;
flags: (0x0010) ACC_FINAL
org.reactivestreams.Subscription upstream;
descriptor: Lorg/reactivestreams/Subscription;
flags: (0x0000)
volatile boolean done;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
java.lang.Throwable error;
descriptor: Ljava/lang/Throwable;
flags: (0x0000)
final java.util.concurrent.atomic.AtomicLong requested;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0010) ACC_FINAL
volatile boolean cancelled;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
int consumed;
descriptor: I
flags: (0x0000)
void <init>(int, io.reactivex.internal.queue.SpscArrayQueue<T>, io.reactivex.Scheduler$Worker);
descriptor: (ILio/reactivex/internal/queue/SpscArrayQueue;Lio/reactivex/Scheduler$Worker;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber.requested:Ljava/util/concurrent/atomic/AtomicLong;
2: aload 0
iload 1
putfield io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber.prefetch:I
3: aload 0
aload 2
putfield io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber.queue:Lio/reactivex/internal/queue/SpscArrayQueue;
4: aload 0
iload 1
iload 1
iconst_2
ishr
isub
putfield io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber.limit:I
5: aload 0
aload 3
putfield io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber.worker:Lio/reactivex/Scheduler$Worker;
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactivex/internal/operators/parallel/ParallelRunOn$BaseRunOnSubscriber<TT;>;
0 7 1 prefetch I
0 7 2 queue Lio/reactivex/internal/queue/SpscArrayQueue<TT;>;
0 7 3 worker Lio/reactivex/Scheduler$Worker;
Signature: (ILio/reactivex/internal/queue/SpscArrayQueue<TT;>;Lio/reactivex/Scheduler$Worker;)V
MethodParameters:
Name Flags
prefetch
queue
worker
public final void onNext();
descriptor: (Ljava/lang/Object;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber.done:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber.queue:Lio/reactivex/internal/queue/SpscArrayQueue;
aload 1
invokevirtual io.reactivex.internal.queue.SpscArrayQueue.offer:(Ljava/lang/Object;)Z
ifne 6
3: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber.upstream:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
4: aload 0
new io.reactivex.exceptions.MissingBackpressureException
dup
ldc "Queue is full?!"
invokespecial io.reactivex.exceptions.MissingBackpressureException.<init>:(Ljava/lang/String;)V
invokevirtual io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber.onError:(Ljava/lang/Throwable;)V
5: return
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber.schedule:()V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/reactivex/internal/operators/parallel/ParallelRunOn$BaseRunOnSubscriber<TT;>;
0 8 1 t TT;
Signature: (TT;)V
MethodParameters:
Name Flags
t
public final void onError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber.done:Z
ifeq 3
1: aload 1
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber.error:Ljava/lang/Throwable;
4: aload 0
iconst_1
putfield io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber.done:Z
5: aload 0
invokevirtual io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber.schedule:()V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactivex/internal/operators/parallel/ParallelRunOn$BaseRunOnSubscriber<TT;>;
0 7 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public final void onComplete();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber.done:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber.done:Z
3: aload 0
invokevirtual io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber.schedule:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/internal/operators/parallel/ParallelRunOn$BaseRunOnSubscriber<TT;>;
public final void request(long);
descriptor: (J)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: lload 1
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.validate:(J)Z
ifeq 3
1: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber.requested:Ljava/util/concurrent/atomic/AtomicLong;
lload 1
invokestatic io.reactivex.internal.util.BackpressureHelper.add:(Ljava/util/concurrent/atomic/AtomicLong;J)J
pop2
2: aload 0
invokevirtual io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber.schedule:()V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/parallel/ParallelRunOn$BaseRunOnSubscriber<TT;>;
0 4 1 n J
MethodParameters:
Name Flags
n
public final void cancel();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber.cancelled:Z
ifne 6
1: aload 0
iconst_1
putfield io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber.cancelled:Z
2: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber.upstream:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
3: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber.worker:Lio/reactivex/Scheduler$Worker;
invokevirtual io.reactivex.Scheduler$Worker.dispose:()V
4: aload 0
invokevirtual io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber.getAndIncrement:()I
ifne 6
5: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber.queue:Lio/reactivex/internal/queue/SpscArrayQueue;
invokevirtual io.reactivex.internal.queue.SpscArrayQueue.clear:()V
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactivex/internal/operators/parallel/ParallelRunOn$BaseRunOnSubscriber<TT;>;
final void schedule();
descriptor: ()V
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber.getAndIncrement:()I
ifne 2
1: aload 0
getfield io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber.worker:Lio/reactivex/Scheduler$Worker;
aload 0
invokevirtual io.reactivex.Scheduler$Worker.schedule:(Ljava/lang/Runnable;)Lio/reactivex/disposables/Disposable;
pop
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/parallel/ParallelRunOn$BaseRunOnSubscriber<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/util/concurrent/atomic/AtomicInteger;Lio/reactivex/FlowableSubscriber<TT;>;Lorg/reactivestreams/Subscription;Ljava/lang/Runnable;
SourceFile: "ParallelRunOn.java"
NestHost: io.reactivex.internal.operators.parallel.ParallelRunOn
InnerClasses:
public abstract Worker = io.reactivex.Scheduler$Worker of io.reactivex.Scheduler
abstract BaseRunOnSubscriber = io.reactivex.internal.operators.parallel.ParallelRunOn$BaseRunOnSubscriber of io.reactivex.internal.operators.parallel.ParallelRunOn