final class reactor.core.publisher.FluxSwitchMap<T, R> extends reactor.core.publisher.InternalFluxOperator<T, R>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: reactor.core.publisher.FluxSwitchMap
super_class: reactor.core.publisher.InternalFluxOperator
{
final java.util.function.Function<? super T, ? extends org.reactivestreams.Publisher<? extends R>> mapper;
descriptor: Ljava/util/function/Function;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/function/Function<-TT;+Lorg/reactivestreams/Publisher<+TR;>;>;
final java.util.function.Supplier<? extends java.util.Queue<java.lang.Object>> queueSupplier;
descriptor: Ljava/util/function/Supplier;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/function/Supplier<+Ljava/util/Queue<Ljava/lang/Object;>;>;
final int prefetch;
descriptor: I
flags: (0x0010) ACC_FINAL
static final reactor.core.publisher.FluxSwitchMap$SwitchMapInner<java.lang.Object> CANCELLED_INNER;
descriptor: Lreactor/core/publisher/FluxSwitchMap$SwitchMapInner;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Lreactor/core/publisher/FluxSwitchMap$SwitchMapInner<Ljava/lang/Object;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new reactor.core.publisher.FluxSwitchMap$SwitchMapInner
dup
aconst_null
iconst_0
ldc 9223372036854775807
invokespecial reactor.core.publisher.FluxSwitchMap$SwitchMapInner.<init>:(Lreactor/core/publisher/FluxSwitchMap$SwitchMapMain;IJ)V
1: putstatic reactor.core.publisher.FluxSwitchMap.CANCELLED_INNER:Lreactor/core/publisher/FluxSwitchMap$SwitchMapInner;
2: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(reactor.core.publisher.Flux<? extends T>, java.util.function.Function<? super T, ? extends org.reactivestreams.Publisher<? extends R>>, java.util.function.Supplier<? extends java.util.Queue<java.lang.Object>>, );
descriptor: (Lreactor/core/publisher/Flux;Ljava/util/function/Function;Ljava/util/function/Supplier;I)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
invokespecial reactor.core.publisher.InternalFluxOperator.<init>:(Lreactor/core/publisher/Flux;)V
1: iload 4
ifgt 5
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "prefetch > 0 required but it was "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: reactor.core.publisher.FluxSwitchMap reactor.core.publisher.Flux java.util.function.Function java.util.function.Supplier int
StackMap stack:
aload 0
aload 2
ldc "mapper"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.util.function.Function
putfield reactor.core.publisher.FluxSwitchMap.mapper:Ljava/util/function/Function;
6: 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.FluxSwitchMap.queueSupplier:Ljava/util/function/Supplier;
7: aload 0
iload 4
putfield reactor.core.publisher.FluxSwitchMap.prefetch:I
8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lreactor/core/publisher/FluxSwitchMap<TT;TR;>;
0 9 1 source Lreactor/core/publisher/Flux<+TT;>;
0 9 2 mapper Ljava/util/function/Function<-TT;+Lorg/reactivestreams/Publisher<+TR;>;>;
0 9 3 queueSupplier Ljava/util/function/Supplier<+Ljava/util/Queue<Ljava/lang/Object;>;>;
0 9 4 prefetch I
Signature: (Lreactor/core/publisher/Flux<+TT;>;Ljava/util/function/Function<-TT;+Lorg/reactivestreams/Publisher<+TR;>;>;Ljava/util/function/Supplier<+Ljava/util/Queue<Ljava/lang/Object;>;>;I)V
MethodParameters:
Name Flags
source
mapper
queueSupplier
prefetch
public int getPrefetch();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc 2147483647
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/core/publisher/FluxSwitchMap<TT;TR;>;
public reactor.core.CoreSubscriber<? super T> subscribeOrReturn(reactor.core.CoreSubscriber<? super R>);
descriptor: (Lreactor/core/CoreSubscriber;)Lreactor/core/CoreSubscriber;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield reactor.core.publisher.FluxSwitchMap.source:Lreactor/core/publisher/Flux;
aload 1
aload 0
getfield reactor.core.publisher.FluxSwitchMap.mapper:Ljava/util/function/Function;
iconst_0
iconst_0
invokestatic reactor.core.publisher.FluxFlatMap.trySubscribeScalarMap:(Lorg/reactivestreams/Publisher;Lreactor/core/CoreSubscriber;Ljava/util/function/Function;ZZ)Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
new reactor.core.publisher.FluxSwitchMap$SwitchMapMain
dup
aload 1
3: aload 0
getfield reactor.core.publisher.FluxSwitchMap.mapper:Ljava/util/function/Function;
4: aload 0
getfield reactor.core.publisher.FluxSwitchMap.queueSupplier:Ljava/util/function/Supplier;
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast java.util.Queue
aload 0
getfield reactor.core.publisher.FluxSwitchMap.prefetch:I
5: invokespecial reactor.core.publisher.FluxSwitchMap$SwitchMapMain.<init>:(Lreactor/core/CoreSubscriber;Ljava/util/function/Function;Ljava/util/Queue;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lreactor/core/publisher/FluxSwitchMap<TT;TR;>;
0 6 1 actual Lreactor/core/CoreSubscriber<-TR;>;
Signature: (Lreactor/core/CoreSubscriber<-TR;>;)Lreactor/core/CoreSubscriber<-TT;>;
MethodParameters:
Name Flags
actual
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.RUN_STYLE:Lreactor/core/Scannable$Attr;
if_acmpne 1
getstatic reactor.core.Scannable$Attr$RunStyle.SYNC:Lreactor/core/Scannable$Attr$RunStyle;
areturn
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial reactor.core.publisher.InternalFluxOperator.scanUnsafe:(Lreactor/core/Scannable$Attr;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lreactor/core/publisher/FluxSwitchMap<TT;TR;>;
0 2 1 key Lreactor/core/Scannable$Attr;
MethodParameters:
Name Flags
key
}
Signature: <T:Ljava/lang/Object;R:Ljava/lang/Object;>Lreactor/core/publisher/InternalFluxOperator<TT;TR;>;
SourceFile: "FluxSwitchMap.java"
NestMembers:
reactor.core.publisher.FluxSwitchMap$SwitchMapInner reactor.core.publisher.FluxSwitchMap$SwitchMapMain
InnerClasses:
public Attr = reactor.core.Scannable$Attr of reactor.core.Scannable
public final RunStyle = reactor.core.Scannable$Attr$RunStyle of reactor.core.Scannable$Attr
final SwitchMapInner = reactor.core.publisher.FluxSwitchMap$SwitchMapInner of reactor.core.publisher.FluxSwitchMap
final SwitchMapMain = reactor.core.publisher.FluxSwitchMap$SwitchMapMain of reactor.core.publisher.FluxSwitchMap