final class reactor.core.publisher.ParallelSource<T> extends reactor.core.publisher.ParallelFlux<T> implements reactor.core.Scannable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: reactor.core.publisher.ParallelSource
super_class: reactor.core.publisher.ParallelFlux
{
final org.reactivestreams.Publisher<? extends T> source;
descriptor: Lorg/reactivestreams/Publisher;
flags: (0x0010) ACC_FINAL
Signature: Lorg/reactivestreams/Publisher<+TT;>;
final int parallelism;
descriptor: I
flags: (0x0010) ACC_FINAL
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;>;>;
void <init>(org.reactivestreams.Publisher<? extends T>, int, int, java.util.function.Supplier<java.util.Queue<T>>);
descriptor: (Lorg/reactivestreams/Publisher;IILjava/util/function/Supplier;)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
invokespecial reactor.core.publisher.ParallelFlux.<init>:()V
1: iload 2
ifgt 3
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "parallelism > 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.ParallelSource org.reactivestreams.Publisher int int java.util.function.Supplier
StackMap stack:
iload 3
ifgt 5
4: 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 3
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
5: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield reactor.core.publisher.ParallelSource.source:Lorg/reactivestreams/Publisher;
6: aload 0
iload 2
putfield reactor.core.publisher.ParallelSource.parallelism:I
7: aload 0
iload 3
putfield reactor.core.publisher.ParallelSource.prefetch:I
8: aload 0
aload 4
putfield reactor.core.publisher.ParallelSource.queueSupplier:Ljava/util/function/Supplier;
9: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lreactor/core/publisher/ParallelSource<TT;>;
0 10 1 source Lorg/reactivestreams/Publisher<+TT;>;
0 10 2 parallelism I
0 10 3 prefetch I
0 10 4 queueSupplier Ljava/util/function/Supplier<Ljava/util/Queue<TT;>;>;
Signature: (Lorg/reactivestreams/Publisher<+TT;>;IILjava/util/function/Supplier<Ljava/util/Queue<TT;>;>;)V
MethodParameters:
Name Flags
source
parallelism
prefetch
queueSupplier
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.ParallelSource.prefetch:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/core/publisher/ParallelSource<TT;>;
public int parallelism();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield reactor.core.publisher.ParallelSource.parallelism:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/core/publisher/ParallelSource<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 1
aload 0
getfield reactor.core.publisher.ParallelSource.source:Lorg/reactivestreams/Publisher;
areturn
1: StackMap locals:
StackMap stack:
aload 1
getstatic reactor.core.Scannable$Attr.PREFETCH:Lreactor/core/Scannable$Attr;
if_acmpne 2
aload 0
invokevirtual reactor.core.publisher.ParallelSource.getPrefetch:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
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/ParallelSource<TT;>;
0 4 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=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual reactor.core.publisher.ParallelSource.validate:([Lorg/reactivestreams/Subscriber;)Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield reactor.core.publisher.ParallelSource.source:Lorg/reactivestreams/Publisher;
new reactor.core.publisher.ParallelSource$ParallelSourceMain
dup
aload 1
aload 0
getfield reactor.core.publisher.ParallelSource.prefetch:I
aload 0
getfield reactor.core.publisher.ParallelSource.queueSupplier:Ljava/util/function/Supplier;
invokespecial reactor.core.publisher.ParallelSource$ParallelSourceMain.<init>:([Lreactor/core/CoreSubscriber;ILjava/util/function/Supplier;)V
invokeinterface org.reactivestreams.Publisher.subscribe:(Lorg/reactivestreams/Subscriber;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lreactor/core/publisher/ParallelSource<TT;>;
0 4 1 subscribers [Lreactor/core/CoreSubscriber;
Signature: ([Lreactor/core/CoreSubscriber<-TT;>;)V
MethodParameters:
Name Flags
subscribers
}
Signature: <T:Ljava/lang/Object;>Lreactor/core/publisher/ParallelFlux<TT;>;Lreactor/core/Scannable;
SourceFile: "ParallelSource.java"
NestMembers:
reactor.core.publisher.ParallelSource$ParallelSourceMain reactor.core.publisher.ParallelSource$ParallelSourceMain$ParallelSourceInner
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 ParallelSourceMain = reactor.core.publisher.ParallelSource$ParallelSourceMain of reactor.core.publisher.ParallelSource