public final class io.reactivex.subscribers.SerializedSubscriber<T> 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.subscribers.SerializedSubscriber
super_class: java.lang.Object
{
final org.reactivestreams.Subscriber<? super T> downstream;
descriptor: Lorg/reactivestreams/Subscriber;
flags: (0x0010) ACC_FINAL
Signature: Lorg/reactivestreams/Subscriber<-TT;>;
final boolean delayError;
descriptor: Z
flags: (0x0010) ACC_FINAL
static final int QUEUE_LINK_SIZE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4
org.reactivestreams.Subscription upstream;
descriptor: Lorg/reactivestreams/Subscription;
flags: (0x0000)
boolean emitting;
descriptor: Z
flags: (0x0000)
io.reactivex.internal.util.AppendOnlyLinkedArrayList<java.lang.Object> queue;
descriptor: Lio/reactivex/internal/util/AppendOnlyLinkedArrayList;
flags: (0x0000)
Signature: Lio/reactivex/internal/util/AppendOnlyLinkedArrayList<Ljava/lang/Object;>;
volatile boolean done;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
public void <init>(org.reactivestreams.Subscriber<? super T>);
descriptor: (Lorg/reactivestreams/Subscriber;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokespecial io.reactivex.subscribers.SerializedSubscriber.<init>:(Lorg/reactivestreams/Subscriber;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/subscribers/SerializedSubscriber<TT;>;
0 2 1 downstream Lorg/reactivestreams/Subscriber<-TT;>;
Signature: (Lorg/reactivestreams/Subscriber<-TT;>;)V
MethodParameters:
Name Flags
downstream
public void <init>(org.reactivestreams.Subscriber<? super T>, );
descriptor: (Lorg/reactivestreams/Subscriber;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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.subscribers.SerializedSubscriber.downstream:Lorg/reactivestreams/Subscriber;
2: aload 0
iload 2
putfield io.reactivex.subscribers.SerializedSubscriber.delayError:Z
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/subscribers/SerializedSubscriber<TT;>;
0 4 1 actual Lorg/reactivestreams/Subscriber<-TT;>;
0 4 2 delayError Z
Signature: (Lorg/reactivestreams/Subscriber<-TT;>;Z)V
MethodParameters:
Name Flags
actual
delayError
public void onSubscribe(org.reactivestreams.Subscription);
descriptor: (Lorg/reactivestreams/Subscription;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.subscribers.SerializedSubscriber.upstream:Lorg/reactivestreams/Subscription;
aload 1
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.validate:(Lorg/reactivestreams/Subscription;Lorg/reactivestreams/Subscription;)Z
ifeq 3
1: aload 0
aload 1
putfield io.reactivex.subscribers.SerializedSubscriber.upstream:Lorg/reactivestreams/Subscription;
2: aload 0
getfield io.reactivex.subscribers.SerializedSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 0
invokeinterface org.reactivestreams.Subscriber.onSubscribe:(Lorg/reactivestreams/Subscription;)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/subscribers/SerializedSubscriber<TT;>;
0 4 1 s Lorg/reactivestreams/Subscription;
MethodParameters:
Name Flags
s
public void onNext();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.subscribers.SerializedSubscriber.done:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 6
3: aload 0
getfield io.reactivex.subscribers.SerializedSubscriber.upstream:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
4: aload 0
new java.lang.NullPointerException
dup
ldc "onNext called with null. Null values are generally not allowed in 2.x operators and sources."
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
invokevirtual io.reactivex.subscribers.SerializedSubscriber.onError:(Ljava/lang/Throwable;)V
5: return
6: StackMap locals:
StackMap stack:
aload 0
dup
astore 2
monitorenter
7: aload 0
getfield io.reactivex.subscribers.SerializedSubscriber.done:Z
ifeq 10
8: aload 2
monitorexit
9: return
10: StackMap locals: io.reactivex.subscribers.SerializedSubscriber
StackMap stack:
aload 0
getfield io.reactivex.subscribers.SerializedSubscriber.emitting:Z
ifeq 18
11: aload 0
getfield io.reactivex.subscribers.SerializedSubscriber.queue:Lio/reactivex/internal/util/AppendOnlyLinkedArrayList;
astore 3
start local 3 12: aload 3
ifnonnull 15
13: new io.reactivex.internal.util.AppendOnlyLinkedArrayList
dup
iconst_4
invokespecial io.reactivex.internal.util.AppendOnlyLinkedArrayList.<init>:(I)V
astore 3
14: aload 0
aload 3
putfield io.reactivex.subscribers.SerializedSubscriber.queue:Lio/reactivex/internal/util/AppendOnlyLinkedArrayList;
15: StackMap locals: io.reactivex.internal.util.AppendOnlyLinkedArrayList
StackMap stack:
aload 3
aload 1
invokestatic io.reactivex.internal.util.NotificationLite.next:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual io.reactivex.internal.util.AppendOnlyLinkedArrayList.add:(Ljava/lang/Object;)V
16: aload 2
monitorexit
17: return
end local 3 18: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.reactivex.subscribers.SerializedSubscriber.emitting:Z
19: aload 2
monitorexit
20: goto 23
StackMap locals:
StackMap stack: java.lang.Throwable
21: aload 2
monitorexit
22: athrow
23: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.subscribers.SerializedSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 1
invokeinterface org.reactivestreams.Subscriber.onNext:(Ljava/lang/Object;)V
24: aload 0
invokevirtual io.reactivex.subscribers.SerializedSubscriber.emitLoop:()V
25: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lio/reactivex/subscribers/SerializedSubscriber<TT;>;
0 26 1 t TT;
12 18 3 q Lio/reactivex/internal/util/AppendOnlyLinkedArrayList<Ljava/lang/Object;>;
Exception table:
from to target type
7 9 21 any
10 17 21 any
18 20 21 any
21 22 21 any
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=6, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.subscribers.SerializedSubscriber.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
dup
astore 3
monitorenter
4: aload 0
getfield io.reactivex.subscribers.SerializedSubscriber.done:Z
ifeq 7
5: iconst_1
istore 2
start local 2 6: goto 23
end local 2 7: StackMap locals: io.reactivex.subscribers.SerializedSubscriber java.lang.Throwable top io.reactivex.subscribers.SerializedSubscriber
StackMap stack:
aload 0
getfield io.reactivex.subscribers.SerializedSubscriber.emitting:Z
ifeq 20
8: aload 0
iconst_1
putfield io.reactivex.subscribers.SerializedSubscriber.done:Z
9: aload 0
getfield io.reactivex.subscribers.SerializedSubscriber.queue:Lio/reactivex/internal/util/AppendOnlyLinkedArrayList;
astore 4
start local 4 10: aload 4
ifnonnull 13
11: new io.reactivex.internal.util.AppendOnlyLinkedArrayList
dup
iconst_4
invokespecial io.reactivex.internal.util.AppendOnlyLinkedArrayList.<init>:(I)V
astore 4
12: aload 0
aload 4
putfield io.reactivex.subscribers.SerializedSubscriber.queue:Lio/reactivex/internal/util/AppendOnlyLinkedArrayList;
13: StackMap locals: io.reactivex.internal.util.AppendOnlyLinkedArrayList
StackMap stack:
aload 1
invokestatic io.reactivex.internal.util.NotificationLite.error:(Ljava/lang/Throwable;)Ljava/lang/Object;
astore 5
start local 5 14: aload 0
getfield io.reactivex.subscribers.SerializedSubscriber.delayError:Z
ifeq 17
15: aload 4
aload 5
invokevirtual io.reactivex.internal.util.AppendOnlyLinkedArrayList.add:(Ljava/lang/Object;)V
16: goto 18
17: StackMap locals: java.lang.Object
StackMap stack:
aload 4
aload 5
invokevirtual io.reactivex.internal.util.AppendOnlyLinkedArrayList.setFirst:(Ljava/lang/Object;)V
18: StackMap locals:
StackMap stack:
aload 3
monitorexit
19: return
end local 5 end local 4 20: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.reactivex.subscribers.SerializedSubscriber.done:Z
21: aload 0
iconst_1
putfield io.reactivex.subscribers.SerializedSubscriber.emitting:Z
22: iconst_0
istore 2
start local 2 23: StackMap locals: io.reactivex.subscribers.SerializedSubscriber java.lang.Throwable int io.reactivex.subscribers.SerializedSubscriber
StackMap stack:
aload 3
monitorexit
24: goto 27
end local 2 StackMap locals: io.reactivex.subscribers.SerializedSubscriber java.lang.Throwable top io.reactivex.subscribers.SerializedSubscriber
StackMap stack: java.lang.Throwable
25: aload 3
monitorexit
26: athrow
start local 2 27: StackMap locals: io.reactivex.subscribers.SerializedSubscriber java.lang.Throwable int
StackMap stack:
iload 2
ifeq 30
28: aload 1
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
29: return
30: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.subscribers.SerializedSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 1
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
31: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lio/reactivex/subscribers/SerializedSubscriber<TT;>;
0 32 1 t Ljava/lang/Throwable;
6 7 2 reportError Z
23 25 2 reportError Z
27 32 2 reportError Z
10 20 4 q Lio/reactivex/internal/util/AppendOnlyLinkedArrayList<Ljava/lang/Object;>;
14 20 5 err Ljava/lang/Object;
Exception table:
from to target type
4 19 25 any
20 24 25 any
25 26 25 any
MethodParameters:
Name Flags
t
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield io.reactivex.subscribers.SerializedSubscriber.done:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
dup
astore 1
monitorenter
3: aload 0
getfield io.reactivex.subscribers.SerializedSubscriber.done:Z
ifeq 6
4: aload 1
monitorexit
5: return
6: StackMap locals: io.reactivex.subscribers.SerializedSubscriber
StackMap stack:
aload 0
getfield io.reactivex.subscribers.SerializedSubscriber.emitting:Z
ifeq 14
7: aload 0
getfield io.reactivex.subscribers.SerializedSubscriber.queue:Lio/reactivex/internal/util/AppendOnlyLinkedArrayList;
astore 2
start local 2 8: aload 2
ifnonnull 11
9: new io.reactivex.internal.util.AppendOnlyLinkedArrayList
dup
iconst_4
invokespecial io.reactivex.internal.util.AppendOnlyLinkedArrayList.<init>:(I)V
astore 2
10: aload 0
aload 2
putfield io.reactivex.subscribers.SerializedSubscriber.queue:Lio/reactivex/internal/util/AppendOnlyLinkedArrayList;
11: StackMap locals: io.reactivex.internal.util.AppendOnlyLinkedArrayList
StackMap stack:
aload 2
invokestatic io.reactivex.internal.util.NotificationLite.complete:()Ljava/lang/Object;
invokevirtual io.reactivex.internal.util.AppendOnlyLinkedArrayList.add:(Ljava/lang/Object;)V
12: aload 1
monitorexit
13: return
end local 2 14: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.reactivex.subscribers.SerializedSubscriber.done:Z
15: aload 0
iconst_1
putfield io.reactivex.subscribers.SerializedSubscriber.emitting:Z
16: aload 1
monitorexit
17: goto 20
StackMap locals:
StackMap stack: java.lang.Throwable
18: aload 1
monitorexit
19: athrow
20: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.subscribers.SerializedSubscriber.downstream:Lorg/reactivestreams/Subscriber;
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
21: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lio/reactivex/subscribers/SerializedSubscriber<TT;>;
8 14 2 q Lio/reactivex/internal/util/AppendOnlyLinkedArrayList<Ljava/lang/Object;>;
Exception table:
from to target type
3 5 18 any
6 13 18 any
14 17 18 any
18 19 18 any
void emitLoop();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
dup
astore 2
monitorenter
1: aload 0
getfield io.reactivex.subscribers.SerializedSubscriber.queue:Lio/reactivex/internal/util/AppendOnlyLinkedArrayList;
astore 1
start local 1 2: aload 1
ifnonnull 6
3: aload 0
iconst_0
putfield io.reactivex.subscribers.SerializedSubscriber.emitting:Z
4: aload 2
monitorexit
5: return
6: StackMap locals: io.reactivex.internal.util.AppendOnlyLinkedArrayList io.reactivex.subscribers.SerializedSubscriber
StackMap stack:
aload 0
aconst_null
putfield io.reactivex.subscribers.SerializedSubscriber.queue:Lio/reactivex/internal/util/AppendOnlyLinkedArrayList;
7: aload 2
monitorexit
8: goto 11
end local 1 StackMap locals: io.reactivex.subscribers.SerializedSubscriber top io.reactivex.subscribers.SerializedSubscriber
StackMap stack: java.lang.Throwable
9: aload 2
monitorexit
10: athrow
start local 1 11: StackMap locals: io.reactivex.subscribers.SerializedSubscriber io.reactivex.internal.util.AppendOnlyLinkedArrayList
StackMap stack:
aload 1
aload 0
getfield io.reactivex.subscribers.SerializedSubscriber.downstream:Lorg/reactivestreams/Subscriber;
invokevirtual io.reactivex.internal.util.AppendOnlyLinkedArrayList.accept:(Lorg/reactivestreams/Subscriber;)Z
ifeq 0
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/reactivex/subscribers/SerializedSubscriber<TT;>;
2 9 1 q Lio/reactivex/internal/util/AppendOnlyLinkedArrayList<Ljava/lang/Object;>;
11 13 1 q Lio/reactivex/internal/util/AppendOnlyLinkedArrayList<Ljava/lang/Object;>;
Exception table:
from to target type
1 5 9 any
6 8 9 any
9 10 9 any
public void request(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.subscribers.SerializedSubscriber.upstream:Lorg/reactivestreams/Subscription;
lload 1
invokeinterface org.reactivestreams.Subscription.request:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/subscribers/SerializedSubscriber<TT;>;
0 2 1 n J
MethodParameters:
Name Flags
n
public void cancel();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.subscribers.SerializedSubscriber.upstream:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/subscribers/SerializedSubscriber<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lio/reactivex/FlowableSubscriber<TT;>;Lorg/reactivestreams/Subscription;
SourceFile: "SerializedSubscriber.java"