public final class io.reactivex.internal.operators.completable.CompletableCache extends io.reactivex.Completable implements io.reactivex.CompletableObserver
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.completable.CompletableCache
super_class: io.reactivex.Completable
{
static final io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache[] EMPTY;
descriptor: [Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache[] TERMINATED;
descriptor: [Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
flags: (0x0018) ACC_STATIC, ACC_FINAL
final io.reactivex.CompletableSource source;
descriptor: Lio/reactivex/CompletableSource;
flags: (0x0010) ACC_FINAL
final java.util.concurrent.atomic.AtomicReference<io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache[]> observers;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<[Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;>;
final java.util.concurrent.atomic.AtomicBoolean once;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0010) ACC_FINAL
java.lang.Throwable error;
descriptor: Ljava/lang/Throwable;
flags: (0x0000)
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
anewarray io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache
putstatic io.reactivex.internal.operators.completable.CompletableCache.EMPTY:[Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
1: iconst_0
anewarray io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache
putstatic io.reactivex.internal.operators.completable.CompletableCache.TERMINATED:[Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(io.reactivex.CompletableSource);
descriptor: (Lio/reactivex/CompletableSource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial io.reactivex.Completable.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.completable.CompletableCache.source:Lio/reactivex/CompletableSource;
2: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
getstatic io.reactivex.internal.operators.completable.CompletableCache.EMPTY:[Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:(Ljava/lang/Object;)V
putfield io.reactivex.internal.operators.completable.CompletableCache.observers:Ljava/util/concurrent/atomic/AtomicReference;
3: aload 0
new java.util.concurrent.atomic.AtomicBoolean
dup
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
putfield io.reactivex.internal.operators.completable.CompletableCache.once:Ljava/util/concurrent/atomic/AtomicBoolean;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/internal/operators/completable/CompletableCache;
0 5 1 source Lio/reactivex/CompletableSource;
MethodParameters:
Name Flags
source
protected void subscribeActual(io.reactivex.CompletableObserver);
descriptor: (Lio/reactivex/CompletableObserver;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: new io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache
dup
aload 0
aload 1
invokespecial io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache.<init>:(Lio/reactivex/internal/operators/completable/CompletableCache;Lio/reactivex/CompletableObserver;)V
astore 2
start local 2 1: aload 1
aload 2
invokeinterface io.reactivex.CompletableObserver.onSubscribe:(Lio/reactivex/disposables/Disposable;)V
2: aload 0
aload 2
invokevirtual io.reactivex.internal.operators.completable.CompletableCache.add:(Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;)Z
ifeq 8
3: aload 2
invokevirtual io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache.isDisposed:()Z
ifeq 5
4: aload 0
aload 2
invokevirtual io.reactivex.internal.operators.completable.CompletableCache.remove:(Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;)V
5: StackMap locals: io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.completable.CompletableCache.once:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 13
6: aload 0
getfield io.reactivex.internal.operators.completable.CompletableCache.source:Lio/reactivex/CompletableSource;
aload 0
invokeinterface io.reactivex.CompletableSource.subscribe:(Lio/reactivex/CompletableObserver;)V
7: goto 13
8: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.completable.CompletableCache.error:Ljava/lang/Throwable;
astore 3
start local 3 9: aload 3
ifnull 12
10: aload 1
aload 3
invokeinterface io.reactivex.CompletableObserver.onError:(Ljava/lang/Throwable;)V
11: goto 13
12: StackMap locals: java.lang.Throwable
StackMap stack:
aload 1
invokeinterface io.reactivex.CompletableObserver.onComplete:()V
end local 3 13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/reactivex/internal/operators/completable/CompletableCache;
0 14 1 observer Lio/reactivex/CompletableObserver;
1 14 2 inner Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
9 13 3 ex Ljava/lang/Throwable;
MethodParameters:
Name Flags
observer
public void onSubscribe(io.reactivex.disposables.Disposable);
descriptor: (Lio/reactivex/disposables/Disposable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/completable/CompletableCache;
0 1 1 d Lio/reactivex/disposables/Disposable;
MethodParameters:
Name Flags
d
public void onError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.reactivex.internal.operators.completable.CompletableCache.error:Ljava/lang/Throwable;
1: aload 0
getfield io.reactivex.internal.operators.completable.CompletableCache.observers:Ljava/util/concurrent/atomic/AtomicReference;
getstatic io.reactivex.internal.operators.completable.CompletableCache.TERMINATED:[Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache[]
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 6
StackMap locals: io.reactivex.internal.operators.completable.CompletableCache java.lang.Throwable top int int io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 2
invokevirtual io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache.get:()Z
ifne 5
4: aload 2
getfield io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache.downstream:Lio/reactivex/CompletableObserver;
aload 1
invokeinterface io.reactivex.CompletableObserver.onError:(Ljava/lang/Throwable;)V
end local 2 5: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 2
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/reactivex/internal/operators/completable/CompletableCache;
0 8 1 e Ljava/lang/Throwable;
3 5 2 inner Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
MethodParameters:
Name Flags
e
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.completable.CompletableCache.observers:Ljava/util/concurrent/atomic/AtomicReference;
getstatic io.reactivex.internal.operators.completable.CompletableCache.TERMINATED:[Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache[]
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 5
StackMap locals: io.reactivex.internal.operators.completable.CompletableCache top int int io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 1
invokevirtual io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache.get:()Z
ifne 4
3: aload 1
getfield io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache.downstream:Lio/reactivex/CompletableObserver;
invokeinterface io.reactivex.CompletableObserver.onComplete:()V
end local 1 4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 3
if_icmplt 1
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactivex/internal/operators/completable/CompletableCache;
2 4 1 inner Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
boolean add(io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache);
descriptor: (Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;)Z
flags: (0x0000)
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.completable.CompletableCache.observers:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache[]
astore 2
start local 2 1: aload 2
getstatic io.reactivex.internal.operators.completable.CompletableCache.TERMINATED:[Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
if_acmpne 3
2: iconst_0
ireturn
3: StackMap locals: io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache[]
StackMap stack:
aload 2
arraylength
istore 3
start local 3 4: iload 3
iconst_1
iadd
anewarray io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache
astore 4
start local 4 5: aload 2
iconst_0
aload 4
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 4
iload 3
aload 1
aastore
7: aload 0
getfield io.reactivex.internal.operators.completable.CompletableCache.observers:Ljava/util/concurrent/atomic/AtomicReference;
aload 2
aload 4
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
8: iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/reactivex/internal/operators/completable/CompletableCache;
0 9 1 inner Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
1 9 2 a [Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
4 9 3 n I
5 9 4 b [Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
MethodParameters:
Name Flags
inner
void remove(io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache);
descriptor: (Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;)V
flags: (0x0000)
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.completable.CompletableCache.observers:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache[]
astore 2
start local 2 1: aload 2
arraylength
istore 3
start local 3 2: iload 3
ifne 4
3: return
4: StackMap locals: io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache[] int
StackMap stack:
iconst_m1
istore 4
start local 4 5: iconst_0
istore 5
start local 5 6: goto 11
7: StackMap locals: int int
StackMap stack:
aload 2
iload 5
aaload
aload 1
if_acmpne 10
8: iload 5
istore 4
9: goto 12
10: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
iload 3
if_icmplt 7
end local 5 12: StackMap locals:
StackMap stack:
iload 4
ifge 14
13: return
14: StackMap locals:
StackMap stack:
iload 3
iconst_1
if_icmpne 17
15: getstatic io.reactivex.internal.operators.completable.CompletableCache.EMPTY:[Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
astore 5
start local 5 16: goto 20
end local 5 17: StackMap locals:
StackMap stack:
iload 3
iconst_1
isub
anewarray io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache
astore 5
start local 5 18: aload 2
iconst_0
aload 5
iconst_0
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
19: aload 2
iload 4
iconst_1
iadd
aload 5
iload 4
iload 3
iload 4
isub
iconst_1
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
20: StackMap locals: io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache[]
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.completable.CompletableCache.observers:Ljava/util/concurrent/atomic/AtomicReference;
aload 2
aload 5
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
end local 5 end local 4 end local 3 end local 2 21: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lio/reactivex/internal/operators/completable/CompletableCache;
0 22 1 inner Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
1 21 2 a [Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
2 21 3 n I
5 21 4 j I
6 12 5 i I
16 17 5 b [Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
18 21 5 b [Lio/reactivex/internal/operators/completable/CompletableCache$InnerCompletableCache;
MethodParameters:
Name Flags
inner
}
SourceFile: "CompletableCache.java"
NestMembers:
io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache
InnerClasses:
final InnerCompletableCache = io.reactivex.internal.operators.completable.CompletableCache$InnerCompletableCache of io.reactivex.internal.operators.completable.CompletableCache