public final class io.reactivex.internal.subscribers.InnerQueuedSubscriber<T> extends java.util.concurrent.atomic.AtomicReference<org.reactivestreams.Subscription> implements io.reactivex.FlowableSubscriber<T>, org.reactivestreams.Subscription
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.subscribers.InnerQueuedSubscriber
super_class: java.util.concurrent.atomic.AtomicReference
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 22876611072430776
final io.reactivex.internal.subscribers.InnerQueuedSubscriberSupport<T> parent;
descriptor: Lio/reactivex/internal/subscribers/InnerQueuedSubscriberSupport;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/internal/subscribers/InnerQueuedSubscriberSupport<TT;>;
final int prefetch;
descriptor: I
flags: (0x0010) ACC_FINAL
final int limit;
descriptor: I
flags: (0x0010) ACC_FINAL
volatile io.reactivex.internal.fuseable.SimpleQueue<T> queue;
descriptor: Lio/reactivex/internal/fuseable/SimpleQueue;
flags: (0x0040) ACC_VOLATILE
Signature: Lio/reactivex/internal/fuseable/SimpleQueue<TT;>;
volatile boolean done;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
long produced;
descriptor: J
flags: (0x0000)
int fusionMode;
descriptor: I
flags: (0x0000)
public void <init>(io.reactivex.internal.subscribers.InnerQueuedSubscriberSupport<T>, );
descriptor: (Lio/reactivex/internal/subscribers/InnerQueuedSubscriberSupport;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.parent:Lio/reactivex/internal/subscribers/InnerQueuedSubscriberSupport;
2: aload 0
iload 2
putfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.prefetch:I
3: aload 0
iload 2
iload 2
iconst_2
ishr
isub
putfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.limit:I
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/internal/subscribers/InnerQueuedSubscriber<TT;>;
0 5 1 parent Lio/reactivex/internal/subscribers/InnerQueuedSubscriberSupport<TT;>;
0 5 2 prefetch I
Signature: (Lio/reactivex/internal/subscribers/InnerQueuedSubscriberSupport<TT;>;I)V
MethodParameters:
Name Flags
parent
prefetch
public void onSubscribe(org.reactivestreams.Subscription);
descriptor: (Lorg/reactivestreams/Subscription;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.setOnce:(Ljava/util/concurrent/atomic/AtomicReference;Lorg/reactivestreams/Subscription;)Z
ifeq 17
1: aload 1
instanceof io.reactivex.internal.fuseable.QueueSubscription
ifeq 15
2: aload 1
checkcast io.reactivex.internal.fuseable.QueueSubscription
astore 2
start local 2 3: aload 2
iconst_3
invokeinterface io.reactivex.internal.fuseable.QueueSubscription.requestFusion:(I)I
istore 3
start local 3 4: iload 3
iconst_1
if_icmpne 10
5: aload 0
iload 3
putfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.fusionMode:I
6: aload 0
aload 2
putfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.queue:Lio/reactivex/internal/fuseable/SimpleQueue;
7: aload 0
iconst_1
putfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.done:Z
8: aload 0
getfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.parent:Lio/reactivex/internal/subscribers/InnerQueuedSubscriberSupport;
aload 0
invokeinterface io.reactivex.internal.subscribers.InnerQueuedSubscriberSupport.innerComplete:(Lio/reactivex/internal/subscribers/InnerQueuedSubscriber;)V
9: return
10: StackMap locals: io.reactivex.internal.fuseable.QueueSubscription int
StackMap stack:
iload 3
iconst_2
if_icmpne 15
11: aload 0
iload 3
putfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.fusionMode:I
12: aload 0
aload 2
putfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.queue:Lio/reactivex/internal/fuseable/SimpleQueue;
13: aload 1
aload 0
getfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.prefetch:I
invokestatic io.reactivex.internal.util.QueueDrainHelper.request:(Lorg/reactivestreams/Subscription;I)V
14: return
end local 3 end local 2 15: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.prefetch:I
invokestatic io.reactivex.internal.util.QueueDrainHelper.createQueue:(I)Lio/reactivex/internal/fuseable/SimpleQueue;
putfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.queue:Lio/reactivex/internal/fuseable/SimpleQueue;
16: aload 1
aload 0
getfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.prefetch:I
invokestatic io.reactivex.internal.util.QueueDrainHelper.request:(Lorg/reactivestreams/Subscription;I)V
17: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lio/reactivex/internal/subscribers/InnerQueuedSubscriber<TT;>;
0 18 1 s Lorg/reactivestreams/Subscription;
3 15 2 qs Lio/reactivex/internal/fuseable/QueueSubscription<TT;>;
4 15 3 m I
MethodParameters:
Name Flags
s
public void onNext();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.fusionMode:I
ifne 3
1: aload 0
getfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.parent:Lio/reactivex/internal/subscribers/InnerQueuedSubscriberSupport;
aload 0
aload 1
invokeinterface io.reactivex.internal.subscribers.InnerQueuedSubscriberSupport.innerNext:(Lio/reactivex/internal/subscribers/InnerQueuedSubscriber;Ljava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.parent:Lio/reactivex/internal/subscribers/InnerQueuedSubscriberSupport;
invokeinterface io.reactivex.internal.subscribers.InnerQueuedSubscriberSupport.drain:()V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/internal/subscribers/InnerQueuedSubscriber<TT;>;
0 5 1 t TT;
Signature: (TT;)V
MethodParameters:
Name Flags
t
public void onError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.parent:Lio/reactivex/internal/subscribers/InnerQueuedSubscriberSupport;
aload 0
aload 1
invokeinterface io.reactivex.internal.subscribers.InnerQueuedSubscriberSupport.innerError:(Lio/reactivex/internal/subscribers/InnerQueuedSubscriber;Ljava/lang/Throwable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/subscribers/InnerQueuedSubscriber<TT;>;
0 2 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.parent:Lio/reactivex/internal/subscribers/InnerQueuedSubscriberSupport;
aload 0
invokeinterface io.reactivex.internal.subscribers.InnerQueuedSubscriberSupport.innerComplete:(Lio/reactivex/internal/subscribers/InnerQueuedSubscriber;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/subscribers/InnerQueuedSubscriber<TT;>;
public void request(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.fusionMode:I
iconst_1
if_icmpeq 7
1: aload 0
getfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.produced:J
lload 1
ladd
lstore 3
start local 3 2: lload 3
aload 0
getfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.limit:I
i2l
lcmp
iflt 6
3: aload 0
lconst_0
putfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.produced:J
4: aload 0
invokevirtual io.reactivex.internal.subscribers.InnerQueuedSubscriber.get:()Ljava/lang/Object;
checkcast org.reactivestreams.Subscription
lload 3
invokeinterface org.reactivestreams.Subscription.request:(J)V
5: goto 7
6: StackMap locals: long
StackMap stack:
aload 0
lload 3
putfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.produced:J
end local 3 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/subscribers/InnerQueuedSubscriber<TT;>;
0 8 1 n J
2 7 3 p J
MethodParameters:
Name Flags
n
public void requestOne();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.fusionMode:I
iconst_1
if_icmpeq 7
1: aload 0
getfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.produced:J
lconst_1
ladd
lstore 1
start local 1 2: lload 1
aload 0
getfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.limit:I
i2l
lcmp
ifne 6
3: aload 0
lconst_0
putfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.produced:J
4: aload 0
invokevirtual io.reactivex.internal.subscribers.InnerQueuedSubscriber.get:()Ljava/lang/Object;
checkcast org.reactivestreams.Subscription
lload 1
invokeinterface org.reactivestreams.Subscription.request:(J)V
5: goto 7
6: StackMap locals: long
StackMap stack:
aload 0
lload 1
putfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.produced:J
end local 1 7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/reactivex/internal/subscribers/InnerQueuedSubscriber<TT;>;
2 7 1 p J
public void cancel();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.cancel:(Ljava/util/concurrent/atomic/AtomicReference;)Z
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/subscribers/InnerQueuedSubscriber<TT;>;
public boolean isDone();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.done:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/subscribers/InnerQueuedSubscriber<TT;>;
public void setDone();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.done:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/subscribers/InnerQueuedSubscriber<TT;>;
public io.reactivex.internal.fuseable.SimpleQueue<T> queue();
descriptor: ()Lio/reactivex/internal/fuseable/SimpleQueue;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.subscribers.InnerQueuedSubscriber.queue:Lio/reactivex/internal/fuseable/SimpleQueue;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/subscribers/InnerQueuedSubscriber<TT;>;
Signature: ()Lio/reactivex/internal/fuseable/SimpleQueue<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/util/concurrent/atomic/AtomicReference<Lorg/reactivestreams/Subscription;>;Lio/reactivex/FlowableSubscriber<TT;>;Lorg/reactivestreams/Subscription;
SourceFile: "InnerQueuedSubscriber.java"