final class io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter<T> extends io.reactivex.internal.operators.flowable.FlowableCreate$BaseEmitter<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter
super_class: io.reactivex.internal.operators.flowable.FlowableCreate$BaseEmitter
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4023437720691792495
final java.util.concurrent.atomic.AtomicReference<T> queue;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<TT;>;
java.lang.Throwable error;
descriptor: Ljava/lang/Throwable;
flags: (0x0000)
volatile boolean done;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
final java.util.concurrent.atomic.AtomicInteger wip;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0010) ACC_FINAL
void <init>(org.reactivestreams.Subscriber<? super T>);
descriptor: (Lorg/reactivestreams/Subscriber;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial io.reactivex.internal.operators.flowable.FlowableCreate$BaseEmitter.<init>:(Lorg/reactivestreams/Subscriber;)V
1: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.queue:Ljava/util/concurrent/atomic/AtomicReference;
2: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
putfield io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.wip:Ljava/util/concurrent/atomic/AtomicInteger;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/flowable/FlowableCreate$LatestAsyncEmitter<TT;>;
0 4 1 downstream Lorg/reactivestreams/Subscriber<-TT;>;
Signature: (Lorg/reactivestreams/Subscriber<-TT;>;)V
MethodParameters:
Name Flags
downstream
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.operators.flowable.FlowableCreate$LatestAsyncEmitter.done:Z
ifne 1
aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.isCancelled:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 5
3: aload 0
new java.lang.NullPointerException
dup
ldc "onNext called with null. Null values are generally not allowed in 2.x operators and sources."
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
invokevirtual io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.onError:(Ljava/lang/Throwable;)V
4: return
5: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.queue:Ljava/util/concurrent/atomic/AtomicReference;
aload 1
invokevirtual java.util.concurrent.atomic.AtomicReference.set:(Ljava/lang/Object;)V
6: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.drain:()V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/reactivex/internal/operators/flowable/FlowableCreate$LatestAsyncEmitter<TT;>;
0 8 1 t TT;
Signature: (TT;)V
MethodParameters:
Name Flags
t
public boolean tryOnError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Z
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.FlowableCreate$LatestAsyncEmitter.done:Z
ifne 1
aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.isCancelled:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: aload 0
new java.lang.NullPointerException
dup
ldc "onError called with null. Null values are generally not allowed in 2.x operators and sources."
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
invokevirtual io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.onError:(Ljava/lang/Throwable;)V
4: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.error:Ljava/lang/Throwable;
5: aload 0
iconst_1
putfield io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.done:Z
6: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.drain:()V
7: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/reactivex/internal/operators/flowable/FlowableCreate$LatestAsyncEmitter<TT;>;
0 8 1 e Ljava/lang/Throwable;
MethodParameters:
Name Flags
e
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.FlowableCreate$LatestAsyncEmitter.done:Z
1: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.drain:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/flowable/FlowableCreate$LatestAsyncEmitter<TT;>;
void onRequested();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.drain:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/operators/flowable/FlowableCreate$LatestAsyncEmitter<TT;>;
void onUnsubscribed();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.wip:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndIncrement:()I
ifne 2
1: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.queue:Ljava/util/concurrent/atomic/AtomicReference;
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.lazySet:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/flowable/FlowableCreate$LatestAsyncEmitter<TT;>;
void drain();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=12, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.wip:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.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.FlowableCreate$LatestAsyncEmitter.downstream:Lorg/reactivestreams/Subscriber;
astore 2
start local 2 4: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.queue:Ljava/util/concurrent/atomic/AtomicReference;
astore 3
start local 3 5: StackMap locals: int org.reactivestreams.Subscriber java.util.concurrent.atomic.AtomicReference
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.get:()J
lstore 4
start local 4 6: lconst_0
lstore 6
start local 6 7: goto 27
8: StackMap locals: long long
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.isCancelled:()Z
ifeq 11
9: aload 3
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.lazySet:(Ljava/lang/Object;)V
10: return
11: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.done:Z
istore 8
start local 8 12: aload 3
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
astore 9
start local 9 13: aload 9
ifnonnull 14
iconst_1
goto 15
StackMap locals: int java.lang.Object
StackMap stack:
14: iconst_0
StackMap locals:
StackMap stack: int
15: istore 10
start local 10 16: iload 8
ifeq 23
iload 10
ifeq 23
17: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.error:Ljava/lang/Throwable;
astore 11
start local 11 18: aload 11
ifnull 21
19: aload 0
aload 11
invokevirtual io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.error:(Ljava/lang/Throwable;)Z
pop
20: goto 22
21: StackMap locals: int java.lang.Throwable
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.complete:()V
22: StackMap locals:
StackMap stack:
return
end local 11 23: StackMap locals:
StackMap stack:
iload 10
ifeq 25
24: goto 28
25: StackMap locals:
StackMap stack:
aload 2
aload 9
invokeinterface org.reactivestreams.Subscriber.onNext:(Ljava/lang/Object;)V
26: lload 6
lconst_1
ladd
lstore 6
end local 10 end local 9 end local 8 27: StackMap locals:
StackMap stack:
lload 6
lload 4
lcmp
ifne 8
28: StackMap locals:
StackMap stack:
lload 6
lload 4
lcmp
ifne 43
29: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.isCancelled:()Z
ifeq 32
30: aload 3
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.lazySet:(Ljava/lang/Object;)V
31: return
32: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.done:Z
istore 8
start local 8 33: aload 3
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
ifnonnull 34
iconst_1
goto 35
StackMap locals: int
StackMap stack:
34: iconst_0
StackMap locals:
StackMap stack: int
35: istore 9
start local 9 36: iload 8
ifeq 43
iload 9
ifeq 43
37: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.error:Ljava/lang/Throwable;
astore 10
start local 10 38: aload 10
ifnull 41
39: aload 0
aload 10
invokevirtual io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.error:(Ljava/lang/Throwable;)Z
pop
40: goto 42
41: StackMap locals: int java.lang.Throwable
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.complete:()V
42: StackMap locals:
StackMap stack:
return
end local 10 end local 9 end local 8 43: StackMap locals:
StackMap stack:
lload 6
lconst_0
lcmp
ifeq 45
44: aload 0
lload 6
invokestatic io.reactivex.internal.util.BackpressureHelper.produced:(Ljava/util/concurrent/atomic/AtomicLong;J)J
pop2
45: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter.wip:Ljava/util/concurrent/atomic/AtomicInteger;
iload 1
ineg
invokevirtual java.util.concurrent.atomic.AtomicInteger.addAndGet:(I)I
istore 1
46: iload 1
ifne 5
end local 6 end local 4 47: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 48 0 this Lio/reactivex/internal/operators/flowable/FlowableCreate$LatestAsyncEmitter<TT;>;
3 48 1 missed I
4 48 2 a Lorg/reactivestreams/Subscriber<-TT;>;
5 48 3 q Ljava/util/concurrent/atomic/AtomicReference<TT;>;
6 47 4 r J
7 47 6 e J
12 27 8 d Z
13 27 9 o TT;
16 27 10 empty Z
18 23 11 ex Ljava/lang/Throwable;
33 43 8 d Z
36 43 9 empty Z
38 43 10 ex Ljava/lang/Throwable;
}
Signature: <T:Ljava/lang/Object;>Lio/reactivex/internal/operators/flowable/FlowableCreate$BaseEmitter<TT;>;
SourceFile: "FlowableCreate.java"
NestHost: io.reactivex.internal.operators.flowable.FlowableCreate
InnerClasses:
abstract BaseEmitter = io.reactivex.internal.operators.flowable.FlowableCreate$BaseEmitter of io.reactivex.internal.operators.flowable.FlowableCreate
final LatestAsyncEmitter = io.reactivex.internal.operators.flowable.FlowableCreate$LatestAsyncEmitter of io.reactivex.internal.operators.flowable.FlowableCreate