abstract class io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber<T> extends java.util.concurrent.atomic.AtomicReference<T> implements io.reactivex.FlowableSubscriber<T>, org.reactivestreams.Subscription
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber
super_class: java.util.concurrent.atomic.AtomicReference
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -3517602651313910099
final org.reactivestreams.Subscriber<? super T> downstream;
descriptor: Lorg/reactivestreams/Subscriber;
flags: (0x0010) ACC_FINAL
Signature: Lorg/reactivestreams/Subscriber<-TT;>;
final org.reactivestreams.Publisher<?> sampler;
descriptor: Lorg/reactivestreams/Publisher;
flags: (0x0010) ACC_FINAL
Signature: Lorg/reactivestreams/Publisher<*>;
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> other;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lorg/reactivestreams/Subscription;>;
org.reactivestreams.Subscription upstream;
descriptor: Lorg/reactivestreams/Subscription;
flags: (0x0000)
void <init>(org.reactivestreams.Subscriber<? super T>, org.reactivestreams.Publisher<?>);
descriptor: (Lorg/reactivestreams/Subscriber;Lorg/reactivestreams/Publisher;)V
flags: (0x0000)
Code:
stack=3, 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
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber.requested:Ljava/util/concurrent/atomic/AtomicLong;
2: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber.other:Ljava/util/concurrent/atomic/AtomicReference;
3: aload 0
aload 1
putfield io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber.downstream:Lorg/reactivestreams/Subscriber;
4: aload 0
aload 2
putfield io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber.sampler:Lorg/reactivestreams/Publisher;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/operators/flowable/FlowableSamplePublisher$SamplePublisherSubscriber<TT;>;
0 6 1 actual Lorg/reactivestreams/Subscriber<-TT;>;
0 6 2 other Lorg/reactivestreams/Publisher<*>;
Signature: (Lorg/reactivestreams/Subscriber<-TT;>;Lorg/reactivestreams/Publisher<*>;)V
MethodParameters:
Name Flags
actual
other
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.FlowableSamplePublisher$SamplePublisherSubscriber.upstream:Lorg/reactivestreams/Subscription;
aload 1
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.validate:(Lorg/reactivestreams/Subscription;Lorg/reactivestreams/Subscription;)Z
ifeq 6
1: aload 0
aload 1
putfield io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber.upstream:Lorg/reactivestreams/Subscription;
2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 0
invokeinterface org.reactivestreams.Subscriber.onSubscribe:(Lorg/reactivestreams/Subscription;)V
3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber.other:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
ifnonnull 6
4: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber.sampler:Lorg/reactivestreams/Publisher;
new io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplerSubscriber
dup
aload 0
invokespecial io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplerSubscriber.<init>:(Lio/reactivex/internal/operators/flowable/FlowableSamplePublisher$SamplePublisherSubscriber;)V
invokeinterface org.reactivestreams.Publisher.subscribe:(Lorg/reactivestreams/Subscriber;)V
5: aload 1
ldc 9223372036854775807
invokeinterface org.reactivestreams.Subscription.request:(J)V
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactivex/internal/operators/flowable/FlowableSamplePublisher$SamplePublisherSubscriber<TT;>;
0 7 1 s Lorg/reactivestreams/Subscription;
MethodParameters:
Name Flags
s
public void onNext();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber.lazySet:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/operators/flowable/FlowableSamplePublisher$SamplePublisherSubscriber<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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber.other:Ljava/util/concurrent/atomic/AtomicReference;
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.cancel:(Ljava/util/concurrent/atomic/AtomicReference;)Z
pop
1: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 1
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/flowable/FlowableSamplePublisher$SamplePublisherSubscriber<TT;>;
0 3 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public void onComplete();
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.FlowableSamplePublisher$SamplePublisherSubscriber.other:Ljava/util/concurrent/atomic/AtomicReference;
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.cancel:(Ljava/util/concurrent/atomic/AtomicReference;)Z
pop
1: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber.completion:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/flowable/FlowableSamplePublisher$SamplePublisherSubscriber<TT;>;
void setOther(org.reactivestreams.Subscription);
descriptor: (Lorg/reactivestreams/Subscription;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber.other:Ljava/util/concurrent/atomic/AtomicReference;
aload 1
ldc 9223372036854775807
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.setOnce:(Ljava/util/concurrent/atomic/AtomicReference;Lorg/reactivestreams/Subscription;J)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/operators/flowable/FlowableSamplePublisher$SamplePublisherSubscriber<TT;>;
0 2 1 o Lorg/reactivestreams/Subscription;
MethodParameters:
Name Flags
o
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: lload 1
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.validate:(J)Z
ifeq 2
1: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber.requested:Ljava/util/concurrent/atomic/AtomicLong;
lload 1
invokestatic io.reactivex.internal.util.BackpressureHelper.add:(Ljava/util/concurrent/atomic/AtomicLong;J)J
pop2
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/flowable/FlowableSamplePublisher$SamplePublisherSubscriber<TT;>;
0 3 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.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber.other:Ljava/util/concurrent/atomic/AtomicReference;
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.cancel:(Ljava/util/concurrent/atomic/AtomicReference;)Z
pop
1: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber.upstream:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/flowable/FlowableSamplePublisher$SamplePublisherSubscriber<TT;>;
public void error(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)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.internal.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber.upstream:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
1: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 1
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/flowable/FlowableSamplePublisher$SamplePublisherSubscriber<TT;>;
0 3 1 e Ljava/lang/Throwable;
MethodParameters:
Name Flags
e
public void complete();
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.FlowableSamplePublisher$SamplePublisherSubscriber.upstream:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
1: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber.completion:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/flowable/FlowableSamplePublisher$SamplePublisherSubscriber<TT;>;
void emit();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
astore 1
start local 1 1: aload 1
ifnull 9
2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber.requested:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lstore 2
start local 2 3: lload 2
lconst_0
lcmp
ifeq 7
4: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 1
invokeinterface org.reactivestreams.Subscriber.onNext:(Ljava/lang/Object;)V
5: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber.requested:Ljava/util/concurrent/atomic/AtomicLong;
lconst_1
invokestatic io.reactivex.internal.util.BackpressureHelper.produced:(Ljava/util/concurrent/atomic/AtomicLong;J)J
pop2
6: goto 9
7: StackMap locals: java.lang.Object long
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber.cancel:()V
8: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber.downstream:Lorg/reactivestreams/Subscriber;
new io.reactivex.exceptions.MissingBackpressureException
dup
ldc "Couldn't emit value due to lack of requests!"
invokespecial io.reactivex.exceptions.MissingBackpressureException.<init>:(Ljava/lang/String;)V
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
end local 2 9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/reactivex/internal/operators/flowable/FlowableSamplePublisher$SamplePublisherSubscriber<TT;>;
1 10 1 value TT;
3 9 2 r J
abstract void completion();
descriptor: ()V
flags: (0x0400) ACC_ABSTRACT
abstract void run();
descriptor: ()V
flags: (0x0400) ACC_ABSTRACT
}
Signature: <T:Ljava/lang/Object;>Ljava/util/concurrent/atomic/AtomicReference<TT;>;Lio/reactivex/FlowableSubscriber<TT;>;Lorg/reactivestreams/Subscription;
SourceFile: "FlowableSamplePublisher.java"
NestHost: io.reactivex.internal.operators.flowable.FlowableSamplePublisher
InnerClasses:
abstract SamplePublisherSubscriber = io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplePublisherSubscriber of io.reactivex.internal.operators.flowable.FlowableSamplePublisher
final SamplerSubscriber = io.reactivex.internal.operators.flowable.FlowableSamplePublisher$SamplerSubscriber of io.reactivex.internal.operators.flowable.FlowableSamplePublisher