final class io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber<T> extends java.util.concurrent.atomic.AtomicInteger implements io.reactivex.FlowableSubscriber<T>, org.reactivestreams.Subscription, java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber
super_class: java.util.concurrent.atomic.AtomicInteger
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -8296689127439125014
final org.reactivestreams.Subscriber<? super T> downstream;
descriptor: Lorg/reactivestreams/Subscriber;
flags: (0x0010) ACC_FINAL
Signature: Lorg/reactivestreams/Subscriber<-TT;>;
final long timeout;
descriptor: J
flags: (0x0010) ACC_FINAL
final java.util.concurrent.TimeUnit unit;
descriptor: Ljava/util/concurrent/TimeUnit;
flags: (0x0010) ACC_FINAL
final io.reactivex.Scheduler$Worker worker;
descriptor: Lio/reactivex/Scheduler$Worker;
flags: (0x0010) ACC_FINAL
final boolean emitLast;
descriptor: Z
flags: (0x0010) ACC_FINAL
final java.util.concurrent.atomic.AtomicReference<T> latest;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<TT;>;
final java.util.concurrent.atomic.AtomicLong requested;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0010) ACC_FINAL
org.reactivestreams.Subscription upstream;
descriptor: Lorg/reactivestreams/Subscription;
flags: (0x0000)
volatile boolean done;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
java.lang.Throwable error;
descriptor: Ljava/lang/Throwable;
flags: (0x0000)
volatile boolean cancelled;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
volatile boolean timerFired;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
long emitted;
descriptor: J
flags: (0x0000)
boolean timerRunning;
descriptor: Z
flags: (0x0000)
void <init>(org.reactivestreams.Subscriber<? super T>, long, java.util.concurrent.TimeUnit, io.reactivex.Scheduler$Worker, );
descriptor: (Lorg/reactivestreams/Subscriber;JLjava/util/concurrent/TimeUnit;Lio/reactivex/Scheduler$Worker;Z)V
flags: (0x0000)
Code:
stack=3, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.downstream:Lorg/reactivestreams/Subscriber;
2: aload 0
lload 2
putfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.timeout:J
3: aload 0
aload 4
putfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.unit:Ljava/util/concurrent/TimeUnit;
4: aload 0
aload 5
putfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.worker:Lio/reactivex/Scheduler$Worker;
5: aload 0
iload 6
putfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.emitLast:Z
6: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.latest:Ljava/util/concurrent/atomic/AtomicReference;
7: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.requested:Ljava/util/concurrent/atomic/AtomicLong;
8: return
end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/reactivex/internal/operators/flowable/FlowableThrottleLatest$ThrottleLatestSubscriber<TT;>;
0 9 1 downstream Lorg/reactivestreams/Subscriber<-TT;>;
0 9 2 timeout J
0 9 4 unit Ljava/util/concurrent/TimeUnit;
0 9 5 worker Lio/reactivex/Scheduler$Worker;
0 9 6 emitLast Z
Signature: (Lorg/reactivestreams/Subscriber<-TT;>;JLjava/util/concurrent/TimeUnit;Lio/reactivex/Scheduler$Worker;Z)V
MethodParameters:
Name Flags
downstream
timeout
unit
worker
emitLast
public void onSubscribe(org.reactivestreams.Subscription);
descriptor: (Lorg/reactivestreams/Subscription;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.upstream:Lorg/reactivestreams/Subscription;
aload 1
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.validate:(Lorg/reactivestreams/Subscription;Lorg/reactivestreams/Subscription;)Z
ifeq 4
1: aload 0
aload 1
putfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.upstream:Lorg/reactivestreams/Subscription;
2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 0
invokeinterface org.reactivestreams.Subscriber.onSubscribe:(Lorg/reactivestreams/Subscription;)V
3: aload 1
ldc 9223372036854775807
invokeinterface org.reactivestreams.Subscription.request:(J)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/internal/operators/flowable/FlowableThrottleLatest$ThrottleLatestSubscriber<TT;>;
0 5 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
getfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.latest:Ljava/util/concurrent/atomic/AtomicReference;
aload 1
invokevirtual java.util.concurrent.atomic.AtomicReference.set:(Ljava/lang/Object;)V
1: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.drain:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/flowable/FlowableThrottleLatest$ThrottleLatestSubscriber<TT;>;
0 3 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
aload 1
putfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.error:Ljava/lang/Throwable;
1: aload 0
iconst_1
putfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.done:Z
2: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.drain:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/flowable/FlowableThrottleLatest$ThrottleLatestSubscriber<TT;>;
0 4 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.done:Z
1: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.drain:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/flowable/FlowableThrottleLatest$ThrottleLatestSubscriber<TT;>;
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.FlowableThrottleLatest$ThrottleLatestSubscriber.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/FlowableThrottleLatest$ThrottleLatestSubscriber<TT;>;
0 3 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
iconst_1
putfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.cancelled:Z
1: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.upstream:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.worker:Lio/reactivex/Scheduler$Worker;
invokevirtual io.reactivex.Scheduler$Worker.dispose:()V
3: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.getAndIncrement:()I
ifne 5
4: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.latest:Ljava/util/concurrent/atomic/AtomicReference;
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.lazySet:(Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/operators/flowable/FlowableThrottleLatest$ThrottleLatestSubscriber<TT;>;
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.timerFired:Z
1: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.drain:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/flowable/FlowableThrottleLatest$ThrottleLatestSubscriber<TT;>;
void drain();
descriptor: ()V
flags: (0x0000)
Code:
stack=5, locals=10, args_size=1
start local 0 0: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.getAndIncrement:()I
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
iconst_1
istore 1
start local 1 3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.latest:Ljava/util/concurrent/atomic/AtomicReference;
astore 2
start local 2 4: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.requested:Ljava/util/concurrent/atomic/AtomicLong;
astore 3
start local 3 5: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.downstream:Lorg/reactivestreams/Subscriber;
astore 4
start local 4 6: StackMap locals: io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber int java.util.concurrent.atomic.AtomicReference java.util.concurrent.atomic.AtomicLong org.reactivestreams.Subscriber
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.cancelled:Z
ifeq 9
7: aload 2
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.lazySet:(Ljava/lang/Object;)V
8: return
9: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.done:Z
istore 5
start local 5 10: iload 5
ifeq 15
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.error:Ljava/lang/Throwable;
ifnull 15
11: aload 2
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.lazySet:(Ljava/lang/Object;)V
12: aload 4
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.error:Ljava/lang/Throwable;
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
13: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.worker:Lio/reactivex/Scheduler$Worker;
invokevirtual io.reactivex.Scheduler$Worker.dispose:()V
14: return
15: StackMap locals: int
StackMap stack:
aload 2
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
astore 6
start local 6 16: aload 6
ifnonnull 17
iconst_1
goto 18
StackMap locals: java.lang.Object
StackMap stack:
17: iconst_0
StackMap locals:
StackMap stack: int
18: istore 7
start local 7 19: iload 5
ifeq 36
20: iload 7
ifne 32
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.emitLast:Z
ifeq 32
21: aload 2
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
astore 6
22: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.emitted:J
lstore 8
start local 8 23: lload 8
aload 3
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lcmp
ifeq 28
24: aload 0
lload 8
lconst_1
ladd
putfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.emitted:J
25: aload 4
aload 6
invokeinterface org.reactivestreams.Subscriber.onNext:(Ljava/lang/Object;)V
26: aload 4
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
27: goto 34
28: StackMap locals: int long
StackMap stack:
aload 4
new io.reactivex.exceptions.MissingBackpressureException
dup
29: ldc "Could not emit final value due to lack of requests"
invokespecial io.reactivex.exceptions.MissingBackpressureException.<init>:(Ljava/lang/String;)V
30: invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
end local 8 31: goto 34
32: StackMap locals:
StackMap stack:
aload 2
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.lazySet:(Ljava/lang/Object;)V
33: aload 4
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
34: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.worker:Lio/reactivex/Scheduler$Worker;
invokevirtual io.reactivex.Scheduler$Worker.dispose:()V
35: return
36: StackMap locals:
StackMap stack:
iload 7
ifeq 41
37: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.timerFired:Z
ifeq 58
38: aload 0
iconst_0
putfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.timerRunning:Z
39: aload 0
iconst_0
putfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.timerFired:Z
40: goto 58
41: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.timerRunning:Z
ifeq 42
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.timerFired:Z
ifeq 58
42: StackMap locals:
StackMap stack:
aload 2
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
astore 6
43: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.emitted:J
lstore 8
start local 8 44: lload 8
aload 3
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lcmp
ifeq 48
45: aload 4
aload 6
invokeinterface org.reactivestreams.Subscriber.onNext:(Ljava/lang/Object;)V
46: aload 0
lload 8
lconst_1
ladd
putfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.emitted:J
47: goto 54
48: StackMap locals: long
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.upstream:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
49: aload 4
new io.reactivex.exceptions.MissingBackpressureException
dup
50: ldc "Could not emit value due to lack of requests"
invokespecial io.reactivex.exceptions.MissingBackpressureException.<init>:(Ljava/lang/String;)V
51: invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
52: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.worker:Lio/reactivex/Scheduler$Worker;
invokevirtual io.reactivex.Scheduler$Worker.dispose:()V
53: return
54: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.timerFired:Z
55: aload 0
iconst_1
putfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.timerRunning:Z
56: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.worker:Lio/reactivex/Scheduler$Worker;
aload 0
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.timeout:J
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.unit:Ljava/util/concurrent/TimeUnit;
invokevirtual io.reactivex.Scheduler$Worker.schedule:(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Lio/reactivex/disposables/Disposable;
pop
end local 8 end local 7 end local 6 end local 5 57: goto 6
58: StackMap locals: io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber int java.util.concurrent.atomic.AtomicReference java.util.concurrent.atomic.AtomicLong org.reactivestreams.Subscriber
StackMap stack:
aload 0
iload 1
ineg
invokevirtual io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber.addAndGet:(I)I
istore 1
59: iload 1
ifne 6
60: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 61 0 this Lio/reactivex/internal/operators/flowable/FlowableThrottleLatest$ThrottleLatestSubscriber<TT;>;
3 61 1 missed I
4 61 2 latest Ljava/util/concurrent/atomic/AtomicReference<TT;>;
5 61 3 requested Ljava/util/concurrent/atomic/AtomicLong;
6 61 4 downstream Lorg/reactivestreams/Subscriber<-TT;>;
10 57 5 d Z
16 57 6 v TT;
19 57 7 empty Z
23 31 8 e J
44 57 8 e J
}
Signature: <T:Ljava/lang/Object;>Ljava/util/concurrent/atomic/AtomicInteger;Lio/reactivex/FlowableSubscriber<TT;>;Lorg/reactivestreams/Subscription;Ljava/lang/Runnable;
SourceFile: "FlowableThrottleLatest.java"
NestHost: io.reactivex.internal.operators.flowable.FlowableThrottleLatest
InnerClasses:
public abstract Worker = io.reactivex.Scheduler$Worker of io.reactivex.Scheduler
final ThrottleLatestSubscriber = io.reactivex.internal.operators.flowable.FlowableThrottleLatest$ThrottleLatestSubscriber of io.reactivex.internal.operators.flowable.FlowableThrottleLatest