final class reactor.core.publisher.FluxExpand$ExpandBreathSubscriber<T> extends reactor.core.publisher.Operators$MultiSubscriptionSubscriber<T, T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: reactor.core.publisher.FluxExpand$ExpandBreathSubscriber
super_class: reactor.core.publisher.Operators$MultiSubscriptionSubscriber
{
final java.util.function.Function<? super T, ? extends org.reactivestreams.Publisher<? extends T>> expander;
descriptor: Ljava/util/function/Function;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/function/Function<-TT;+Lorg/reactivestreams/Publisher<+TT;>;>;
final java.util.Queue<org.reactivestreams.Publisher<? extends T>> queue;
descriptor: Ljava/util/Queue;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Queue<Lorg/reactivestreams/Publisher<+TT;>;>;
volatile boolean active;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
volatile int wip;
descriptor: I
flags: (0x0040) ACC_VOLATILE
static final java.util.concurrent.atomic.AtomicIntegerFieldUpdater<reactor.core.publisher.FluxExpand$ExpandBreathSubscriber> WIP;
descriptor: Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater<Lreactor/core/publisher/FluxExpand$ExpandBreathSubscriber;>;
long produced;
descriptor: J
flags: (0x0000)
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lreactor/core/publisher/FluxExpand$ExpandBreathSubscriber;
ldc "wip"
invokestatic java.util.concurrent.atomic.AtomicIntegerFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
1: putstatic reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.WIP:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
2: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(reactor.core.CoreSubscriber<? super T>, java.util.function.Function<? super T, ? extends org.reactivestreams.Publisher<? extends T>>, );
descriptor: (Lreactor/core/CoreSubscriber;Ljava/util/function/Function;I)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial reactor.core.publisher.Operators$MultiSubscriptionSubscriber.<init>:(Lreactor/core/CoreSubscriber;)V
1: aload 0
aload 2
putfield reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.expander:Ljava/util/function/Function;
2: aload 0
iload 3
invokestatic reactor.util.concurrent.Queues.unbounded:(I)Ljava/util/function/Supplier;
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast java.util.Queue
putfield reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.queue:Ljava/util/Queue;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lreactor/core/publisher/FluxExpand$ExpandBreathSubscriber<TT;>;
0 4 1 actual Lreactor/core/CoreSubscriber<-TT;>;
0 4 2 expander Ljava/util/function/Function<-TT;+Lorg/reactivestreams/Publisher<+TT;>;>;
0 4 3 capacityHint I
Signature: (Lreactor/core/CoreSubscriber<-TT;>;Ljava/util/function/Function<-TT;+Lorg/reactivestreams/Publisher<+TT;>;>;I)V
MethodParameters:
Name Flags
actual
expander
capacityHint
public void onSubscribe(org.reactivestreams.Subscription);
descriptor: (Lorg/reactivestreams/Subscription;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.set:(Lorg/reactivestreams/Subscription;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lreactor/core/publisher/FluxExpand$ExpandBreathSubscriber<TT;>;
0 2 1 s Lorg/reactivestreams/Subscription;
MethodParameters:
Name Flags
s
public void onNext();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.produced:J
lconst_1
ladd
putfield reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.produced:J
1: aload 0
getfield reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.actual:Lreactor/core/CoreSubscriber;
aload 1
invokeinterface reactor.core.CoreSubscriber.onNext:(Ljava/lang/Object;)V
2: aload 0
getfield reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.expander:Ljava/util/function/Function;
aload 1
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.reactivestreams.Publisher
3: ldc "The expander returned a null Publisher"
4: invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast org.reactivestreams.Publisher
astore 2
start local 2 5: goto 12
end local 2 6: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
start local 3 7: aload 3
invokestatic reactor.core.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
8: aload 0
invokespecial reactor.core.publisher.Operators$MultiSubscriptionSubscriber.cancel:()V
9: aload 0
getfield reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.actual:Lreactor/core/CoreSubscriber;
aload 3
invokeinterface reactor.core.CoreSubscriber.onError:(Ljava/lang/Throwable;)V
10: aload 0
invokevirtual reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.drainQueue:()V
11: return
end local 3 start local 2 12: StackMap locals: org.reactivestreams.Publisher
StackMap stack:
aload 0
getfield reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.queue:Ljava/util/Queue;
aload 2
invokeinterface java.util.Queue.offer:(Ljava/lang/Object;)Z
pop
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lreactor/core/publisher/FluxExpand$ExpandBreathSubscriber<TT;>;
0 14 1 t TT;
5 6 2 p Lorg/reactivestreams/Publisher<+TT;>;
12 14 2 p Lorg/reactivestreams/Publisher<+TT;>;
7 12 3 ex Ljava/lang/Throwable;
Exception table:
from to target type
2 5 6 Class java.lang.Throwable
Signature: (TT;)V
MethodParameters:
Name Flags
t
public void onError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic reactor.core.publisher.Operators.cancelledSubscription:()Lorg/reactivestreams/Subscription;
invokevirtual reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.set:(Lorg/reactivestreams/Subscription;)V
1: aload 0
invokespecial reactor.core.publisher.Operators$MultiSubscriptionSubscriber.cancel:()V
2: aload 0
getfield reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.actual:Lreactor/core/CoreSubscriber;
aload 1
invokeinterface reactor.core.CoreSubscriber.onError:(Ljava/lang/Throwable;)V
3: aload 0
invokevirtual reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.drainQueue:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lreactor/core/publisher/FluxExpand$ExpandBreathSubscriber<TT;>;
0 5 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.active:Z
1: aload 0
invokevirtual reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.drainQueue:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lreactor/core/publisher/FluxExpand$ExpandBreathSubscriber<TT;>;
public void cancel();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial reactor.core.publisher.Operators$MultiSubscriptionSubscriber.cancel:()V
1: aload 0
invokevirtual reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.drainQueue:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lreactor/core/publisher/FluxExpand$ExpandBreathSubscriber<TT;>;
void drainQueue();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=1
start local 0 0: getstatic reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.WIP:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.getAndIncrement:(Ljava/lang/Object;)I
ifne 19
1: StackMap locals:
StackMap stack:
aload 0
getfield reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.queue:Ljava/util/Queue;
astore 1
start local 1 2: aload 0
invokevirtual reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.isCancelled:()Z
ifeq 5
3: aload 1
invokeinterface java.util.Queue.clear:()V
4: goto 18
5: StackMap locals: java.util.Queue
StackMap stack:
aload 0
getfield reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.active:Z
ifne 18
6: aload 1
invokeinterface java.util.Queue.isEmpty:()Z
ifeq 11
7: aload 0
invokestatic reactor.core.publisher.Operators.cancelledSubscription:()Lorg/reactivestreams/Subscription;
invokevirtual reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.set:(Lorg/reactivestreams/Subscription;)V
8: aload 0
invokespecial reactor.core.publisher.Operators$MultiSubscriptionSubscriber.cancel:()V
9: aload 0
getfield reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.actual:Lreactor/core/CoreSubscriber;
invokeinterface reactor.core.CoreSubscriber.onComplete:()V
10: goto 18
11: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Queue.poll:()Ljava/lang/Object;
checkcast org.reactivestreams.Publisher
astore 2
start local 2 12: aload 0
getfield reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.produced:J
lstore 3
start local 3 13: lload 3
lconst_0
lcmp
ifeq 16
14: aload 0
lconst_0
putfield reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.produced:J
15: aload 0
lload 3
invokevirtual reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.produced:(J)V
16: StackMap locals: org.reactivestreams.Publisher long
StackMap stack:
aload 0
iconst_1
putfield reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.active:Z
17: aload 2
aload 0
invokeinterface org.reactivestreams.Publisher.subscribe:(Lorg/reactivestreams/Subscriber;)V
end local 3 end local 2 end local 1 18: StackMap locals:
StackMap stack:
getstatic reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.WIP:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.decrementAndGet:(Ljava/lang/Object;)I
ifne 1
19: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lreactor/core/publisher/FluxExpand$ExpandBreathSubscriber<TT;>;
2 18 1 q Ljava/util/Queue<Lorg/reactivestreams/Publisher<+TT;>;>;
12 18 2 p Lorg/reactivestreams/Publisher<+TT;>;
13 18 3 c J
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.BUFFERED:Lreactor/core/Scannable$Attr;
if_acmpne 3
aload 0
getfield reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.queue:Ljava/util/Queue;
ifnull 1
aload 0
getfield reactor.core.publisher.FluxExpand$ExpandBreathSubscriber.queue:Ljava/util/Queue;
invokeinterface java.util.Queue.size:()I
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
3: StackMap locals:
StackMap stack:
aload 1
getstatic reactor.core.Scannable$Attr.RUN_STYLE:Lreactor/core/Scannable$Attr;
if_acmpne 4
getstatic reactor.core.Scannable$Attr$RunStyle.SYNC:Lreactor/core/Scannable$Attr$RunStyle;
areturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial reactor.core.publisher.Operators$MultiSubscriptionSubscriber.scanUnsafe:(Lreactor/core/Scannable$Attr;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lreactor/core/publisher/FluxExpand$ExpandBreathSubscriber<TT;>;
0 5 1 key Lreactor/core/Scannable$Attr;
RuntimeVisibleAnnotations:
reactor.util.annotation.Nullable()
MethodParameters:
Name Flags
key
}
Signature: <T:Ljava/lang/Object;>Lreactor/core/publisher/Operators$MultiSubscriptionSubscriber<TT;TT;>;
SourceFile: "FluxExpand.java"
NestHost: reactor.core.publisher.FluxExpand
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 ExpandBreathSubscriber = reactor.core.publisher.FluxExpand$ExpandBreathSubscriber of reactor.core.publisher.FluxExpand
abstract MultiSubscriptionSubscriber = reactor.core.publisher.Operators$MultiSubscriptionSubscriber of reactor.core.publisher.Operators