public final class io.reactivex.internal.operators.observable.ObservablePublishAlt<T> extends io.reactivex.observables.ConnectableObservable<T> implements io.reactivex.internal.fuseable.HasUpstreamObservableSource<T>, io.reactivex.internal.disposables.ResettableConnectable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.observable.ObservablePublishAlt
super_class: io.reactivex.observables.ConnectableObservable
{
final io.reactivex.ObservableSource<T> source;
descriptor: Lio/reactivex/ObservableSource;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/ObservableSource<TT;>;
final java.util.concurrent.atomic.AtomicReference<io.reactivex.internal.operators.observable.ObservablePublishAlt$PublishConnection<T>> current;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/internal/operators/observable/ObservablePublishAlt$PublishConnection<TT;>;>;
public void <init>(io.reactivex.ObservableSource<T>);
descriptor: (Lio/reactivex/ObservableSource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial io.reactivex.observables.ConnectableObservable.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservablePublishAlt.source:Lio/reactivex/ObservableSource;
2: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield io.reactivex.internal.operators.observable.ObservablePublishAlt.current:Ljava/util/concurrent/atomic/AtomicReference;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/observable/ObservablePublishAlt<TT;>;
0 4 1 source Lio/reactivex/ObservableSource<TT;>;
Signature: (Lio/reactivex/ObservableSource<TT;>;)V
MethodParameters:
Name Flags
source
public void connect(io.reactivex.functions.Consumer<? super io.reactivex.disposables.Disposable>);
descriptor: (Lio/reactivex/functions/Consumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: StackMap locals: int
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservablePublishAlt.current:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.internal.operators.observable.ObservablePublishAlt$PublishConnection
astore 3
start local 3 2: aload 3
ifnull 3
aload 3
invokevirtual io.reactivex.internal.operators.observable.ObservablePublishAlt$PublishConnection.isDisposed:()Z
ifeq 7
3: StackMap locals: io.reactivex.internal.operators.observable.ObservablePublishAlt$PublishConnection
StackMap stack:
new io.reactivex.internal.operators.observable.ObservablePublishAlt$PublishConnection
dup
aload 0
getfield io.reactivex.internal.operators.observable.ObservablePublishAlt.current:Ljava/util/concurrent/atomic/AtomicReference;
invokespecial io.reactivex.internal.operators.observable.ObservablePublishAlt$PublishConnection.<init>:(Ljava/util/concurrent/atomic/AtomicReference;)V
astore 4
start local 4 4: aload 0
getfield io.reactivex.internal.operators.observable.ObservablePublishAlt.current:Ljava/util/concurrent/atomic/AtomicReference;
aload 3
aload 4
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 6
5: goto 1
6: StackMap locals: io.reactivex.internal.operators.observable.ObservablePublishAlt$PublishConnection
StackMap stack:
aload 4
astore 3
end local 4 7: StackMap locals:
StackMap stack:
aload 3
getfield io.reactivex.internal.operators.observable.ObservablePublishAlt$PublishConnection.connect:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifne 8
aload 3
getfield io.reactivex.internal.operators.observable.ObservablePublishAlt$PublishConnection.connect:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 8
iconst_1
goto 9
StackMap locals:
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: istore 2
10: aload 1
aload 3
invokeinterface io.reactivex.functions.Consumer.accept:(Ljava/lang/Object;)V
11: goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 4
start local 4 13: aload 4
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
14: aload 4
invokestatic io.reactivex.internal.util.ExceptionHelper.wrapOrThrow:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 4 15: StackMap locals:
StackMap stack:
iload 2
ifeq 17
16: aload 0
getfield io.reactivex.internal.operators.observable.ObservablePublishAlt.source:Lio/reactivex/ObservableSource;
aload 3
invokeinterface io.reactivex.ObservableSource.subscribe:(Lio/reactivex/Observer;)V
17: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lio/reactivex/internal/operators/observable/ObservablePublishAlt<TT;>;
0 18 1 connection Lio/reactivex/functions/Consumer<-Lio/reactivex/disposables/Disposable;>;
1 18 2 doConnect Z
2 18 3 conn Lio/reactivex/internal/operators/observable/ObservablePublishAlt$PublishConnection<TT;>;
4 7 4 fresh Lio/reactivex/internal/operators/observable/ObservablePublishAlt$PublishConnection<TT;>;
13 15 4 ex Ljava/lang/Throwable;
Exception table:
from to target type
10 11 12 Class java.lang.Throwable
Signature: (Lio/reactivex/functions/Consumer<-Lio/reactivex/disposables/Disposable;>;)V
MethodParameters:
Name Flags
connection
protected void subscribeActual(io.reactivex.Observer<? super T>);
descriptor: (Lio/reactivex/Observer;)V
flags: (0x0004) ACC_PROTECTED
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.ObservablePublishAlt.current:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.internal.operators.observable.ObservablePublishAlt$PublishConnection
astore 2
start local 2 1: aload 2
ifnonnull 6
2: new io.reactivex.internal.operators.observable.ObservablePublishAlt$PublishConnection
dup
aload 0
getfield io.reactivex.internal.operators.observable.ObservablePublishAlt.current:Ljava/util/concurrent/atomic/AtomicReference;
invokespecial io.reactivex.internal.operators.observable.ObservablePublishAlt$PublishConnection.<init>:(Ljava/util/concurrent/atomic/AtomicReference;)V
astore 3
start local 3 3: aload 0
getfield io.reactivex.internal.operators.observable.ObservablePublishAlt.current:Ljava/util/concurrent/atomic/AtomicReference;
aload 2
aload 3
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 5
4: goto 0
5: StackMap locals: io.reactivex.internal.operators.observable.ObservablePublishAlt$PublishConnection io.reactivex.internal.operators.observable.ObservablePublishAlt$PublishConnection
StackMap stack:
aload 3
astore 2
end local 3 6: StackMap locals:
StackMap stack:
new io.reactivex.internal.operators.observable.ObservablePublishAlt$InnerDisposable
dup
aload 1
aload 2
invokespecial io.reactivex.internal.operators.observable.ObservablePublishAlt$InnerDisposable.<init>:(Lio/reactivex/Observer;Lio/reactivex/internal/operators/observable/ObservablePublishAlt$PublishConnection;)V
astore 3
start local 3 7: aload 1
aload 3
invokeinterface io.reactivex.Observer.onSubscribe:(Lio/reactivex/disposables/Disposable;)V
8: aload 2
aload 3
invokevirtual io.reactivex.internal.operators.observable.ObservablePublishAlt$PublishConnection.add:(Lio/reactivex/internal/operators/observable/ObservablePublishAlt$InnerDisposable;)Z
ifeq 12
9: aload 3
invokevirtual io.reactivex.internal.operators.observable.ObservablePublishAlt$InnerDisposable.isDisposed:()Z
ifeq 11
10: aload 2
aload 3
invokevirtual io.reactivex.internal.operators.observable.ObservablePublishAlt$PublishConnection.remove:(Lio/reactivex/internal/operators/observable/ObservablePublishAlt$InnerDisposable;)V
11: StackMap locals: io.reactivex.internal.operators.observable.ObservablePublishAlt$InnerDisposable
StackMap stack:
return
12: StackMap locals:
StackMap stack:
aload 2
getfield io.reactivex.internal.operators.observable.ObservablePublishAlt$PublishConnection.error:Ljava/lang/Throwable;
astore 4
start local 4 13: aload 4
ifnull 16
14: aload 1
aload 4
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
15: goto 17
16: StackMap locals: java.lang.Throwable
StackMap stack:
aload 1
invokeinterface io.reactivex.Observer.onComplete:()V
17: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lio/reactivex/internal/operators/observable/ObservablePublishAlt<TT;>;
0 18 1 observer Lio/reactivex/Observer<-TT;>;
1 18 2 conn Lio/reactivex/internal/operators/observable/ObservablePublishAlt$PublishConnection<TT;>;
3 6 3 fresh Lio/reactivex/internal/operators/observable/ObservablePublishAlt$PublishConnection<TT;>;
7 18 3 inner Lio/reactivex/internal/operators/observable/ObservablePublishAlt$InnerDisposable<TT;>;
13 18 4 error Ljava/lang/Throwable;
Signature: (Lio/reactivex/Observer<-TT;>;)V
MethodParameters:
Name Flags
observer
public void resetIf(io.reactivex.disposables.Disposable);
descriptor: (Lio/reactivex/disposables/Disposable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservablePublishAlt.current:Ljava/util/concurrent/atomic/AtomicReference;
aload 1
checkcast io.reactivex.internal.operators.observable.ObservablePublishAlt$PublishConnection
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/operators/observable/ObservablePublishAlt<TT;>;
0 2 1 connection Lio/reactivex/disposables/Disposable;
MethodParameters:
Name Flags
connection
public io.reactivex.ObservableSource<T> source();
descriptor: ()Lio/reactivex/ObservableSource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservablePublishAlt.source:Lio/reactivex/ObservableSource;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/observable/ObservablePublishAlt<TT;>;
Signature: ()Lio/reactivex/ObservableSource<TT;>;
}
Signature: <T:Ljava/lang/Object;>Lio/reactivex/observables/ConnectableObservable<TT;>;Lio/reactivex/internal/fuseable/HasUpstreamObservableSource<TT;>;Lio/reactivex/internal/disposables/ResettableConnectable;
SourceFile: "ObservablePublishAlt.java"
NestMembers:
io.reactivex.internal.operators.observable.ObservablePublishAlt$InnerDisposable io.reactivex.internal.operators.observable.ObservablePublishAlt$PublishConnection
InnerClasses:
final InnerDisposable = io.reactivex.internal.operators.observable.ObservablePublishAlt$InnerDisposable of io.reactivex.internal.operators.observable.ObservablePublishAlt
final PublishConnection = io.reactivex.internal.operators.observable.ObservablePublishAlt$PublishConnection of io.reactivex.internal.operators.observable.ObservablePublishAlt