public final class io.reactivex.internal.operators.flowable.FlowablePublishAlt<T> extends io.reactivex.flowables.ConnectableFlowable<T> implements io.reactivex.internal.fuseable.HasUpstreamPublisher<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.flowable.FlowablePublishAlt
super_class: io.reactivex.flowables.ConnectableFlowable
{
final org.reactivestreams.Publisher<T> source;
descriptor: Lorg/reactivestreams/Publisher;
flags: (0x0010) ACC_FINAL
Signature: Lorg/reactivestreams/Publisher<TT;>;
final int bufferSize;
descriptor: I
flags: (0x0010) ACC_FINAL
final java.util.concurrent.atomic.AtomicReference<io.reactivex.internal.operators.flowable.FlowablePublishAlt$PublishConnection<T>> current;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/internal/operators/flowable/FlowablePublishAlt$PublishConnection<TT;>;>;
public void <init>(org.reactivestreams.Publisher<T>, );
descriptor: (Lorg/reactivestreams/Publisher;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial io.reactivex.flowables.ConnectableFlowable.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.flowable.FlowablePublishAlt.source:Lorg/reactivestreams/Publisher;
2: aload 0
iload 2
putfield io.reactivex.internal.operators.flowable.FlowablePublishAlt.bufferSize:I
3: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield io.reactivex.internal.operators.flowable.FlowablePublishAlt.current:Ljava/util/concurrent/atomic/AtomicReference;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/internal/operators/flowable/FlowablePublishAlt<TT;>;
0 5 1 source Lorg/reactivestreams/Publisher<TT;>;
0 5 2 bufferSize I
Signature: (Lorg/reactivestreams/Publisher<TT;>;I)V
MethodParameters:
Name Flags
source
bufferSize
public org.reactivestreams.Publisher<T> source();
descriptor: ()Lorg/reactivestreams/Publisher;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublishAlt.source:Lorg/reactivestreams/Publisher;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/flowable/FlowablePublishAlt<TT;>;
Signature: ()Lorg/reactivestreams/Publisher<TT;>;
public int publishBufferSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublishAlt.bufferSize:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/flowable/FlowablePublishAlt<TT;>;
public void connect(io.reactivex.functions.Consumer<? super io.reactivex.disposables.Disposable>);
descriptor: (Lio/reactivex/functions/Consumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: iconst_0
istore 3
start local 3 1: StackMap locals: io.reactivex.internal.operators.flowable.FlowablePublishAlt io.reactivex.functions.Consumer top int
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublishAlt.current:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.internal.operators.flowable.FlowablePublishAlt$PublishConnection
astore 2
start local 2 2: aload 2
ifnull 3
aload 2
invokevirtual io.reactivex.internal.operators.flowable.FlowablePublishAlt$PublishConnection.isDisposed:()Z
ifeq 7
3: StackMap locals: io.reactivex.internal.operators.flowable.FlowablePublishAlt io.reactivex.functions.Consumer io.reactivex.internal.operators.flowable.FlowablePublishAlt$PublishConnection int
StackMap stack:
new io.reactivex.internal.operators.flowable.FlowablePublishAlt$PublishConnection
dup
aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublishAlt.current:Ljava/util/concurrent/atomic/AtomicReference;
aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublishAlt.bufferSize:I
invokespecial io.reactivex.internal.operators.flowable.FlowablePublishAlt$PublishConnection.<init>:(Ljava/util/concurrent/atomic/AtomicReference;I)V
astore 4
start local 4 4: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublishAlt.current:Ljava/util/concurrent/atomic/AtomicReference;
aload 2
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.flowable.FlowablePublishAlt$PublishConnection
StackMap stack:
aload 4
astore 2
end local 4 7: StackMap locals:
StackMap stack:
aload 2
getfield io.reactivex.internal.operators.flowable.FlowablePublishAlt$PublishConnection.connect:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifne 8
aload 2
getfield io.reactivex.internal.operators.flowable.FlowablePublishAlt$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 3
10: aload 1
aload 2
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 3
ifeq 17
16: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublishAlt.source:Lorg/reactivestreams/Publisher;
aload 2
invokeinterface org.reactivestreams.Publisher.subscribe:(Lorg/reactivestreams/Subscriber;)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/flowable/FlowablePublishAlt<TT;>;
0 18 1 connection Lio/reactivex/functions/Consumer<-Lio/reactivex/disposables/Disposable;>;
2 18 2 conn Lio/reactivex/internal/operators/flowable/FlowablePublishAlt$PublishConnection<TT;>;
1 18 3 doConnect Z
4 7 4 fresh Lio/reactivex/internal/operators/flowable/FlowablePublishAlt$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(org.reactivestreams.Subscriber<? super T>);
descriptor: (Lorg/reactivestreams/Subscriber;)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.flowable.FlowablePublishAlt.current:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.internal.operators.flowable.FlowablePublishAlt$PublishConnection
astore 2
start local 2 1: aload 2
ifnonnull 6
2: new io.reactivex.internal.operators.flowable.FlowablePublishAlt$PublishConnection
dup
aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublishAlt.current:Ljava/util/concurrent/atomic/AtomicReference;
aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublishAlt.bufferSize:I
invokespecial io.reactivex.internal.operators.flowable.FlowablePublishAlt$PublishConnection.<init>:(Ljava/util/concurrent/atomic/AtomicReference;I)V
astore 3
start local 3 3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublishAlt.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.flowable.FlowablePublishAlt$PublishConnection io.reactivex.internal.operators.flowable.FlowablePublishAlt$PublishConnection
StackMap stack:
aload 3
astore 2
end local 3 6: StackMap locals:
StackMap stack:
new io.reactivex.internal.operators.flowable.FlowablePublishAlt$InnerSubscription
dup
aload 1
aload 2
invokespecial io.reactivex.internal.operators.flowable.FlowablePublishAlt$InnerSubscription.<init>:(Lorg/reactivestreams/Subscriber;Lio/reactivex/internal/operators/flowable/FlowablePublishAlt$PublishConnection;)V
astore 3
start local 3 7: aload 1
aload 3
invokeinterface org.reactivestreams.Subscriber.onSubscribe:(Lorg/reactivestreams/Subscription;)V
8: aload 2
aload 3
invokevirtual io.reactivex.internal.operators.flowable.FlowablePublishAlt$PublishConnection.add:(Lio/reactivex/internal/operators/flowable/FlowablePublishAlt$InnerSubscription;)Z
ifeq 14
9: aload 3
invokevirtual io.reactivex.internal.operators.flowable.FlowablePublishAlt$InnerSubscription.isCancelled:()Z
ifeq 12
10: aload 2
aload 3
invokevirtual io.reactivex.internal.operators.flowable.FlowablePublishAlt$PublishConnection.remove:(Lio/reactivex/internal/operators/flowable/FlowablePublishAlt$InnerSubscription;)V
11: goto 13
12: StackMap locals: io.reactivex.internal.operators.flowable.FlowablePublishAlt$InnerSubscription
StackMap stack:
aload 2
invokevirtual io.reactivex.internal.operators.flowable.FlowablePublishAlt$PublishConnection.drain:()V
13: StackMap locals:
StackMap stack:
return
14: StackMap locals:
StackMap stack:
aload 2
getfield io.reactivex.internal.operators.flowable.FlowablePublishAlt$PublishConnection.error:Ljava/lang/Throwable;
astore 4
start local 4 15: aload 4
ifnull 18
16: aload 1
aload 4
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
17: goto 19
18: StackMap locals: java.lang.Throwable
StackMap stack:
aload 1
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
19: 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 20 0 this Lio/reactivex/internal/operators/flowable/FlowablePublishAlt<TT;>;
0 20 1 s Lorg/reactivestreams/Subscriber<-TT;>;
1 20 2 conn Lio/reactivex/internal/operators/flowable/FlowablePublishAlt$PublishConnection<TT;>;
3 6 3 fresh Lio/reactivex/internal/operators/flowable/FlowablePublishAlt$PublishConnection<TT;>;
7 20 3 inner Lio/reactivex/internal/operators/flowable/FlowablePublishAlt$InnerSubscription<TT;>;
15 20 4 ex Ljava/lang/Throwable;
Signature: (Lorg/reactivestreams/Subscriber<-TT;>;)V
MethodParameters:
Name Flags
s
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.flowable.FlowablePublishAlt.current:Ljava/util/concurrent/atomic/AtomicReference;
aload 1
checkcast io.reactivex.internal.operators.flowable.FlowablePublishAlt$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/flowable/FlowablePublishAlt<TT;>;
0 2 1 connection Lio/reactivex/disposables/Disposable;
MethodParameters:
Name Flags
connection
}
Signature: <T:Ljava/lang/Object;>Lio/reactivex/flowables/ConnectableFlowable<TT;>;Lio/reactivex/internal/fuseable/HasUpstreamPublisher<TT;>;Lio/reactivex/internal/disposables/ResettableConnectable;
SourceFile: "FlowablePublishAlt.java"
NestMembers:
io.reactivex.internal.operators.flowable.FlowablePublishAlt$InnerSubscription io.reactivex.internal.operators.flowable.FlowablePublishAlt$PublishConnection
InnerClasses:
final InnerSubscription = io.reactivex.internal.operators.flowable.FlowablePublishAlt$InnerSubscription of io.reactivex.internal.operators.flowable.FlowablePublishAlt
final PublishConnection = io.reactivex.internal.operators.flowable.FlowablePublishAlt$PublishConnection of io.reactivex.internal.operators.flowable.FlowablePublishAlt