final class reactor.core.publisher.FluxMergeOrdered<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.FluxMergeOrdered
super_class: reactor.core.publisher.Flux
{
final int prefetch;
descriptor: I
flags: (0x0010) ACC_FINAL
final java.util.function.Supplier<java.util.Queue<T>> queueSupplier;
descriptor: Ljava/util/function/Supplier;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/function/Supplier<Ljava/util/Queue<TT;>;>;
final java.util.Comparator<? super T> valueComparator;
descriptor: Ljava/util/Comparator;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Comparator<-TT;>;
final org.reactivestreams.Publisher<? extends T>[] sources;
descriptor: [Lorg/reactivestreams/Publisher;
flags: (0x0010) ACC_FINAL
Signature: [Lorg/reactivestreams/Publisher<+TT;>;
void <init>(int, java.util.function.Supplier<java.util.Queue<T>>, java.util.Comparator<? super T>, org.reactivestreams.Publisher<? extends T>[]);
descriptor: (ILjava/util/function/Supplier;Ljava/util/Comparator;[Lorg/reactivestreams/Publisher;)V
flags: (0x0080) ACC_VARARGS
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial reactor.core.publisher.Flux.<init>:()V
1: iload 1
ifgt 3
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
iload 1
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.FluxMergeOrdered int java.util.function.Supplier java.util.Comparator org.reactivestreams.Publisher[]
StackMap stack:
aload 0
aload 4
ldc "sources must be non-null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast org.reactivestreams.Publisher[]
putfield reactor.core.publisher.FluxMergeOrdered.sources:[Lorg/reactivestreams/Publisher;
4: iconst_0
istore 5
start local 5 5: goto 10
6: StackMap locals: int
StackMap stack:
aload 4
iload 5
aaload
astore 6
start local 6 7: aload 6
ifnonnull 9
8: new java.lang.NullPointerException
dup
new java.lang.StringBuilder
dup
ldc "sources["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "] is null"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
end local 6 9: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
10: iload 5
aload 4
arraylength
if_icmplt 6
end local 5 11: aload 0
iload 1
putfield reactor.core.publisher.FluxMergeOrdered.prefetch:I
12: aload 0
aload 2
putfield reactor.core.publisher.FluxMergeOrdered.queueSupplier:Ljava/util/function/Supplier;
13: aload 0
aload 3
putfield reactor.core.publisher.FluxMergeOrdered.valueComparator:Ljava/util/Comparator;
14: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lreactor/core/publisher/FluxMergeOrdered<TT;>;
0 15 1 prefetch I
0 15 2 queueSupplier Ljava/util/function/Supplier<Ljava/util/Queue<TT;>;>;
0 15 3 valueComparator Ljava/util/Comparator<-TT;>;
0 15 4 sources [Lorg/reactivestreams/Publisher;
5 11 5 i I
7 9 6 source Lorg/reactivestreams/Publisher<+TT;>;
Signature: (ILjava/util/function/Supplier<Ljava/util/Queue<TT;>;>;Ljava/util/Comparator<-TT;>;[Lorg/reactivestreams/Publisher<+TT;>;)V
RuntimeVisibleAnnotations:
java.lang.SafeVarargs()
MethodParameters:
Name Flags
prefetch
queueSupplier
valueComparator
sources
reactor.core.publisher.FluxMergeOrdered<T> mergeAdditionalSource(org.reactivestreams.Publisher<? extends T>, java.util.Comparator<? super T>);
descriptor: (Lorg/reactivestreams/Publisher;Ljava/util/Comparator;)Lreactor/core/publisher/FluxMergeOrdered;
flags: (0x0000)
Code:
stack=6, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield reactor.core.publisher.FluxMergeOrdered.sources:[Lorg/reactivestreams/Publisher;
arraylength
istore 3
start local 3 1: iload 3
iconst_1
iadd
anewarray org.reactivestreams.Publisher
astore 4
start local 4 2: aload 0
getfield reactor.core.publisher.FluxMergeOrdered.sources:[Lorg/reactivestreams/Publisher;
iconst_0
aload 4
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 4
iload 3
aload 1
aastore
4: aload 0
getfield reactor.core.publisher.FluxMergeOrdered.valueComparator:Ljava/util/Comparator;
aload 2
invokeinterface java.util.Comparator.equals:(Ljava/lang/Object;)Z
ifne 8
5: aload 0
getfield reactor.core.publisher.FluxMergeOrdered.valueComparator:Ljava/util/Comparator;
astore 5
start local 5 6: aload 5
aload 2
invokeinterface java.util.Comparator.thenComparing:(Ljava/util/Comparator;)Ljava/util/Comparator;
astore 6
start local 6 7: new reactor.core.publisher.FluxMergeOrdered
dup
aload 0
getfield reactor.core.publisher.FluxMergeOrdered.prefetch:I
aload 0
getfield reactor.core.publisher.FluxMergeOrdered.queueSupplier:Ljava/util/function/Supplier;
aload 6
aload 4
invokespecial reactor.core.publisher.FluxMergeOrdered.<init>:(ILjava/util/function/Supplier;Ljava/util/Comparator;[Lorg/reactivestreams/Publisher;)V
areturn
end local 6 end local 5 8: StackMap locals: int org.reactivestreams.Publisher[]
StackMap stack:
new reactor.core.publisher.FluxMergeOrdered
dup
aload 0
getfield reactor.core.publisher.FluxMergeOrdered.prefetch:I
aload 0
getfield reactor.core.publisher.FluxMergeOrdered.queueSupplier:Ljava/util/function/Supplier;
aload 0
getfield reactor.core.publisher.FluxMergeOrdered.valueComparator:Ljava/util/Comparator;
aload 4
invokespecial reactor.core.publisher.FluxMergeOrdered.<init>:(ILjava/util/function/Supplier;Ljava/util/Comparator;[Lorg/reactivestreams/Publisher;)V
areturn
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/FluxMergeOrdered<TT;>;
0 9 1 source Lorg/reactivestreams/Publisher<+TT;>;
0 9 2 otherComparator Ljava/util/Comparator<-TT;>;
1 9 3 n I
2 9 4 newArray [Lorg/reactivestreams/Publisher;
6 8 5 currentComparator Ljava/util/Comparator<TT;>;
7 8 6 newComparator Ljava/util/Comparator<TT;>;
Signature: (Lorg/reactivestreams/Publisher<+TT;>;Ljava/util/Comparator<-TT;>;)Lreactor/core/publisher/FluxMergeOrdered<TT;>;
MethodParameters:
Name Flags
source
otherComparator
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.FluxMergeOrdered.prefetch:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/core/publisher/FluxMergeOrdered<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.PARENT:Lreactor/core/Scannable$Attr;
if_acmpne 3
aload 0
getfield reactor.core.publisher.FluxMergeOrdered.sources:[Lorg/reactivestreams/Publisher;
arraylength
ifle 1
aload 0
getfield reactor.core.publisher.FluxMergeOrdered.sources:[Lorg/reactivestreams/Publisher;
iconst_0
aaload
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: org.reactivestreams.Publisher
2: areturn
3: StackMap locals:
StackMap stack:
aload 1
getstatic reactor.core.Scannable$Attr.PREFETCH:Lreactor/core/Scannable$Attr;
if_acmpne 4
aload 0
getfield reactor.core.publisher.FluxMergeOrdered.prefetch:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
4: StackMap locals:
StackMap stack:
aload 1
getstatic reactor.core.Scannable$Attr.DELAY_ERROR:Lreactor/core/Scannable$Attr;
if_acmpne 5
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
5: StackMap locals:
StackMap stack:
aload 1
getstatic reactor.core.Scannable$Attr.RUN_STYLE:Lreactor/core/Scannable$Attr;
if_acmpne 6
getstatic reactor.core.Scannable$Attr$RunStyle.SYNC:Lreactor/core/Scannable$Attr$RunStyle;
areturn
6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lreactor/core/publisher/FluxMergeOrdered<TT;>;
0 7 1 key Lreactor/core/Scannable$Attr;
RuntimeVisibleAnnotations:
reactor.util.annotation.Nullable()
MethodParameters:
Name Flags
key
public void subscribe(reactor.core.CoreSubscriber<? super T>);
descriptor: (Lreactor/core/CoreSubscriber;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: new reactor.core.publisher.FluxMergeOrdered$MergeOrderedMainProducer
dup
aload 1
aload 0
getfield reactor.core.publisher.FluxMergeOrdered.valueComparator:Ljava/util/Comparator;
aload 0
getfield reactor.core.publisher.FluxMergeOrdered.prefetch:I
aload 0
getfield reactor.core.publisher.FluxMergeOrdered.sources:[Lorg/reactivestreams/Publisher;
arraylength
invokespecial reactor.core.publisher.FluxMergeOrdered$MergeOrderedMainProducer.<init>:(Lreactor/core/CoreSubscriber;Ljava/util/Comparator;II)V
astore 2
start local 2 1: aload 1
aload 2
invokeinterface reactor.core.CoreSubscriber.onSubscribe:(Lorg/reactivestreams/Subscription;)V
2: aload 2
aload 0
getfield reactor.core.publisher.FluxMergeOrdered.sources:[Lorg/reactivestreams/Publisher;
invokevirtual reactor.core.publisher.FluxMergeOrdered$MergeOrderedMainProducer.subscribe:([Lorg/reactivestreams/Publisher;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lreactor/core/publisher/FluxMergeOrdered<TT;>;
0 4 1 actual Lreactor/core/CoreSubscriber<-TT;>;
1 4 2 main Lreactor/core/publisher/FluxMergeOrdered$MergeOrderedMainProducer<TT;>;
Signature: (Lreactor/core/CoreSubscriber<-TT;>;)V
MethodParameters:
Name Flags
actual
}
Signature: <T:Ljava/lang/Object;>Lreactor/core/publisher/Flux<TT;>;Lreactor/core/publisher/SourceProducer<TT;>;
SourceFile: "FluxMergeOrdered.java"
NestMembers:
reactor.core.publisher.FluxMergeOrdered$MergeOrderedInnerSubscriber reactor.core.publisher.FluxMergeOrdered$MergeOrderedMainProducer
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 MergeOrderedInnerSubscriber = reactor.core.publisher.FluxMergeOrdered$MergeOrderedInnerSubscriber of reactor.core.publisher.FluxMergeOrdered
final MergeOrderedMainProducer = reactor.core.publisher.FluxMergeOrdered$MergeOrderedMainProducer of reactor.core.publisher.FluxMergeOrdered