public final class io.reactivex.internal.operators.observable.ObservableCache<T> extends io.reactivex.internal.operators.observable.AbstractObservableWithUpstream<T, T> implements io.reactivex.Observer<T>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.observable.ObservableCache
super_class: io.reactivex.internal.operators.observable.AbstractObservableWithUpstream
{
final java.util.concurrent.atomic.AtomicBoolean once;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0010) ACC_FINAL
final int capacityHint;
descriptor: I
flags: (0x0010) ACC_FINAL
final java.util.concurrent.atomic.AtomicReference<io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable<T>[]> observers;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<[Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable<TT;>;>;
static final io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable[] EMPTY;
descriptor: [Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable[] TERMINATED;
descriptor: [Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable;
flags: (0x0018) ACC_STATIC, ACC_FINAL
volatile long size;
descriptor: J
flags: (0x0040) ACC_VOLATILE
final io.reactivex.internal.operators.observable.ObservableCache$Node<T> head;
descriptor: Lio/reactivex/internal/operators/observable/ObservableCache$Node;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/internal/operators/observable/ObservableCache$Node<TT;>;
io.reactivex.internal.operators.observable.ObservableCache$Node<T> tail;
descriptor: Lio/reactivex/internal/operators/observable/ObservableCache$Node;
flags: (0x0000)
Signature: Lio/reactivex/internal/operators/observable/ObservableCache$Node<TT;>;
int tailOffset;
descriptor: I
flags: (0x0000)
java.lang.Throwable error;
descriptor: Ljava/lang/Throwable;
flags: (0x0000)
volatile boolean done;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
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.observable.ObservableCache$CacheDisposable
putstatic io.reactivex.internal.operators.observable.ObservableCache.EMPTY:[Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable;
1: iconst_0
anewarray io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable
putstatic io.reactivex.internal.operators.observable.ObservableCache.TERMINATED:[Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(io.reactivex.Observable<T>, );
descriptor: (Lio/reactivex/Observable;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial io.reactivex.internal.operators.observable.AbstractObservableWithUpstream.<init>:(Lio/reactivex/ObservableSource;)V
1: aload 0
iload 2
putfield io.reactivex.internal.operators.observable.ObservableCache.capacityHint:I
2: aload 0
new java.util.concurrent.atomic.AtomicBoolean
dup
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
putfield io.reactivex.internal.operators.observable.ObservableCache.once:Ljava/util/concurrent/atomic/AtomicBoolean;
3: new io.reactivex.internal.operators.observable.ObservableCache$Node
dup
iload 2
invokespecial io.reactivex.internal.operators.observable.ObservableCache$Node.<init>:(I)V
astore 3
start local 3 4: aload 0
aload 3
putfield io.reactivex.internal.operators.observable.ObservableCache.head:Lio/reactivex/internal/operators/observable/ObservableCache$Node;
5: aload 0
aload 3
putfield io.reactivex.internal.operators.observable.ObservableCache.tail:Lio/reactivex/internal/operators/observable/ObservableCache$Node;
6: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
getstatic io.reactivex.internal.operators.observable.ObservableCache.EMPTY:[Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable;
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:(Ljava/lang/Object;)V
putfield io.reactivex.internal.operators.observable.ObservableCache.observers:Ljava/util/concurrent/atomic/AtomicReference;
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/reactivex/internal/operators/observable/ObservableCache<TT;>;
0 8 1 source Lio/reactivex/Observable<TT;>;
0 8 2 capacityHint I
4 8 3 n Lio/reactivex/internal/operators/observable/ObservableCache$Node<TT;>;
Signature: (Lio/reactivex/Observable<TT;>;I)V
MethodParameters:
Name Flags
source
capacityHint
protected void subscribeActual(io.reactivex.Observer<? super T>);
descriptor: (Lio/reactivex/Observer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable
dup
aload 1
aload 0
invokespecial io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable.<init>:(Lio/reactivex/Observer;Lio/reactivex/internal/operators/observable/ObservableCache;)V
astore 2
start local 2 1: aload 1
aload 2
invokeinterface io.reactivex.Observer.onSubscribe:(Lio/reactivex/disposables/Disposable;)V
2: aload 0
aload 2
invokevirtual io.reactivex.internal.operators.observable.ObservableCache.add:(Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable;)V
3: aload 0
getfield io.reactivex.internal.operators.observable.ObservableCache.once:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifne 6
aload 0
getfield io.reactivex.internal.operators.observable.ObservableCache.once:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 6
4: aload 0
getfield io.reactivex.internal.operators.observable.ObservableCache.source:Lio/reactivex/ObservableSource;
aload 0
invokeinterface io.reactivex.ObservableSource.subscribe:(Lio/reactivex/Observer;)V
5: goto 7
6: StackMap locals: io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable
StackMap stack:
aload 0
aload 2
invokevirtual io.reactivex.internal.operators.observable.ObservableCache.replay:(Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable;)V
7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/reactivex/internal/operators/observable/ObservableCache<TT;>;
0 8 1 t Lio/reactivex/Observer<-TT;>;
1 8 2 consumer Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable<TT;>;
Signature: (Lio/reactivex/Observer<-TT;>;)V
MethodParameters:
Name Flags
t
boolean isConnected();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableCache.once:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/observable/ObservableCache<TT;>;
boolean hasObservers();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableCache.observers:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable[]
arraylength
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/operators/observable/ObservableCache<TT;>;
long cachedEventCount();
descriptor: ()J
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableCache.size:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/observable/ObservableCache<TT;>;
void add(io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable<T>);
descriptor: (Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable;)V
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.observable.ObservableCache.observers:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable[]
astore 2
start local 2 1: aload 2
getstatic io.reactivex.internal.operators.observable.ObservableCache.TERMINATED:[Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable;
if_acmpne 3
2: return
3: StackMap locals: io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable[]
StackMap stack:
aload 2
arraylength
istore 3
start local 3 4: iload 3
iconst_1
iadd
anewarray io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable
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.observable.ObservableCache.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: return
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/observable/ObservableCache<TT;>;
0 9 1 consumer Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable<TT;>;
1 9 2 current [Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable;
4 9 3 n I
5 9 4 next [Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable;
Signature: (Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable<TT;>;)V
MethodParameters:
Name Flags
consumer
void remove(io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable<T>);
descriptor: (Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable;)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.observable.ObservableCache.observers:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable[]
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.observable.ObservableCache$CacheDisposable[] 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.observable.ObservableCache.EMPTY:[Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable;
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.observable.ObservableCache$CacheDisposable
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.observable.ObservableCache$CacheDisposable[]
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableCache.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
21: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lio/reactivex/internal/operators/observable/ObservableCache<TT;>;
0 22 1 consumer Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable<TT;>;
1 22 2 current [Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable;
2 22 3 n I
5 22 4 j I
6 12 5 i I
16 17 5 next [Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable;
18 22 5 next [Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable;
Signature: (Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable<TT;>;)V
MethodParameters:
Name Flags
consumer
void replay(io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable<T>);
descriptor: (Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable;)V
flags: (0x0000)
Code:
stack=4, locals=12, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable.getAndIncrement:()I
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
iconst_1
istore 2
start local 2 3: aload 1
getfield io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable.index:J
lstore 3
start local 3 4: aload 1
getfield io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable.offset:I
istore 5
start local 5 5: aload 1
getfield io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable.node:Lio/reactivex/internal/operators/observable/ObservableCache$Node;
astore 6
start local 6 6: aload 1
getfield io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable.downstream:Lio/reactivex/Observer;
astore 7
start local 7 7: aload 0
getfield io.reactivex.internal.operators.observable.ObservableCache.capacityHint:I
istore 8
start local 8 8: StackMap locals: io.reactivex.internal.operators.observable.ObservableCache io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable int long int io.reactivex.internal.operators.observable.ObservableCache$Node io.reactivex.Observer int
StackMap stack:
aload 1
getfield io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable.disposed:Z
ifeq 11
9: aload 1
aconst_null
putfield io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable.node:Lio/reactivex/internal/operators/observable/ObservableCache$Node;
10: return
11: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableCache.done:Z
istore 9
start local 9 12: aload 0
getfield io.reactivex.internal.operators.observable.ObservableCache.size:J
lload 3
lcmp
ifne 13
iconst_1
goto 14
StackMap locals: int
StackMap stack:
13: iconst_0
StackMap locals:
StackMap stack: int
14: istore 10
start local 10 15: iload 9
ifeq 23
iload 10
ifeq 23
16: aload 1
aconst_null
putfield io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable.node:Lio/reactivex/internal/operators/observable/ObservableCache$Node;
17: aload 0
getfield io.reactivex.internal.operators.observable.ObservableCache.error:Ljava/lang/Throwable;
astore 11
start local 11 18: aload 11
ifnull 21
19: aload 7
aload 11
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
20: goto 22
21: StackMap locals: int java.lang.Throwable
StackMap stack:
aload 7
invokeinterface io.reactivex.Observer.onComplete:()V
22: StackMap locals:
StackMap stack:
return
end local 11 23: StackMap locals:
StackMap stack:
iload 10
ifne 31
24: iload 5
iload 8
if_icmpne 27
25: aload 6
getfield io.reactivex.internal.operators.observable.ObservableCache$Node.next:Lio/reactivex/internal/operators/observable/ObservableCache$Node;
astore 6
26: iconst_0
istore 5
27: StackMap locals:
StackMap stack:
aload 7
aload 6
getfield io.reactivex.internal.operators.observable.ObservableCache$Node.values:[Ljava/lang/Object;
iload 5
aaload
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
28: iinc 5 1
29: lload 3
lconst_1
ladd
lstore 3
30: goto 8
31: StackMap locals:
StackMap stack:
aload 1
lload 3
putfield io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable.index:J
32: aload 1
iload 5
putfield io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable.offset:I
33: aload 1
aload 6
putfield io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable.node:Lio/reactivex/internal/operators/observable/ObservableCache$Node;
34: aload 1
iload 2
ineg
invokevirtual io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable.addAndGet:(I)I
istore 2
35: iload 2
ifne 8
end local 10 end local 9 36: return
end local 8 end local 7 end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Lio/reactivex/internal/operators/observable/ObservableCache<TT;>;
0 37 1 consumer Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable<TT;>;
3 37 2 missed I
4 37 3 index J
5 37 5 offset I
6 37 6 node Lio/reactivex/internal/operators/observable/ObservableCache$Node<TT;>;
7 37 7 downstream Lio/reactivex/Observer<-TT;>;
8 37 8 capacity I
12 36 9 sourceDone Z
15 36 10 empty Z
18 23 11 ex Ljava/lang/Throwable;
Signature: (Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable<TT;>;)V
MethodParameters:
Name Flags
consumer
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/observable/ObservableCache<TT;>;
0 1 1 d Lio/reactivex/disposables/Disposable;
MethodParameters:
Name Flags
d
public void onNext();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableCache.tailOffset:I
istore 2
start local 2 1: iload 2
aload 0
getfield io.reactivex.internal.operators.observable.ObservableCache.capacityHint:I
if_icmpne 8
2: new io.reactivex.internal.operators.observable.ObservableCache$Node
dup
iload 2
invokespecial io.reactivex.internal.operators.observable.ObservableCache$Node.<init>:(I)V
astore 3
start local 3 3: aload 3
getfield io.reactivex.internal.operators.observable.ObservableCache$Node.values:[Ljava/lang/Object;
iconst_0
aload 1
aastore
4: aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableCache.tailOffset:I
5: aload 0
getfield io.reactivex.internal.operators.observable.ObservableCache.tail:Lio/reactivex/internal/operators/observable/ObservableCache$Node;
aload 3
putfield io.reactivex.internal.operators.observable.ObservableCache$Node.next:Lio/reactivex/internal/operators/observable/ObservableCache$Node;
6: aload 0
aload 3
putfield io.reactivex.internal.operators.observable.ObservableCache.tail:Lio/reactivex/internal/operators/observable/ObservableCache$Node;
end local 3 7: goto 10
8: StackMap locals: int
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableCache.tail:Lio/reactivex/internal/operators/observable/ObservableCache$Node;
getfield io.reactivex.internal.operators.observable.ObservableCache$Node.values:[Ljava/lang/Object;
iload 2
aload 1
aastore
9: aload 0
iload 2
iconst_1
iadd
putfield io.reactivex.internal.operators.observable.ObservableCache.tailOffset:I
10: StackMap locals:
StackMap stack:
aload 0
dup
getfield io.reactivex.internal.operators.observable.ObservableCache.size:J
lconst_1
ladd
putfield io.reactivex.internal.operators.observable.ObservableCache.size:J
11: aload 0
getfield io.reactivex.internal.operators.observable.ObservableCache.observers:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable[]
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 15
StackMap locals: io.reactivex.internal.operators.observable.ObservableCache java.lang.Object int top int int io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable[]
StackMap stack:
12: aload 6
iload 4
aaload
astore 3
start local 3 13: aload 0
aload 3
invokevirtual io.reactivex.internal.operators.observable.ObservableCache.replay:(Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable;)V
end local 3 14: iinc 4 1
StackMap locals:
StackMap stack:
15: iload 4
iload 5
if_icmplt 12
16: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lio/reactivex/internal/operators/observable/ObservableCache<TT;>;
0 17 1 t TT;
1 17 2 tailOffset I
3 7 3 n Lio/reactivex/internal/operators/observable/ObservableCache$Node<TT;>;
13 14 3 consumer Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable<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=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableCache.error:Ljava/lang/Throwable;
1: aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableCache.done:Z
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableCache.observers:Ljava/util/concurrent/atomic/AtomicReference;
getstatic io.reactivex.internal.operators.observable.ObservableCache.TERMINATED:[Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable;
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable[]
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 6
StackMap locals: io.reactivex.internal.operators.observable.ObservableCache java.lang.Throwable top int int io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable[]
StackMap stack:
3: aload 5
iload 3
aaload
astore 2
start local 2 4: aload 0
aload 2
invokevirtual io.reactivex.internal.operators.observable.ObservableCache.replay:(Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable;)V
end local 2 5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 3
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/reactivex/internal/operators/observable/ObservableCache<TT;>;
0 8 1 t Ljava/lang/Throwable;
4 5 2 consumer Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable<TT;>;
MethodParameters:
Name Flags
t
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableCache.done:Z
1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableCache.observers:Ljava/util/concurrent/atomic/AtomicReference;
getstatic io.reactivex.internal.operators.observable.ObservableCache.TERMINATED:[Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable;
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable[]
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 5
StackMap locals: io.reactivex.internal.operators.observable.ObservableCache top int int io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable[]
StackMap stack:
2: aload 4
iload 2
aaload
astore 1
start local 1 3: aload 0
aload 1
invokevirtual io.reactivex.internal.operators.observable.ObservableCache.replay:(Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable;)V
end local 1 4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 3
if_icmplt 2
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactivex/internal/operators/observable/ObservableCache<TT;>;
3 4 1 consumer Lio/reactivex/internal/operators/observable/ObservableCache$CacheDisposable<TT;>;
}
Signature: <T:Ljava/lang/Object;>Lio/reactivex/internal/operators/observable/AbstractObservableWithUpstream<TT;TT;>;Lio/reactivex/Observer<TT;>;
SourceFile: "ObservableCache.java"
NestMembers:
io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable io.reactivex.internal.operators.observable.ObservableCache$Node
InnerClasses:
final CacheDisposable = io.reactivex.internal.operators.observable.ObservableCache$CacheDisposable of io.reactivex.internal.operators.observable.ObservableCache
final Node = io.reactivex.internal.operators.observable.ObservableCache$Node of io.reactivex.internal.operators.observable.ObservableCache