final class io.reactivex.internal.operators.flowable.FlowableLimit$LimitSubscriber<T> extends java.util.concurrent.atomic.AtomicLong implements io.reactivex.FlowableSubscriber<T>, org.reactivestreams.Subscription
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.flowable.FlowableLimit$LimitSubscriber
super_class: java.util.concurrent.atomic.AtomicLong
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2288246011222124525
final org.reactivestreams.Subscriber<? super T> downstream;
descriptor: Lorg/reactivestreams/Subscriber;
flags: (0x0010) ACC_FINAL
Signature: Lorg/reactivestreams/Subscriber<-TT;>;
long remaining;
descriptor: J
flags: (0x0000)
org.reactivestreams.Subscription upstream;
descriptor: Lorg/reactivestreams/Subscription;
flags: (0x0000)
void <init>(org.reactivestreams.Subscriber<? super T>, );
descriptor: (Lorg/reactivestreams/Subscriber;J)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.flowable.FlowableLimit$LimitSubscriber.downstream:Lorg/reactivestreams/Subscriber;
2: aload 0
lload 2
putfield io.reactivex.internal.operators.flowable.FlowableLimit$LimitSubscriber.remaining:J
3: aload 0
lload 2
invokevirtual io.reactivex.internal.operators.flowable.FlowableLimit$LimitSubscriber.lazySet:(J)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/internal/operators/flowable/FlowableLimit$LimitSubscriber<TT;>;
0 5 1 actual Lorg/reactivestreams/Subscriber<-TT;>;
0 5 2 remaining J
Signature: (Lorg/reactivestreams/Subscriber<-TT;>;J)V
MethodParameters:
Name Flags
actual
remaining
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.operators.flowable.FlowableLimit$LimitSubscriber.upstream:Lorg/reactivestreams/Subscription;
aload 1
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.validate:(Lorg/reactivestreams/Subscription;Lorg/reactivestreams/Subscription;)Z
ifeq 7
1: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableLimit$LimitSubscriber.remaining:J
lconst_0
lcmp
ifne 5
2: aload 1
invokeinterface org.reactivestreams.Subscription.cancel:()V
3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableLimit$LimitSubscriber.downstream:Lorg/reactivestreams/Subscriber;
invokestatic io.reactivex.internal.subscriptions.EmptySubscription.complete:(Lorg/reactivestreams/Subscriber;)V
4: goto 7
5: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.reactivex.internal.operators.flowable.FlowableLimit$LimitSubscriber.upstream:Lorg/reactivestreams/Subscription;
6: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableLimit$LimitSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 0
invokeinterface org.reactivestreams.Subscriber.onSubscribe:(Lorg/reactivestreams/Subscription;)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/operators/flowable/FlowableLimit$LimitSubscriber<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=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableLimit$LimitSubscriber.remaining:J
lstore 2
start local 2 1: lload 2
lconst_0
lcmp
ifle 7
2: aload 0
lload 2
lconst_1
lsub
dup2
lstore 2
putfield io.reactivex.internal.operators.flowable.FlowableLimit$LimitSubscriber.remaining:J
3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableLimit$LimitSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 1
invokeinterface org.reactivestreams.Subscriber.onNext:(Ljava/lang/Object;)V
4: lload 2
lconst_0
lcmp
ifne 7
5: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableLimit$LimitSubscriber.upstream:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
6: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableLimit$LimitSubscriber.downstream:Lorg/reactivestreams/Subscriber;
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
7: StackMap locals: long
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/reactivex/internal/operators/flowable/FlowableLimit$LimitSubscriber<TT;>;
0 8 1 t TT;
1 8 2 r J
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
getfield io.reactivex.internal.operators.flowable.FlowableLimit$LimitSubscriber.remaining:J
lconst_0
lcmp
ifle 4
1: aload 0
lconst_0
putfield io.reactivex.internal.operators.flowable.FlowableLimit$LimitSubscriber.remaining:J
2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableLimit$LimitSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 1
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 1
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)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/operators/flowable/FlowableLimit$LimitSubscriber<TT;>;
0 6 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableLimit$LimitSubscriber.remaining:J
lconst_0
lcmp
ifle 3
1: aload 0
lconst_0
putfield io.reactivex.internal.operators.flowable.FlowableLimit$LimitSubscriber.remaining:J
2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableLimit$LimitSubscriber.downstream:Lorg/reactivestreams/Subscriber;
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/flowable/FlowableLimit$LimitSubscriber<TT;>;
public void request(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: lload 1
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.validate:(J)Z
ifeq 11
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableLimit$LimitSubscriber.get:()J
lstore 3
start local 3 2: lload 3
lconst_0
lcmp
ifne 4
3: goto 11
4: StackMap locals: long
StackMap stack:
lload 3
lload 1
lcmp
ifgt 7
5: lload 3
lstore 5
start local 5 6: goto 8
end local 5 7: StackMap locals:
StackMap stack:
lload 1
lstore 5
start local 5 8: StackMap locals: long
StackMap stack:
lload 3
lload 5
lsub
lstore 7
start local 7 9: aload 0
lload 3
lload 7
invokevirtual io.reactivex.internal.operators.flowable.FlowableLimit$LimitSubscriber.compareAndSet:(JJ)Z
ifeq 1
10: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableLimit$LimitSubscriber.upstream:Lorg/reactivestreams/Subscription;
lload 5
invokeinterface org.reactivestreams.Subscription.request:(J)V
end local 7 end local 5 end local 3 11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/reactivex/internal/operators/flowable/FlowableLimit$LimitSubscriber<TT;>;
0 12 1 n J
2 11 3 r J
6 7 5 toRequest J
8 11 5 toRequest J
9 11 7 u 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.operators.flowable.FlowableLimit$LimitSubscriber.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/internal/operators/flowable/FlowableLimit$LimitSubscriber<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/util/concurrent/atomic/AtomicLong;Lio/reactivex/FlowableSubscriber<TT;>;Lorg/reactivestreams/Subscription;
SourceFile: "FlowableLimit.java"
NestHost: io.reactivex.internal.operators.flowable.FlowableLimit
InnerClasses:
final LimitSubscriber = io.reactivex.internal.operators.flowable.FlowableLimit$LimitSubscriber of io.reactivex.internal.operators.flowable.FlowableLimit