final class io.reactivex.processors.ReplayProcessor$ReplaySubscription<T> extends java.util.concurrent.atomic.AtomicInteger implements org.reactivestreams.Subscription
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.processors.ReplayProcessor$ReplaySubscription
super_class: java.util.concurrent.atomic.AtomicInteger
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 466549804534799122
final org.reactivestreams.Subscriber<? super T> downstream;
descriptor: Lorg/reactivestreams/Subscriber;
flags: (0x0010) ACC_FINAL
Signature: Lorg/reactivestreams/Subscriber<-TT;>;
final io.reactivex.processors.ReplayProcessor<T> state;
descriptor: Lio/reactivex/processors/ReplayProcessor;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/processors/ReplayProcessor<TT;>;
java.lang.Object index;
descriptor: Ljava/lang/Object;
flags: (0x0000)
final java.util.concurrent.atomic.AtomicLong requested;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0010) ACC_FINAL
volatile boolean cancelled;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
long emitted;
descriptor: J
flags: (0x0000)
void <init>(org.reactivestreams.Subscriber<? super T>, io.reactivex.processors.ReplayProcessor<T>);
descriptor: (Lorg/reactivestreams/Subscriber;Lio/reactivex/processors/ReplayProcessor;)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.AtomicInteger.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.processors.ReplayProcessor$ReplaySubscription.downstream:Lorg/reactivestreams/Subscriber;
2: aload 0
aload 2
putfield io.reactivex.processors.ReplayProcessor$ReplaySubscription.state:Lio/reactivex/processors/ReplayProcessor;
3: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield io.reactivex.processors.ReplayProcessor$ReplaySubscription.requested:Ljava/util/concurrent/atomic/AtomicLong;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/processors/ReplayProcessor$ReplaySubscription<TT;>;
0 5 1 actual Lorg/reactivestreams/Subscriber<-TT;>;
0 5 2 state Lio/reactivex/processors/ReplayProcessor<TT;>;
Signature: (Lorg/reactivestreams/Subscriber<-TT;>;Lio/reactivex/processors/ReplayProcessor<TT;>;)V
MethodParameters:
Name Flags
actual
state
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 3
1: aload 0
getfield io.reactivex.processors.ReplayProcessor$ReplaySubscription.requested:Ljava/util/concurrent/atomic/AtomicLong;
lload 1
invokestatic io.reactivex.internal.util.BackpressureHelper.add:(Ljava/util/concurrent/atomic/AtomicLong;J)J
pop2
2: aload 0
getfield io.reactivex.processors.ReplayProcessor$ReplaySubscription.state:Lio/reactivex/processors/ReplayProcessor;
getfield io.reactivex.processors.ReplayProcessor.buffer:Lio/reactivex/processors/ReplayProcessor$ReplayBuffer;
aload 0
invokeinterface io.reactivex.processors.ReplayProcessor$ReplayBuffer.replay:(Lio/reactivex/processors/ReplayProcessor$ReplaySubscription;)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/processors/ReplayProcessor$ReplaySubscription<TT;>;
0 4 1 n J
MethodParameters:
Name Flags
n
public void cancel();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.processors.ReplayProcessor$ReplaySubscription.cancelled:Z
ifne 3
1: aload 0
iconst_1
putfield io.reactivex.processors.ReplayProcessor$ReplaySubscription.cancelled:Z
2: aload 0
getfield io.reactivex.processors.ReplayProcessor$ReplaySubscription.state:Lio/reactivex/processors/ReplayProcessor;
aload 0
invokevirtual io.reactivex.processors.ReplayProcessor.remove:(Lio/reactivex/processors/ReplayProcessor$ReplaySubscription;)V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/processors/ReplayProcessor$ReplaySubscription<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/util/concurrent/atomic/AtomicInteger;Lorg/reactivestreams/Subscription;
SourceFile: "ReplayProcessor.java"
NestHost: io.reactivex.processors.ReplayProcessor
InnerClasses:
abstract ReplayBuffer = io.reactivex.processors.ReplayProcessor$ReplayBuffer of io.reactivex.processors.ReplayProcessor
final ReplaySubscription = io.reactivex.processors.ReplayProcessor$ReplaySubscription of io.reactivex.processors.ReplayProcessor