final class reactor.core.publisher.FluxAutoConnect<T> extends reactor.core.publisher.Flux<T> implements reactor.core.Scannable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: reactor.core.publisher.FluxAutoConnect
super_class: reactor.core.publisher.Flux
{
final reactor.core.publisher.ConnectableFlux<? extends T> source;
descriptor: Lreactor/core/publisher/ConnectableFlux;
flags: (0x0010) ACC_FINAL
Signature: Lreactor/core/publisher/ConnectableFlux<+TT;>;
final java.util.function.Consumer<? super reactor.core.Disposable> cancelSupport;
descriptor: Ljava/util/function/Consumer;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/function/Consumer<-Lreactor/core/Disposable;>;
volatile int remaining;
descriptor: I
flags: (0x0040) ACC_VOLATILE
static final java.util.concurrent.atomic.AtomicIntegerFieldUpdater<reactor.core.publisher.FluxAutoConnect> REMAINING;
descriptor: Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater<Lreactor/core/publisher/FluxAutoConnect;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lreactor/core/publisher/FluxAutoConnect;
ldc "remaining"
invokestatic java.util.concurrent.atomic.AtomicIntegerFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
1: putstatic reactor.core.publisher.FluxAutoConnect.REMAINING:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
2: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(reactor.core.publisher.ConnectableFlux<? extends T>, int, java.util.function.Consumer<? super reactor.core.Disposable>);
descriptor: (Lreactor/core/publisher/ConnectableFlux;ILjava/util/function/Consumer;)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.Flux.<init>:()V
1: iload 2
ifgt 3
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "n > 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.FluxAutoConnect reactor.core.publisher.ConnectableFlux int java.util.function.Consumer
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.ConnectableFlux
putfield reactor.core.publisher.FluxAutoConnect.source:Lreactor/core/publisher/ConnectableFlux;
4: aload 0
aload 3
ldc "cancelSupport"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.util.function.Consumer
putfield reactor.core.publisher.FluxAutoConnect.cancelSupport:Ljava/util/function/Consumer;
5: getstatic reactor.core.publisher.FluxAutoConnect.REMAINING:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
iload 2
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.lazySet:(Ljava/lang/Object;I)V
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/FluxAutoConnect<TT;>;
0 7 1 source Lreactor/core/publisher/ConnectableFlux<+TT;>;
0 7 2 n I
0 7 3 cancelSupport Ljava/util/function/Consumer<-Lreactor/core/Disposable;>;
Signature: (Lreactor/core/publisher/ConnectableFlux<+TT;>;ILjava/util/function/Consumer<-Lreactor/core/Disposable;>;)V
MethodParameters:
Name Flags
source
n
cancelSupport
public void subscribe(reactor.core.CoreSubscriber<? super T>);
descriptor: (Lreactor/core/CoreSubscriber;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield reactor.core.publisher.FluxAutoConnect.source:Lreactor/core/publisher/ConnectableFlux;
aload 1
invokevirtual reactor.core.publisher.ConnectableFlux.subscribe:(Lreactor/core/CoreSubscriber;)V
1: aload 0
getfield reactor.core.publisher.FluxAutoConnect.remaining:I
ifle 3
getstatic reactor.core.publisher.FluxAutoConnect.REMAINING:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.decrementAndGet:(Ljava/lang/Object;)I
ifne 3
2: aload 0
getfield reactor.core.publisher.FluxAutoConnect.source:Lreactor/core/publisher/ConnectableFlux;
aload 0
getfield reactor.core.publisher.FluxAutoConnect.cancelSupport:Ljava/util/function/Consumer;
invokevirtual reactor.core.publisher.ConnectableFlux.connect:(Ljava/util/function/Consumer;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lreactor/core/publisher/FluxAutoConnect<TT;>;
0 4 1 actual Lreactor/core/CoreSubscriber<-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.FluxAutoConnect.source:Lreactor/core/publisher/ConnectableFlux;
invokevirtual reactor.core.publisher.ConnectableFlux.getPrefetch:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/core/publisher/FluxAutoConnect<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.FluxAutoConnect.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.FluxAutoConnect.source:Lreactor/core/publisher/ConnectableFlux;
areturn
2: StackMap locals:
StackMap stack:
aload 1
getstatic reactor.core.Scannable$Attr.CAPACITY:Lreactor/core/Scannable$Attr;
if_acmpne 3
aload 0
getfield reactor.core.publisher.FluxAutoConnect.remaining:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
3: StackMap locals:
StackMap stack:
aload 1
getstatic reactor.core.Scannable$Attr.RUN_STYLE:Lreactor/core/Scannable$Attr;
if_acmpne 4
getstatic reactor.core.Scannable$Attr$RunStyle.SYNC:Lreactor/core/Scannable$Attr$RunStyle;
areturn
4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lreactor/core/publisher/FluxAutoConnect<TT;>;
0 5 1 key Lreactor/core/Scannable$Attr;
RuntimeVisibleAnnotations:
reactor.util.annotation.Nullable()
MethodParameters:
Name Flags
key
}
Signature: <T:Ljava/lang/Object;>Lreactor/core/publisher/Flux<TT;>;Lreactor/core/Scannable;
SourceFile: "FluxAutoConnect.java"
InnerClasses:
public Attr = reactor.core.Scannable$Attr of reactor.core.Scannable
public final RunStyle = reactor.core.Scannable$Attr$RunStyle of reactor.core.Scannable$Attr