final class reactor.core.publisher.BlockingIterable<T> implements java.lang.Iterable<T>, reactor.core.Scannable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: reactor.core.publisher.BlockingIterable
super_class: java.lang.Object
{
final reactor.core.CorePublisher<? extends T> source;
descriptor: Lreactor/core/CorePublisher;
flags: (0x0010) ACC_FINAL
Signature: Lreactor/core/CorePublisher<+TT;>;
final int batchSize;
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>(reactor.core.CorePublisher<? extends T>, int, java.util.function.Supplier<java.util.Queue<T>>);
descriptor: (Lreactor/core/CorePublisher;ILjava/util/function/Supplier;)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 java.lang.Object.<init>:()V
1: iload 2
ifgt 3
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "batchSize > 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.BlockingIterable reactor.core.CorePublisher int java.util.function.Supplier
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.CorePublisher
putfield reactor.core.publisher.BlockingIterable.source:Lreactor/core/CorePublisher;
4: aload 0
iload 2
putfield reactor.core.publisher.BlockingIterable.batchSize:I
5: 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.BlockingIterable.queueSupplier:Ljava/util/function/Supplier;
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/BlockingIterable<TT;>;
0 7 1 source Lreactor/core/CorePublisher<+TT;>;
0 7 2 batchSize I
0 7 3 queueSupplier Ljava/util/function/Supplier<Ljava/util/Queue<TT;>;>;
Signature: (Lreactor/core/CorePublisher<+TT;>;ILjava/util/function/Supplier<Ljava/util/Queue<TT;>;>;)V
MethodParameters:
Name Flags
source
batchSize
queueSupplier
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
ldc 2147483647
aload 0
getfield reactor.core.publisher.BlockingIterable.batchSize:I
invokestatic java.lang.Math.min:(II)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.BlockingIterable.source:Lreactor/core/CorePublisher;
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/BlockingIterable<TT;>;
0 4 1 key Lreactor/core/Scannable$Attr;
RuntimeVisibleAnnotations:
reactor.util.annotation.Nullable()
MethodParameters:
Name Flags
key
public java.util.Iterator<T> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual reactor.core.publisher.BlockingIterable.createIterator:()Lreactor/core/publisher/BlockingIterable$SubscriberIterator;
astore 1
start local 1 1: aload 0
getfield reactor.core.publisher.BlockingIterable.source:Lreactor/core/CorePublisher;
aload 1
invokeinterface reactor.core.CorePublisher.subscribe:(Lreactor/core/CoreSubscriber;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lreactor/core/publisher/BlockingIterable<TT;>;
1 3 1 it Lreactor/core/publisher/BlockingIterable$SubscriberIterator<TT;>;
Signature: ()Ljava/util/Iterator<TT;>;
public java.util.Spliterator<T> spliterator();
descriptor: ()Ljava/util/Spliterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual reactor.core.publisher.BlockingIterable.stream:()Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.spliterator:()Ljava/util/Spliterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/core/publisher/BlockingIterable<TT;>;
Signature: ()Ljava/util/Spliterator<TT;>;
public java.util.stream.Stream<T> stream();
descriptor: ()Ljava/util/stream/Stream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual reactor.core.publisher.BlockingIterable.createIterator:()Lreactor/core/publisher/BlockingIterable$SubscriberIterator;
astore 1
start local 1 1: aload 0
getfield reactor.core.publisher.BlockingIterable.source:Lreactor/core/CorePublisher;
aload 1
invokeinterface reactor.core.CorePublisher.subscribe:(Lreactor/core/CoreSubscriber;)V
2: aload 1
iconst_0
invokestatic java.util.Spliterators.spliteratorUnknownSize:(Ljava/util/Iterator;I)Ljava/util/Spliterator;
astore 2
start local 2 3: aload 2
iconst_0
invokestatic java.util.stream.StreamSupport.stream:(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
4: aload 1
invokeinterface java.util.stream.Stream.onClose:(Ljava/lang/Runnable;)Ljava/util/stream/BaseStream;
checkcast java.util.stream.Stream
5: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lreactor/core/publisher/BlockingIterable<TT;>;
1 6 1 it Lreactor/core/publisher/BlockingIterable$SubscriberIterator<TT;>;
3 6 2 sp Ljava/util/Spliterator<TT;>;
Signature: ()Ljava/util/stream/Stream<TT;>;
reactor.core.publisher.BlockingIterable$SubscriberIterator<T> createIterator();
descriptor: ()Lreactor/core/publisher/BlockingIterable$SubscriberIterator;
flags: (0x0000)
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield reactor.core.publisher.BlockingIterable.queueSupplier:Ljava/util/function/Supplier;
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast java.util.Queue
1: ldc "The queueSupplier returned a null queue"
2: invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.util.Queue
astore 1
start local 1 3: goto 6
end local 1 4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 5: aload 2
invokestatic reactor.core.Exceptions.propagate:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 2 start local 1 6: StackMap locals: java.util.Queue
StackMap stack:
new reactor.core.publisher.BlockingIterable$SubscriberIterator
dup
aload 1
aload 0
getfield reactor.core.publisher.BlockingIterable.batchSize:I
invokespecial reactor.core.publisher.BlockingIterable$SubscriberIterator.<init>:(Ljava/util/Queue;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lreactor/core/publisher/BlockingIterable<TT;>;
3 4 1 q Ljava/util/Queue<TT;>;
6 7 1 q Ljava/util/Queue<TT;>;
5 6 2 e Ljava/lang/Throwable;
Exception table:
from to target type
0 3 4 Class java.lang.Throwable
Signature: ()Lreactor/core/publisher/BlockingIterable$SubscriberIterator<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Ljava/lang/Iterable<TT;>;Lreactor/core/Scannable;
SourceFile: "BlockingIterable.java"
NestMembers:
reactor.core.publisher.BlockingIterable$SubscriberIterator
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 SubscriberIterator = reactor.core.publisher.BlockingIterable$SubscriberIterator of reactor.core.publisher.BlockingIterable