final class io.reactivex.internal.operators.observable.ObservableReplay$ReplaySource<T> implements io.reactivex.ObservableSource<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.observable.ObservableReplay$ReplaySource
super_class: java.lang.Object
{
private final java.util.concurrent.atomic.AtomicReference<io.reactivex.internal.operators.observable.ObservableReplay$ReplayObserver<T>> curr;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/internal/operators/observable/ObservableReplay$ReplayObserver<TT;>;>;
private final io.reactivex.internal.operators.observable.ObservableReplay$BufferSupplier<T> bufferFactory;
descriptor: Lio/reactivex/internal/operators/observable/ObservableReplay$BufferSupplier;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lio/reactivex/internal/operators/observable/ObservableReplay$BufferSupplier<TT;>;
void <init>(java.util.concurrent.atomic.AtomicReference<io.reactivex.internal.operators.observable.ObservableReplay$ReplayObserver<T>>, io.reactivex.internal.operators.observable.ObservableReplay$BufferSupplier<T>);
descriptor: (Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/internal/operators/observable/ObservableReplay$BufferSupplier;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableReplay$ReplaySource.curr:Ljava/util/concurrent/atomic/AtomicReference;
2: aload 0
aload 2
putfield io.reactivex.internal.operators.observable.ObservableReplay$ReplaySource.bufferFactory:Lio/reactivex/internal/operators/observable/ObservableReplay$BufferSupplier;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/observable/ObservableReplay$ReplaySource<TT;>;
0 4 1 curr Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/internal/operators/observable/ObservableReplay$ReplayObserver<TT;>;>;
0 4 2 bufferFactory Lio/reactivex/internal/operators/observable/ObservableReplay$BufferSupplier<TT;>;
Signature: (Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/internal/operators/observable/ObservableReplay$ReplayObserver<TT;>;>;Lio/reactivex/internal/operators/observable/ObservableReplay$BufferSupplier<TT;>;)V
MethodParameters:
Name Flags
curr
bufferFactory
public void subscribe(io.reactivex.Observer<? super T>);
descriptor: (Lio/reactivex/Observer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableReplay$ReplaySource.curr:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.internal.operators.observable.ObservableReplay$ReplayObserver
astore 2
start local 2 1: aload 2
ifnonnull 7
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableReplay$ReplaySource.bufferFactory:Lio/reactivex/internal/operators/observable/ObservableReplay$BufferSupplier;
invokeinterface io.reactivex.internal.operators.observable.ObservableReplay$BufferSupplier.call:()Lio/reactivex/internal/operators/observable/ObservableReplay$ReplayBuffer;
astore 3
start local 3 3: new io.reactivex.internal.operators.observable.ObservableReplay$ReplayObserver
dup
aload 3
invokespecial io.reactivex.internal.operators.observable.ObservableReplay$ReplayObserver.<init>:(Lio/reactivex/internal/operators/observable/ObservableReplay$ReplayBuffer;)V
astore 4
start local 4 4: aload 0
getfield io.reactivex.internal.operators.observable.ObservableReplay$ReplaySource.curr:Ljava/util/concurrent/atomic/AtomicReference;
aconst_null
aload 4
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 6
5: goto 0
6: StackMap locals: io.reactivex.internal.operators.observable.ObservableReplay$ReplayObserver io.reactivex.internal.operators.observable.ObservableReplay$ReplayBuffer io.reactivex.internal.operators.observable.ObservableReplay$ReplayObserver
StackMap stack:
aload 4
astore 2
end local 4 end local 3 7: StackMap locals:
StackMap stack:
new io.reactivex.internal.operators.observable.ObservableReplay$InnerDisposable
dup
aload 2
aload 1
invokespecial io.reactivex.internal.operators.observable.ObservableReplay$InnerDisposable.<init>:(Lio/reactivex/internal/operators/observable/ObservableReplay$ReplayObserver;Lio/reactivex/Observer;)V
astore 3
start local 3 8: aload 1
aload 3
invokeinterface io.reactivex.Observer.onSubscribe:(Lio/reactivex/disposables/Disposable;)V
9: aload 2
aload 3
invokevirtual io.reactivex.internal.operators.observable.ObservableReplay$ReplayObserver.add:(Lio/reactivex/internal/operators/observable/ObservableReplay$InnerDisposable;)Z
pop
10: aload 3
invokevirtual io.reactivex.internal.operators.observable.ObservableReplay$InnerDisposable.isDisposed:()Z
ifeq 13
11: aload 2
aload 3
invokevirtual io.reactivex.internal.operators.observable.ObservableReplay$ReplayObserver.remove:(Lio/reactivex/internal/operators/observable/ObservableReplay$InnerDisposable;)V
12: return
13: StackMap locals: io.reactivex.internal.operators.observable.ObservableReplay$InnerDisposable
StackMap stack:
aload 2
getfield io.reactivex.internal.operators.observable.ObservableReplay$ReplayObserver.buffer:Lio/reactivex/internal/operators/observable/ObservableReplay$ReplayBuffer;
aload 3
invokeinterface io.reactivex.internal.operators.observable.ObservableReplay$ReplayBuffer.replay:(Lio/reactivex/internal/operators/observable/ObservableReplay$InnerDisposable;)V
end local 3 end local 2 14: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lio/reactivex/internal/operators/observable/ObservableReplay$ReplaySource<TT;>;
0 15 1 child Lio/reactivex/Observer<-TT;>;
1 14 2 r Lio/reactivex/internal/operators/observable/ObservableReplay$ReplayObserver<TT;>;
3 7 3 buf Lio/reactivex/internal/operators/observable/ObservableReplay$ReplayBuffer<TT;>;
4 7 4 u Lio/reactivex/internal/operators/observable/ObservableReplay$ReplayObserver<TT;>;
8 14 3 inner Lio/reactivex/internal/operators/observable/ObservableReplay$InnerDisposable<TT;>;
Signature: (Lio/reactivex/Observer<-TT;>;)V
MethodParameters:
Name Flags
child
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lio/reactivex/ObservableSource<TT;>;
SourceFile: "ObservableReplay.java"
NestHost: io.reactivex.internal.operators.observable.ObservableReplay
InnerClasses:
abstract BufferSupplier = io.reactivex.internal.operators.observable.ObservableReplay$BufferSupplier of io.reactivex.internal.operators.observable.ObservableReplay
final InnerDisposable = io.reactivex.internal.operators.observable.ObservableReplay$InnerDisposable of io.reactivex.internal.operators.observable.ObservableReplay
abstract ReplayBuffer = io.reactivex.internal.operators.observable.ObservableReplay$ReplayBuffer of io.reactivex.internal.operators.observable.ObservableReplay
final ReplayObserver = io.reactivex.internal.operators.observable.ObservableReplay$ReplayObserver of io.reactivex.internal.operators.observable.ObservableReplay
final ReplaySource = io.reactivex.internal.operators.observable.ObservableReplay$ReplaySource of io.reactivex.internal.operators.observable.ObservableReplay