final class reactor.core.publisher.FluxPublish<T> extends reactor.core.publisher.ConnectableFlux<T> implements reactor.core.Scannable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: reactor.core.publisher.FluxPublish
super_class: reactor.core.publisher.ConnectableFlux
{
final reactor.core.publisher.Flux<? extends T> source;
descriptor: Lreactor/core/publisher/Flux;
flags: (0x0010) ACC_FINAL
Signature: Lreactor/core/publisher/Flux<+TT;>;
final int prefetch;
descriptor: I
flags: (0x0010) ACC_FINAL
final java.util.function.Supplier<? extends java.util.Queue<T>> queueSupplier;
descriptor: Ljava/util/function/Supplier;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/function/Supplier<+Ljava/util/Queue<TT;>;>;
volatile reactor.core.publisher.FluxPublish$PublishSubscriber<T> connection;
descriptor: Lreactor/core/publisher/FluxPublish$PublishSubscriber;
flags: (0x0040) ACC_VOLATILE
Signature: Lreactor/core/publisher/FluxPublish$PublishSubscriber<TT;>;
static final java.util.concurrent.atomic.AtomicReferenceFieldUpdater<reactor.core.publisher.FluxPublish, reactor.core.publisher.FluxPublish$PublishSubscriber> CONNECTION;
descriptor: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<Lreactor/core/publisher/FluxPublish;Lreactor/core/publisher/FluxPublish$PublishSubscriber;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc Lreactor/core/publisher/FluxPublish;
1: ldc Lreactor/core/publisher/FluxPublish$PublishSubscriber;
2: ldc "connection"
3: invokestatic java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
4: putstatic reactor.core.publisher.FluxPublish.CONNECTION:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
5: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(reactor.core.publisher.Flux<? extends T>, int, java.util.function.Supplier<? extends java.util.Queue<T>>);
descriptor: (Lreactor/core/publisher/Flux;ILjava/util/function/Supplier;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial reactor.core.publisher.ConnectableFlux.<init>:()V
1: iload 2
ifgt 3
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "bufferSize > 0 required but it was "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: reactor.core.publisher.FluxPublish reactor.core.publisher.Flux int java.util.function.Supplier
StackMap stack:
aload 0
aload 1
ldc "source"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast reactor.core.publisher.Flux
putfield reactor.core.publisher.FluxPublish.source:Lreactor/core/publisher/Flux;
4: aload 0
iload 2
putfield reactor.core.publisher.FluxPublish.prefetch:I
5: aload 0
aload 3
ldc "queueSupplier"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.util.function.Supplier
putfield reactor.core.publisher.FluxPublish.queueSupplier:Ljava/util/function/Supplier;
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lreactor/core/publisher/FluxPublish<TT;>;
0 7 1 source Lreactor/core/publisher/Flux<+TT;>;
0 7 2 prefetch I
0 7 3 queueSupplier Ljava/util/function/Supplier<+Ljava/util/Queue<TT;>;>;
Signature: (Lreactor/core/publisher/Flux<+TT;>;ILjava/util/function/Supplier<+Ljava/util/Queue<TT;>;>;)V
MethodParameters:
Name Flags
source
prefetch
queueSupplier
public void connect(java.util.function.Consumer<? super reactor.core.Disposable>);
descriptor: (Ljava/util/function/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 reactor.core.publisher.FluxPublish.connection:Lreactor/core/publisher/FluxPublish$PublishSubscriber;
astore 3
start local 3 1: aload 3
ifnull 2
aload 3
invokevirtual reactor.core.publisher.FluxPublish$PublishSubscriber.isTerminated:()Z
ifeq 6
2: StackMap locals: reactor.core.publisher.FluxPublish java.util.function.Consumer top reactor.core.publisher.FluxPublish$PublishSubscriber
StackMap stack:
new reactor.core.publisher.FluxPublish$PublishSubscriber
dup
aload 0
getfield reactor.core.publisher.FluxPublish.prefetch:I
aload 0
invokespecial reactor.core.publisher.FluxPublish$PublishSubscriber.<init>:(ILreactor/core/publisher/FluxPublish;)V
astore 4
start local 4 3: getstatic reactor.core.publisher.FluxPublish.CONNECTION:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aload 3
aload 4
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 5
4: goto 0
5: StackMap locals: reactor.core.publisher.FluxPublish$PublishSubscriber
StackMap stack:
aload 4
astore 3
end local 4 6: StackMap locals:
StackMap stack:
aload 3
invokevirtual reactor.core.publisher.FluxPublish$PublishSubscriber.tryConnect:()Z
istore 2
start local 2 7: aload 1
aload 3
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
8: iload 2
ifeq 10
9: aload 0
getfield reactor.core.publisher.FluxPublish.source:Lreactor/core/publisher/Flux;
aload 3
invokevirtual reactor.core.publisher.Flux.subscribe:(Lreactor/core/CoreSubscriber;)V
10: StackMap locals: reactor.core.publisher.FluxPublish java.util.function.Consumer int reactor.core.publisher.FluxPublish$PublishSubscriber
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lreactor/core/publisher/FluxPublish<TT;>;
0 11 1 cancelSupport Ljava/util/function/Consumer<-Lreactor/core/Disposable;>;
7 11 2 doConnect Z
1 11 3 s Lreactor/core/publisher/FluxPublish$PublishSubscriber<TT;>;
3 6 4 u Lreactor/core/publisher/FluxPublish$PublishSubscriber<TT;>;
Signature: (Ljava/util/function/Consumer<-Lreactor/core/Disposable;>;)V
MethodParameters:
Name Flags
cancelSupport
public void subscribe(reactor.core.CoreSubscriber<? super T>);
descriptor: (Lreactor/core/CoreSubscriber;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: new reactor.core.publisher.FluxPublish$PublishInner
dup
aload 1
invokespecial reactor.core.publisher.FluxPublish$PublishInner.<init>:(Lreactor/core/CoreSubscriber;)V
astore 2
start local 2 1: aload 1
aload 2
invokeinterface reactor.core.CoreSubscriber.onSubscribe:(Lorg/reactivestreams/Subscription;)V
2: StackMap locals: reactor.core.publisher.FluxPublish$PublishInner
StackMap stack:
aload 2
invokevirtual reactor.core.publisher.FluxPublish$PublishInner.isCancelled:()Z
ifeq 4
3: goto 16
4: StackMap locals:
StackMap stack:
aload 0
getfield reactor.core.publisher.FluxPublish.connection:Lreactor/core/publisher/FluxPublish$PublishSubscriber;
astore 3
start local 3 5: aload 3
ifnull 6
aload 3
invokevirtual reactor.core.publisher.FluxPublish$PublishSubscriber.isTerminated:()Z
ifeq 10
6: StackMap locals: reactor.core.publisher.FluxPublish$PublishSubscriber
StackMap stack:
new reactor.core.publisher.FluxPublish$PublishSubscriber
dup
aload 0
getfield reactor.core.publisher.FluxPublish.prefetch:I
aload 0
invokespecial reactor.core.publisher.FluxPublish$PublishSubscriber.<init>:(ILreactor/core/publisher/FluxPublish;)V
astore 4
start local 4 7: getstatic reactor.core.publisher.FluxPublish.CONNECTION:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aload 3
aload 4
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 9
8: goto 2
9: StackMap locals: reactor.core.publisher.FluxPublish$PublishSubscriber
StackMap stack:
aload 4
astore 3
end local 4 10: StackMap locals:
StackMap stack:
aload 3
aload 2
invokevirtual reactor.core.publisher.FluxPublish$PublishSubscriber.add:(Lreactor/core/publisher/FluxPublish$PublishInner;)Z
ifeq 2
11: aload 2
invokevirtual reactor.core.publisher.FluxPublish$PublishInner.isCancelled:()Z
ifeq 14
12: aload 3
aload 2
invokevirtual reactor.core.publisher.FluxPublish$PublishSubscriber.remove:(Lreactor/core/publisher/FluxPublish$PubSubInner;)V
13: goto 15
14: StackMap locals:
StackMap stack:
aload 2
aload 3
putfield reactor.core.publisher.FluxPublish$PublishInner.parent:Lreactor/core/publisher/FluxPublish$PublishSubscriber;
15: StackMap locals:
StackMap stack:
aload 3
invokevirtual reactor.core.publisher.FluxPublish$PublishSubscriber.drain:()V
end local 3 16: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lreactor/core/publisher/FluxPublish<TT;>;
0 17 1 actual Lreactor/core/CoreSubscriber<-TT;>;
1 17 2 inner Lreactor/core/publisher/FluxPublish$PublishInner<TT;>;
5 16 3 c Lreactor/core/publisher/FluxPublish$PublishSubscriber<TT;>;
7 10 4 u Lreactor/core/publisher/FluxPublish$PublishSubscriber<TT;>;
Signature: (Lreactor/core/CoreSubscriber<-TT;>;)V
MethodParameters:
Name Flags
actual
public int getPrefetch();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield reactor.core.publisher.FluxPublish.prefetch:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/core/publisher/FluxPublish<TT;>;
public java.lang.Object scanUnsafe(reactor.core.Scannable$Attr);
descriptor: (Lreactor/core/Scannable$Attr;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic reactor.core.Scannable$Attr.PREFETCH:Lreactor/core/Scannable$Attr;
if_acmpne 1
aload 0
invokevirtual reactor.core.publisher.FluxPublish.getPrefetch:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
1: StackMap locals:
StackMap stack:
aload 1
getstatic reactor.core.Scannable$Attr.PARENT:Lreactor/core/Scannable$Attr;
if_acmpne 2
aload 0
getfield reactor.core.publisher.FluxPublish.source:Lreactor/core/publisher/Flux;
areturn
2: StackMap locals:
StackMap stack:
aload 1
getstatic reactor.core.Scannable$Attr.RUN_STYLE:Lreactor/core/Scannable$Attr;
if_acmpne 3
getstatic reactor.core.Scannable$Attr$RunStyle.SYNC:Lreactor/core/Scannable$Attr$RunStyle;
areturn
3: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lreactor/core/publisher/FluxPublish<TT;>;
0 4 1 key Lreactor/core/Scannable$Attr;
RuntimeVisibleAnnotations:
reactor.util.annotation.Nullable()
MethodParameters:
Name Flags
key
}
Signature: <T:Ljava/lang/Object;>Lreactor/core/publisher/ConnectableFlux<TT;>;Lreactor/core/Scannable;
SourceFile: "FluxPublish.java"
NestMembers:
reactor.core.publisher.FluxPublish$PubSubInner reactor.core.publisher.FluxPublish$PublishInner reactor.core.publisher.FluxPublish$PublishSubscriber
InnerClasses:
public Attr = reactor.core.Scannable$Attr of reactor.core.Scannable
public final RunStyle = reactor.core.Scannable$Attr$RunStyle of reactor.core.Scannable$Attr
abstract PubSubInner = reactor.core.publisher.FluxPublish$PubSubInner of reactor.core.publisher.FluxPublish
final PublishInner = reactor.core.publisher.FluxPublish$PublishInner of reactor.core.publisher.FluxPublish
final PublishSubscriber = reactor.core.publisher.FluxPublish$PublishSubscriber of reactor.core.publisher.FluxPublish