public class io.reactivex.internal.subscribers.StrictSubscriber<T> extends java.util.concurrent.atomic.AtomicInteger implements io.reactivex.FlowableSubscriber<T>, org.reactivestreams.Subscription
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.reactivex.internal.subscribers.StrictSubscriber
super_class: java.util.concurrent.atomic.AtomicInteger
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -4945028590049415624
final org.reactivestreams.Subscriber<? super T> downstream;
descriptor: Lorg/reactivestreams/Subscriber;
flags: (0x0010) ACC_FINAL
Signature: Lorg/reactivestreams/Subscriber<-TT;>;
final io.reactivex.internal.util.AtomicThrowable error;
descriptor: Lio/reactivex/internal/util/AtomicThrowable;
flags: (0x0010) ACC_FINAL
final java.util.concurrent.atomic.AtomicLong requested;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0010) ACC_FINAL
final java.util.concurrent.atomic.AtomicReference<org.reactivestreams.Subscription> upstream;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lorg/reactivestreams/Subscription;>;
final java.util.concurrent.atomic.AtomicBoolean once;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0010) ACC_FINAL
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
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.subscribers.StrictSubscriber.downstream:Lorg/reactivestreams/Subscriber;
2: aload 0
new io.reactivex.internal.util.AtomicThrowable
dup
invokespecial io.reactivex.internal.util.AtomicThrowable.<init>:()V
putfield io.reactivex.internal.subscribers.StrictSubscriber.error:Lio/reactivex/internal/util/AtomicThrowable;
3: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield io.reactivex.internal.subscribers.StrictSubscriber.requested:Ljava/util/concurrent/atomic/AtomicLong;
4: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield io.reactivex.internal.subscribers.StrictSubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
5: aload 0
new java.util.concurrent.atomic.AtomicBoolean
dup
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
putfield io.reactivex.internal.subscribers.StrictSubscriber.once:Ljava/util/concurrent/atomic/AtomicBoolean;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactivex/internal/subscribers/StrictSubscriber<TT;>;
0 7 1 downstream Lorg/reactivestreams/Subscriber<-TT;>;
Signature: (Lorg/reactivestreams/Subscriber<-TT;>;)V
MethodParameters:
Name Flags
downstream
public void request(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: lload 1
lconst_0
lcmp
ifgt 4
1: aload 0
invokevirtual io.reactivex.internal.subscribers.StrictSubscriber.cancel:()V
2: aload 0
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "\u00A73.9 violated: positive request amount required but it was "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
invokevirtual io.reactivex.internal.subscribers.StrictSubscriber.onError:(Ljava/lang/Throwable;)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.subscribers.StrictSubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
aload 0
getfield io.reactivex.internal.subscribers.StrictSubscriber.requested:Ljava/util/concurrent/atomic/AtomicLong;
lload 1
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.deferredRequest:(Ljava/util/concurrent/atomic/AtomicReference;Ljava/util/concurrent/atomic/AtomicLong;J)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/subscribers/StrictSubscriber<TT;>;
0 6 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.internal.subscribers.StrictSubscriber.done:Z
ifne 2
1: aload 0
getfield io.reactivex.internal.subscribers.StrictSubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.cancel:(Ljava/util/concurrent/atomic/AtomicReference;)Z
pop
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/subscribers/StrictSubscriber<TT;>;
public void onSubscribe(org.reactivestreams.Subscription);
descriptor: (Lorg/reactivestreams/Subscription;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.subscribers.StrictSubscriber.once:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 4
1: aload 0
getfield io.reactivex.internal.subscribers.StrictSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 0
invokeinterface org.reactivestreams.Subscriber.onSubscribe:(Lorg/reactivestreams/Subscription;)V
2: aload 0
getfield io.reactivex.internal.subscribers.StrictSubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
aload 0
getfield io.reactivex.internal.subscribers.StrictSubscriber.requested:Ljava/util/concurrent/atomic/AtomicLong;
aload 1
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.deferredSetOnce:(Ljava/util/concurrent/atomic/AtomicReference;Ljava/util/concurrent/atomic/AtomicLong;Lorg/reactivestreams/Subscription;)Z
pop
3: goto 7
4: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.reactivestreams.Subscription.cancel:()V
5: aload 0
invokevirtual io.reactivex.internal.subscribers.StrictSubscriber.cancel:()V
6: aload 0
new java.lang.IllegalStateException
dup
ldc "\u00A72.12 violated: onSubscribe must be called at most once"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
invokevirtual io.reactivex.internal.subscribers.StrictSubscriber.onError:(Ljava/lang/Throwable;)V
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/StrictSubscriber<TT;>;
0 8 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=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.subscribers.StrictSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 1
aload 0
aload 0
getfield io.reactivex.internal.subscribers.StrictSubscriber.error:Lio/reactivex/internal/util/AtomicThrowable;
invokestatic io.reactivex.internal.util.HalfSerializer.onNext:(Lorg/reactivestreams/Subscriber;Ljava/lang/Object;Ljava/util/concurrent/atomic/AtomicInteger;Lio/reactivex/internal/util/AtomicThrowable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/subscribers/StrictSubscriber<TT;>;
0 2 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=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
putfield io.reactivex.internal.subscribers.StrictSubscriber.done:Z
1: aload 0
getfield io.reactivex.internal.subscribers.StrictSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 1
aload 0
aload 0
getfield io.reactivex.internal.subscribers.StrictSubscriber.error:Lio/reactivex/internal/util/AtomicThrowable;
invokestatic io.reactivex.internal.util.HalfSerializer.onError:(Lorg/reactivestreams/Subscriber;Ljava/lang/Throwable;Ljava/util/concurrent/atomic/AtomicInteger;Lio/reactivex/internal/util/AtomicThrowable;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/subscribers/StrictSubscriber<TT;>;
0 3 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield io.reactivex.internal.subscribers.StrictSubscriber.done:Z
1: aload 0
getfield io.reactivex.internal.subscribers.StrictSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 0
aload 0
getfield io.reactivex.internal.subscribers.StrictSubscriber.error:Lio/reactivex/internal/util/AtomicThrowable;
invokestatic io.reactivex.internal.util.HalfSerializer.onComplete:(Lorg/reactivestreams/Subscriber;Ljava/util/concurrent/atomic/AtomicInteger;Lio/reactivex/internal/util/AtomicThrowable;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/subscribers/StrictSubscriber<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/util/concurrent/atomic/AtomicInteger;Lio/reactivex/FlowableSubscriber<TT;>;Lorg/reactivestreams/Subscription;
SourceFile: "StrictSubscriber.java"