public final class io.reactivex.internal.operators.observable.ObservableAutoConnect<T> extends io.reactivex.Observable<T>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.observable.ObservableAutoConnect
super_class: io.reactivex.Observable
{
final io.reactivex.observables.ConnectableObservable<? extends T> source;
descriptor: Lio/reactivex/observables/ConnectableObservable;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/observables/ConnectableObservable<+TT;>;
final int numberOfObservers;
descriptor: I
flags: (0x0010) ACC_FINAL
final io.reactivex.functions.Consumer<? super io.reactivex.disposables.Disposable> connection;
descriptor: Lio/reactivex/functions/Consumer;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/functions/Consumer<-Lio/reactivex/disposables/Disposable;>;
final java.util.concurrent.atomic.AtomicInteger clients;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0010) ACC_FINAL
public void <init>(io.reactivex.observables.ConnectableObservable<? extends T>, int, io.reactivex.functions.Consumer<? super io.reactivex.disposables.Disposable>);
descriptor: (Lio/reactivex/observables/ConnectableObservable;ILio/reactivex/functions/Consumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial io.reactivex.Observable.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableAutoConnect.source:Lio/reactivex/observables/ConnectableObservable;
2: aload 0
iload 2
putfield io.reactivex.internal.operators.observable.ObservableAutoConnect.numberOfObservers:I
3: aload 0
aload 3
putfield io.reactivex.internal.operators.observable.ObservableAutoConnect.connection:Lio/reactivex/functions/Consumer;
4: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
putfield io.reactivex.internal.operators.observable.ObservableAutoConnect.clients:Ljava/util/concurrent/atomic/AtomicInteger;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/operators/observable/ObservableAutoConnect<TT;>;
0 6 1 source Lio/reactivex/observables/ConnectableObservable<+TT;>;
0 6 2 numberOfObservers I
0 6 3 connection Lio/reactivex/functions/Consumer<-Lio/reactivex/disposables/Disposable;>;
Signature: (Lio/reactivex/observables/ConnectableObservable<+TT;>;ILio/reactivex/functions/Consumer<-Lio/reactivex/disposables/Disposable;>;)V
MethodParameters:
Name Flags
source
numberOfObservers
connection
public void subscribeActual(io.reactivex.Observer<? super T>);
descriptor: (Lio/reactivex/Observer;)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.observable.ObservableAutoConnect.source:Lio/reactivex/observables/ConnectableObservable;
aload 1
invokevirtual io.reactivex.observables.ConnectableObservable.subscribe:(Lio/reactivex/Observer;)V
1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableAutoConnect.clients:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
aload 0
getfield io.reactivex.internal.operators.observable.ObservableAutoConnect.numberOfObservers:I
if_icmpne 3
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableAutoConnect.source:Lio/reactivex/observables/ConnectableObservable;
aload 0
getfield io.reactivex.internal.operators.observable.ObservableAutoConnect.connection:Lio/reactivex/functions/Consumer;
invokevirtual io.reactivex.observables.ConnectableObservable.connect:(Lio/reactivex/functions/Consumer;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/observable/ObservableAutoConnect<TT;>;
0 4 1 child Lio/reactivex/Observer<-TT;>;
Signature: (Lio/reactivex/Observer<-TT;>;)V
MethodParameters:
Name Flags
child
}
Signature: <T:Ljava/lang/Object;>Lio/reactivex/Observable<TT;>;
SourceFile: "ObservableAutoConnect.java"