public final class io.reactivex.internal.operators.flowable.FlowablePublish<T> extends io.reactivex.flowables.ConnectableFlowable<T> implements io.reactivex.internal.fuseable.HasUpstreamPublisher<T>, io.reactivex.internal.operators.flowable.FlowablePublishClassic<T>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.flowable.FlowablePublish
super_class: io.reactivex.flowables.ConnectableFlowable
{
static final long CANCELLED;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -9223372036854775808
final io.reactivex.Flowable<T> source;
descriptor: Lio/reactivex/Flowable;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/Flowable<TT;>;
final java.util.concurrent.atomic.AtomicReference<io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber<T>> current;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/internal/operators/flowable/FlowablePublish$PublishSubscriber<TT;>;>;
final int bufferSize;
descriptor: I
flags: (0x0010) ACC_FINAL
final org.reactivestreams.Publisher<T> onSubscribe;
descriptor: Lorg/reactivestreams/Publisher;
flags: (0x0010) ACC_FINAL
Signature: Lorg/reactivestreams/Publisher<TT;>;
public static <T> io.reactivex.flowables.ConnectableFlowable<T> create(io.reactivex.Flowable<T>, int);
descriptor: (Lio/reactivex/Flowable;I)Lio/reactivex/flowables/ConnectableFlowable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
astore 2
start local 2 1: new io.reactivex.internal.operators.flowable.FlowablePublish$FlowablePublisher
dup
aload 2
iload 1
invokespecial io.reactivex.internal.operators.flowable.FlowablePublish$FlowablePublisher.<init>:(Ljava/util/concurrent/atomic/AtomicReference;I)V
astore 3
start local 3 2: new io.reactivex.internal.operators.flowable.FlowablePublish
dup
aload 3
aload 0
aload 2
iload 1
invokespecial io.reactivex.internal.operators.flowable.FlowablePublish.<init>:(Lorg/reactivestreams/Publisher;Lio/reactivex/Flowable;Ljava/util/concurrent/atomic/AtomicReference;I)V
invokestatic io.reactivex.plugins.RxJavaPlugins.onAssembly:(Lio/reactivex/flowables/ConnectableFlowable;)Lio/reactivex/flowables/ConnectableFlowable;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 source Lio/reactivex/Flowable<TT;>;
0 3 1 bufferSize I
1 3 2 curr Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/internal/operators/flowable/FlowablePublish$PublishSubscriber<TT;>;>;
2 3 3 onSubscribe Lorg/reactivestreams/Publisher<TT;>;
Signature: <T:Ljava/lang/Object;>(Lio/reactivex/Flowable<TT;>;I)Lio/reactivex/flowables/ConnectableFlowable<TT;>;
MethodParameters:
Name Flags
source
bufferSize final
private void <init>(org.reactivestreams.Publisher<T>, io.reactivex.Flowable<T>, java.util.concurrent.atomic.AtomicReference<io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber<T>>, );
descriptor: (Lorg/reactivestreams/Publisher;Lio/reactivex/Flowable;Ljava/util/concurrent/atomic/AtomicReference;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial io.reactivex.flowables.ConnectableFlowable.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.flowable.FlowablePublish.onSubscribe:Lorg/reactivestreams/Publisher;
2: aload 0
aload 2
putfield io.reactivex.internal.operators.flowable.FlowablePublish.source:Lio/reactivex/Flowable;
3: aload 0
aload 3
putfield io.reactivex.internal.operators.flowable.FlowablePublish.current:Ljava/util/concurrent/atomic/AtomicReference;
4: aload 0
iload 4
putfield io.reactivex.internal.operators.flowable.FlowablePublish.bufferSize:I
5: return
end local 4 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/flowable/FlowablePublish<TT;>;
0 6 1 onSubscribe Lorg/reactivestreams/Publisher<TT;>;
0 6 2 source Lio/reactivex/Flowable<TT;>;
0 6 3 current Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/internal/operators/flowable/FlowablePublish$PublishSubscriber<TT;>;>;
0 6 4 bufferSize I
Signature: (Lorg/reactivestreams/Publisher<TT;>;Lio/reactivex/Flowable<TT;>;Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/internal/operators/flowable/FlowablePublish$PublishSubscriber<TT;>;>;I)V
MethodParameters:
Name Flags
onSubscribe
source
current final
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.FlowablePublish.source:Lio/reactivex/Flowable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/flowable/FlowablePublish<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.FlowablePublish.bufferSize:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/flowable/FlowablePublish<TT;>;
public org.reactivestreams.Publisher<T> publishSource();
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.FlowablePublish.source:Lio/reactivex/Flowable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/flowable/FlowablePublish<TT;>;
Signature: ()Lorg/reactivestreams/Publisher<TT;>;
protected void subscribeActual(org.reactivestreams.Subscriber<? super T>);
descriptor: (Lorg/reactivestreams/Subscriber;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish.onSubscribe:Lorg/reactivestreams/Publisher;
aload 1
invokeinterface org.reactivestreams.Publisher.subscribe:(Lorg/reactivestreams/Subscriber;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/operators/flowable/FlowablePublish<TT;>;
0 2 1 s Lorg/reactivestreams/Subscriber<-TT;>;
Signature: (Lorg/reactivestreams/Subscriber<-TT;>;)V
MethodParameters:
Name Flags
s
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: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish.current:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber
astore 3
start local 3 1: aload 3
ifnull 2
aload 3
invokevirtual io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.isDisposed:()Z
ifeq 6
2: StackMap locals: io.reactivex.internal.operators.flowable.FlowablePublish io.reactivex.functions.Consumer top io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber
StackMap stack:
new io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber
dup
aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish.current:Ljava/util/concurrent/atomic/AtomicReference;
aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish.bufferSize:I
invokespecial io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.<init>:(Ljava/util/concurrent/atomic/AtomicReference;I)V
astore 4
start local 4 3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish.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 5
4: goto 0
5: StackMap locals: io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber
StackMap stack:
aload 4
astore 3
end local 4 6: StackMap locals:
StackMap stack:
aload 3
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.shouldConnect:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifne 7
aload 3
getfield io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.shouldConnect:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 7
iconst_1
goto 8
StackMap locals:
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: istore 2
start local 2 9: aload 1
aload 3
invokeinterface io.reactivex.functions.Consumer.accept:(Ljava/lang/Object;)V
10: goto 14
StackMap locals: io.reactivex.internal.operators.flowable.FlowablePublish io.reactivex.functions.Consumer int io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber
StackMap stack: java.lang.Throwable
11: astore 4
start local 4 12: aload 4
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
13: aload 4
invokestatic io.reactivex.internal.util.ExceptionHelper.wrapOrThrow:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 4 14: StackMap locals:
StackMap stack:
iload 2
ifeq 16
15: aload 0
getfield io.reactivex.internal.operators.flowable.FlowablePublish.source:Lio/reactivex/Flowable;
aload 3
invokevirtual io.reactivex.Flowable.subscribe:(Lio/reactivex/FlowableSubscriber;)V
16: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lio/reactivex/internal/operators/flowable/FlowablePublish<TT;>;
0 17 1 connection Lio/reactivex/functions/Consumer<-Lio/reactivex/disposables/Disposable;>;
9 17 2 doConnect Z
1 17 3 ps Lio/reactivex/internal/operators/flowable/FlowablePublish$PublishSubscriber<TT;>;
3 6 4 u Lio/reactivex/internal/operators/flowable/FlowablePublish$PublishSubscriber<TT;>;
12 14 4 ex Ljava/lang/Throwable;
Exception table:
from to target type
9 10 11 Class java.lang.Throwable
Signature: (Lio/reactivex/functions/Consumer<-Lio/reactivex/disposables/Disposable;>;)V
MethodParameters:
Name Flags
connection
}
Signature: <T:Ljava/lang/Object;>Lio/reactivex/flowables/ConnectableFlowable<TT;>;Lio/reactivex/internal/fuseable/HasUpstreamPublisher<TT;>;Lio/reactivex/internal/operators/flowable/FlowablePublishClassic<TT;>;
SourceFile: "FlowablePublish.java"
NestMembers:
io.reactivex.internal.operators.flowable.FlowablePublish$FlowablePublisher io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber
InnerClasses:
final FlowablePublisher = io.reactivex.internal.operators.flowable.FlowablePublish$FlowablePublisher of io.reactivex.internal.operators.flowable.FlowablePublish
final InnerSubscriber = io.reactivex.internal.operators.flowable.FlowablePublish$InnerSubscriber of io.reactivex.internal.operators.flowable.FlowablePublish
final PublishSubscriber = io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber of io.reactivex.internal.operators.flowable.FlowablePublish