final class reactor.core.publisher.FluxCreate<T> extends reactor.core.publisher.Flux<T> implements reactor.core.publisher.SourceProducer<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: reactor.core.publisher.FluxCreate
super_class: reactor.core.publisher.Flux
{
final java.util.function.Consumer<? super reactor.core.publisher.FluxSink<T>> source;
descriptor: Ljava/util/function/Consumer;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/function/Consumer<-Lreactor/core/publisher/FluxSink<TT;>;>;
final reactor.core.publisher.FluxSink$OverflowStrategy backpressure;
descriptor: Lreactor/core/publisher/FluxSink$OverflowStrategy;
flags: (0x0010) ACC_FINAL
Signature: Lreactor/core/publisher/FluxSink$OverflowStrategy;
final reactor.core.publisher.FluxCreate$CreateMode createMode;
descriptor: Lreactor/core/publisher/FluxCreate$CreateMode;
flags: (0x0010) ACC_FINAL
Signature: Lreactor/core/publisher/FluxCreate$CreateMode;
private static volatile int[] $SWITCH_TABLE$reactor$core$publisher$FluxSink$OverflowStrategy;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
void <init>(java.util.function.Consumer<? super reactor.core.publisher.FluxSink<T>>, reactor.core.publisher.FluxSink$OverflowStrategy, reactor.core.publisher.FluxCreate$CreateMode);
descriptor: (Ljava/util/function/Consumer;Lreactor/core/publisher/FluxSink$OverflowStrategy;Lreactor/core/publisher/FluxCreate$CreateMode;)V
flags: (0x0000)
Code:
stack=3, 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: aload 0
aload 1
ldc "source"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.util.function.Consumer
putfield reactor.core.publisher.FluxCreate.source:Ljava/util/function/Consumer;
2: aload 0
aload 2
ldc "backpressure"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast reactor.core.publisher.FluxSink$OverflowStrategy
putfield reactor.core.publisher.FluxCreate.backpressure:Lreactor/core/publisher/FluxSink$OverflowStrategy;
3: aload 0
aload 3
putfield reactor.core.publisher.FluxCreate.createMode:Lreactor/core/publisher/FluxCreate$CreateMode;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lreactor/core/publisher/FluxCreate<TT;>;
0 5 1 source Ljava/util/function/Consumer<-Lreactor/core/publisher/FluxSink<TT;>;>;
0 5 2 backpressure Lreactor/core/publisher/FluxSink$OverflowStrategy;
0 5 3 createMode Lreactor/core/publisher/FluxCreate$CreateMode;
Signature: (Ljava/util/function/Consumer<-Lreactor/core/publisher/FluxSink<TT;>;>;Lreactor/core/publisher/FluxSink$OverflowStrategy;Lreactor/core/publisher/FluxCreate$CreateMode;)V
MethodParameters:
Name Flags
source
backpressure
createMode
static <T> reactor.core.publisher.FluxCreate$BaseSink<T> createSink(reactor.core.CoreSubscriber<? super T>, reactor.core.publisher.FluxSink$OverflowStrategy);
descriptor: (Lreactor/core/CoreSubscriber;Lreactor/core/publisher/FluxSink$OverflowStrategy;)Lreactor/core/publisher/FluxCreate$BaseSink;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: invokestatic reactor.core.publisher.FluxCreate.$SWITCH_TABLE$reactor$core$publisher$FluxSink$OverflowStrategy:()[I
aload 1
invokevirtual reactor.core.publisher.FluxSink$OverflowStrategy.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 1
2: 2
3: 3
4: 4
default: 5
}
1: StackMap locals:
StackMap stack:
new reactor.core.publisher.FluxCreate$IgnoreSink
dup
aload 0
invokespecial reactor.core.publisher.FluxCreate$IgnoreSink.<init>:(Lreactor/core/CoreSubscriber;)V
areturn
2: StackMap locals:
StackMap stack:
new reactor.core.publisher.FluxCreate$ErrorAsyncSink
dup
aload 0
invokespecial reactor.core.publisher.FluxCreate$ErrorAsyncSink.<init>:(Lreactor/core/CoreSubscriber;)V
areturn
3: StackMap locals:
StackMap stack:
new reactor.core.publisher.FluxCreate$DropAsyncSink
dup
aload 0
invokespecial reactor.core.publisher.FluxCreate$DropAsyncSink.<init>:(Lreactor/core/CoreSubscriber;)V
areturn
4: StackMap locals:
StackMap stack:
new reactor.core.publisher.FluxCreate$LatestAsyncSink
dup
aload 0
invokespecial reactor.core.publisher.FluxCreate$LatestAsyncSink.<init>:(Lreactor/core/CoreSubscriber;)V
areturn
5: StackMap locals:
StackMap stack:
new reactor.core.publisher.FluxCreate$BufferAsyncSink
dup
aload 0
getstatic reactor.util.concurrent.Queues.SMALL_BUFFER_SIZE:I
invokespecial reactor.core.publisher.FluxCreate$BufferAsyncSink.<init>:(Lreactor/core/CoreSubscriber;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 t Lreactor/core/CoreSubscriber<-TT;>;
0 6 1 backpressure Lreactor/core/publisher/FluxSink$OverflowStrategy;
Signature: <T:Ljava/lang/Object;>(Lreactor/core/CoreSubscriber<-TT;>;Lreactor/core/publisher/FluxSink$OverflowStrategy;)Lreactor/core/publisher/FluxCreate$BaseSink<TT;>;
MethodParameters:
Name Flags
t
backpressure
public void subscribe(reactor.core.CoreSubscriber<? super T>);
descriptor: (Lreactor/core/CoreSubscriber;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield reactor.core.publisher.FluxCreate.backpressure:Lreactor/core/publisher/FluxSink$OverflowStrategy;
invokestatic reactor.core.publisher.FluxCreate.createSink:(Lreactor/core/CoreSubscriber;Lreactor/core/publisher/FluxSink$OverflowStrategy;)Lreactor/core/publisher/FluxCreate$BaseSink;
astore 2
start local 2 1: aload 1
aload 2
invokeinterface reactor.core.CoreSubscriber.onSubscribe:(Lorg/reactivestreams/Subscription;)V
2: aload 0
getfield reactor.core.publisher.FluxCreate.source:Ljava/util/function/Consumer;
3: aload 0
getfield reactor.core.publisher.FluxCreate.createMode:Lreactor/core/publisher/FluxCreate$CreateMode;
getstatic reactor.core.publisher.FluxCreate$CreateMode.PUSH_PULL:Lreactor/core/publisher/FluxCreate$CreateMode;
if_acmpne 4
new reactor.core.publisher.FluxCreate$SerializedFluxSink
dup
aload 2
invokespecial reactor.core.publisher.FluxCreate$SerializedFluxSink.<init>:(Lreactor/core/publisher/FluxCreate$BaseSink;)V
goto 5
4: StackMap locals: reactor.core.publisher.FluxCreate reactor.core.CoreSubscriber reactor.core.publisher.FluxCreate$BaseSink
StackMap stack: java.util.function.Consumer
aload 2
5: StackMap locals: reactor.core.publisher.FluxCreate reactor.core.CoreSubscriber reactor.core.publisher.FluxCreate$BaseSink
StackMap stack: java.util.function.Consumer reactor.core.publisher.FluxSink
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
6: goto 10
7: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
start local 3 8: aload 3
invokestatic reactor.core.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
9: aload 2
aload 3
aload 1
invokeinterface reactor.core.CoreSubscriber.currentContext:()Lreactor/util/context/Context;
invokestatic reactor.core.publisher.Operators.onOperatorError:(Ljava/lang/Throwable;Lreactor/util/context/Context;)Ljava/lang/Throwable;
invokevirtual reactor.core.publisher.FluxCreate$BaseSink.error:(Ljava/lang/Throwable;)V
end local 3 10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lreactor/core/publisher/FluxCreate<TT;>;
0 11 1 actual Lreactor/core/CoreSubscriber<-TT;>;
1 11 2 sink Lreactor/core/publisher/FluxCreate$BaseSink<TT;>;
8 10 3 ex Ljava/lang/Throwable;
Exception table:
from to target type
2 6 7 Class java.lang.Throwable
Signature: (Lreactor/core/CoreSubscriber<-TT;>;)V
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.ASYNC:Lreactor/core/Scannable$Attr$RunStyle;
areturn
1: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lreactor/core/publisher/FluxCreate<TT;>;
0 2 1 key Lreactor/core/Scannable$Attr;
MethodParameters:
Name Flags
key
static int[] $SWITCH_TABLE$reactor$core$publisher$FluxSink$OverflowStrategy();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic reactor.core.publisher.FluxCreate.$SWITCH_TABLE$reactor$core$publisher$FluxSink$OverflowStrategy:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic reactor.core.publisher.FluxSink$OverflowStrategy.values:()[Lreactor/core/publisher/FluxSink$OverflowStrategy;
arraylength
newarray 10
astore 0
2: aload 0
getstatic reactor.core.publisher.FluxSink$OverflowStrategy.BUFFER:Lreactor/core/publisher/FluxSink$OverflowStrategy;
invokevirtual reactor.core.publisher.FluxSink$OverflowStrategy.ordinal:()I
iconst_5
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic reactor.core.publisher.FluxSink$OverflowStrategy.DROP:Lreactor/core/publisher/FluxSink$OverflowStrategy;
invokevirtual reactor.core.publisher.FluxSink$OverflowStrategy.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic reactor.core.publisher.FluxSink$OverflowStrategy.ERROR:Lreactor/core/publisher/FluxSink$OverflowStrategy;
invokevirtual reactor.core.publisher.FluxSink$OverflowStrategy.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic reactor.core.publisher.FluxSink$OverflowStrategy.IGNORE:Lreactor/core/publisher/FluxSink$OverflowStrategy;
invokevirtual reactor.core.publisher.FluxSink$OverflowStrategy.ordinal:()I
iconst_1
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic reactor.core.publisher.FluxSink$OverflowStrategy.LATEST:Lreactor/core/publisher/FluxSink$OverflowStrategy;
invokevirtual reactor.core.publisher.FluxSink$OverflowStrategy.ordinal:()I
iconst_4
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
dup
putstatic reactor.core.publisher.FluxCreate.$SWITCH_TABLE$reactor$core$publisher$FluxSink$OverflowStrategy:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
}
Signature: <T:Ljava/lang/Object;>Lreactor/core/publisher/Flux<TT;>;Lreactor/core/publisher/SourceProducer<TT;>;
SourceFile: "FluxCreate.java"
NestMembers:
reactor.core.publisher.FluxCreate$BaseSink reactor.core.publisher.FluxCreate$BufferAsyncSink reactor.core.publisher.FluxCreate$CreateMode reactor.core.publisher.FluxCreate$DropAsyncSink reactor.core.publisher.FluxCreate$ErrorAsyncSink reactor.core.publisher.FluxCreate$IgnoreSink reactor.core.publisher.FluxCreate$LatestAsyncSink reactor.core.publisher.FluxCreate$NoOverflowBaseAsyncSink reactor.core.publisher.FluxCreate$SerializeOnRequestSink reactor.core.publisher.FluxCreate$SerializedFluxSink reactor.core.publisher.FluxCreate$SinkDisposable
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 BaseSink = reactor.core.publisher.FluxCreate$BaseSink of reactor.core.publisher.FluxCreate
final BufferAsyncSink = reactor.core.publisher.FluxCreate$BufferAsyncSink of reactor.core.publisher.FluxCreate
final CreateMode = reactor.core.publisher.FluxCreate$CreateMode of reactor.core.publisher.FluxCreate
final DropAsyncSink = reactor.core.publisher.FluxCreate$DropAsyncSink of reactor.core.publisher.FluxCreate
final ErrorAsyncSink = reactor.core.publisher.FluxCreate$ErrorAsyncSink of reactor.core.publisher.FluxCreate
final IgnoreSink = reactor.core.publisher.FluxCreate$IgnoreSink of reactor.core.publisher.FluxCreate
final LatestAsyncSink = reactor.core.publisher.FluxCreate$LatestAsyncSink of reactor.core.publisher.FluxCreate
abstract NoOverflowBaseAsyncSink = reactor.core.publisher.FluxCreate$NoOverflowBaseAsyncSink of reactor.core.publisher.FluxCreate
SerializeOnRequestSink = reactor.core.publisher.FluxCreate$SerializeOnRequestSink of reactor.core.publisher.FluxCreate
final SerializedFluxSink = reactor.core.publisher.FluxCreate$SerializedFluxSink of reactor.core.publisher.FluxCreate
final SinkDisposable = reactor.core.publisher.FluxCreate$SinkDisposable of reactor.core.publisher.FluxCreate
public final OverflowStrategy = reactor.core.publisher.FluxSink$OverflowStrategy of reactor.core.publisher.FluxSink