final class reactor.core.publisher.FluxArray$ArraySubscription<T> implements reactor.core.publisher.InnerProducer<T>, reactor.core.Fuseable$SynchronousSubscription<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: reactor.core.publisher.FluxArray$ArraySubscription
super_class: java.lang.Object
{
final reactor.core.CoreSubscriber<? super T> actual;
descriptor: Lreactor/core/CoreSubscriber;
flags: (0x0010) ACC_FINAL
Signature: Lreactor/core/CoreSubscriber<-TT;>;
final T[] array;
descriptor: [Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
Signature: [TT;
int index;
descriptor: I
flags: (0x0000)
volatile boolean cancelled;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
volatile long requested;
descriptor: J
flags: (0x0040) ACC_VOLATILE
static final java.util.concurrent.atomic.AtomicLongFieldUpdater<reactor.core.publisher.FluxArray$ArraySubscription> REQUESTED;
descriptor: Ljava/util/concurrent/atomic/AtomicLongFieldUpdater;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicLongFieldUpdater<Lreactor/core/publisher/FluxArray$ArraySubscription;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lreactor/core/publisher/FluxArray$ArraySubscription;
ldc "requested"
invokestatic java.util.concurrent.atomic.AtomicLongFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicLongFieldUpdater;
1: putstatic reactor.core.publisher.FluxArray$ArraySubscription.REQUESTED:Ljava/util/concurrent/atomic/AtomicLongFieldUpdater;
2: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(reactor.core.CoreSubscriber<? super T>, );
descriptor: (Lreactor/core/CoreSubscriber;[Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield reactor.core.publisher.FluxArray$ArraySubscription.actual:Lreactor/core/CoreSubscriber;
2: aload 0
aload 2
putfield reactor.core.publisher.FluxArray$ArraySubscription.array:[Ljava/lang/Object;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lreactor/core/publisher/FluxArray$ArraySubscription<TT;>;
0 4 1 actual Lreactor/core/CoreSubscriber<-TT;>;
0 4 2 array [Ljava/lang/Object;
Signature: (Lreactor/core/CoreSubscriber<-TT;>;[TT;)V
MethodParameters:
Name Flags
actual
array
public void request(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
invokestatic reactor.core.publisher.Operators.validate:(J)Z
ifeq 6
1: getstatic reactor.core.publisher.FluxArray$ArraySubscription.REQUESTED:Ljava/util/concurrent/atomic/AtomicLongFieldUpdater;
aload 0
lload 1
invokestatic reactor.core.publisher.Operators.addCap:(Ljava/util/concurrent/atomic/AtomicLongFieldUpdater;Ljava/lang/Object;J)J
lconst_0
lcmp
ifne 6
2: lload 1
ldc 9223372036854775807
lcmp
ifne 5
3: aload 0
invokevirtual reactor.core.publisher.FluxArray$ArraySubscription.fastPath:()V
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
lload 1
invokevirtual reactor.core.publisher.FluxArray$ArraySubscription.slowPath:(J)V
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lreactor/core/publisher/FluxArray$ArraySubscription<TT;>;
0 7 1 n J
MethodParameters:
Name Flags
n
void slowPath(long);
descriptor: (J)V
flags: (0x0000)
Code:
stack=6, locals=9, args_size=2
start local 0 start local 1 0: aload 0
getfield reactor.core.publisher.FluxArray$ArraySubscription.array:[Ljava/lang/Object;
astore 3
start local 3 1: aload 3
arraylength
istore 4
start local 4 2: aload 0
getfield reactor.core.publisher.FluxArray$ArraySubscription.actual:Lreactor/core/CoreSubscriber;
astore 5
start local 5 3: aload 0
getfield reactor.core.publisher.FluxArray$ArraySubscription.index:I
istore 6
start local 6 4: iconst_0
istore 7
start local 7 5: StackMap locals: reactor.core.publisher.FluxArray$ArraySubscription long java.lang.Object[] int org.reactivestreams.Subscriber int int
StackMap stack:
aload 0
getfield reactor.core.publisher.FluxArray$ArraySubscription.cancelled:Z
ifeq 16
6: return
7: StackMap locals:
StackMap stack:
aload 3
iload 6
aaload
astore 8
start local 8 8: aload 8
ifnonnull 11
9: aload 5
new java.lang.NullPointerException
dup
new java.lang.StringBuilder
dup
ldc "The "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 6
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "th array element was 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
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
10: return
11: StackMap locals: java.lang.Object
StackMap stack:
aload 5
aload 8
invokeinterface org.reactivestreams.Subscriber.onNext:(Ljava/lang/Object;)V
12: aload 0
getfield reactor.core.publisher.FluxArray$ArraySubscription.cancelled:Z
ifeq 14
13: return
14: StackMap locals:
StackMap stack:
iinc 6 1
15: iinc 7 1
end local 8 16: StackMap locals:
StackMap stack:
iload 6
iload 4
if_icmpeq 17
iload 7
i2l
lload 1
lcmp
ifne 7
17: StackMap locals:
StackMap stack:
iload 6
iload 4
if_icmpne 20
18: aload 5
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
19: return
20: StackMap locals:
StackMap stack:
aload 0
getfield reactor.core.publisher.FluxArray$ArraySubscription.requested:J
lstore 1
21: lload 1
iload 7
i2l
lcmp
ifne 5
22: aload 0
iload 6
putfield reactor.core.publisher.FluxArray$ArraySubscription.index:I
23: getstatic reactor.core.publisher.FluxArray$ArraySubscription.REQUESTED:Ljava/util/concurrent/atomic/AtomicLongFieldUpdater;
aload 0
iload 7
ineg
i2l
invokevirtual java.util.concurrent.atomic.AtomicLongFieldUpdater.addAndGet:(Ljava/lang/Object;J)J
lstore 1
24: lload 1
lconst_0
lcmp
ifne 26
25: return
26: StackMap locals:
StackMap stack:
iconst_0
istore 7
27: goto 5
end local 7 end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lreactor/core/publisher/FluxArray$ArraySubscription<TT;>;
0 28 1 n J
1 28 3 a [Ljava/lang/Object;
2 28 4 len I
3 28 5 s Lorg/reactivestreams/Subscriber<-TT;>;
4 28 6 i I
5 28 7 e I
8 16 8 t TT;
MethodParameters:
Name Flags
n
void fastPath();
descriptor: ()V
flags: (0x0000)
Code:
stack=6, locals=6, args_size=1
start local 0 0: aload 0
getfield reactor.core.publisher.FluxArray$ArraySubscription.array:[Ljava/lang/Object;
astore 1
start local 1 1: aload 1
arraylength
istore 2
start local 2 2: aload 0
getfield reactor.core.publisher.FluxArray$ArraySubscription.actual:Lreactor/core/CoreSubscriber;
astore 3
start local 3 3: aload 0
getfield reactor.core.publisher.FluxArray$ArraySubscription.index:I
istore 4
start local 4 4: goto 13
5: StackMap locals: reactor.core.publisher.FluxArray$ArraySubscription java.lang.Object[] int org.reactivestreams.Subscriber int
StackMap stack:
aload 0
getfield reactor.core.publisher.FluxArray$ArraySubscription.cancelled:Z
ifeq 7
6: return
7: StackMap locals:
StackMap stack:
aload 1
iload 4
aaload
astore 5
start local 5 8: aload 5
ifnonnull 11
9: aload 3
new java.lang.NullPointerException
dup
new java.lang.StringBuilder
dup
ldc "The "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "th array element was 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
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
10: return
11: StackMap locals: java.lang.Object
StackMap stack:
aload 3
aload 5
invokeinterface org.reactivestreams.Subscriber.onNext:(Ljava/lang/Object;)V
end local 5 12: iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
iload 2
if_icmpne 5
end local 4 14: aload 0
getfield reactor.core.publisher.FluxArray$ArraySubscription.cancelled:Z
ifeq 16
15: return
16: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
17: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lreactor/core/publisher/FluxArray$ArraySubscription<TT;>;
1 18 1 a [Ljava/lang/Object;
2 18 2 len I
3 18 3 s Lorg/reactivestreams/Subscriber<-TT;>;
4 14 4 i I
8 12 5 t TT;
public void cancel();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield reactor.core.publisher.FluxArray$ArraySubscription.cancelled:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lreactor/core/publisher/FluxArray$ArraySubscription<TT;>;
public T poll();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield reactor.core.publisher.FluxArray$ArraySubscription.index:I
istore 1
start local 1 1: aload 0
getfield reactor.core.publisher.FluxArray$ArraySubscription.array:[Ljava/lang/Object;
astore 2
start local 2 2: iload 1
aload 2
arraylength
if_icmpeq 7
3: aload 2
iload 1
aaload
astore 3
start local 3 4: aload 3
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 0
iload 1
iconst_1
iadd
putfield reactor.core.publisher.FluxArray$ArraySubscription.index:I
6: aload 3
areturn
end local 3 7: StackMap locals: int java.lang.Object[]
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lreactor/core/publisher/FluxArray$ArraySubscription<TT;>;
1 8 1 i I
2 8 2 a [Ljava/lang/Object;
4 7 3 t TT;
Signature: ()TT;
RuntimeVisibleAnnotations:
reactor.util.annotation.Nullable()
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield reactor.core.publisher.FluxArray$ArraySubscription.index:I
aload 0
getfield reactor.core.publisher.FluxArray$ArraySubscription.array:[Ljava/lang/Object;
arraylength
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lreactor/core/publisher/FluxArray$ArraySubscription<TT;>;
public reactor.core.CoreSubscriber<? super T> actual();
descriptor: ()Lreactor/core/CoreSubscriber;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield reactor.core.publisher.FluxArray$ArraySubscription.actual:Lreactor/core/CoreSubscriber;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/core/publisher/FluxArray$ArraySubscription<TT;>;
Signature: ()Lreactor/core/CoreSubscriber<-TT;>;
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield reactor.core.publisher.FluxArray$ArraySubscription.array:[Ljava/lang/Object;
arraylength
putfield reactor.core.publisher.FluxArray$ArraySubscription.index:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lreactor/core/publisher/FluxArray$ArraySubscription<TT;>;
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield reactor.core.publisher.FluxArray$ArraySubscription.array:[Ljava/lang/Object;
arraylength
aload 0
getfield reactor.core.publisher.FluxArray$ArraySubscription.index:I
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/core/publisher/FluxArray$ArraySubscription<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.TERMINATED:Lreactor/core/Scannable$Attr;
if_acmpne 1
aload 0
invokevirtual reactor.core.publisher.FluxArray$ArraySubscription.isEmpty:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
1: StackMap locals:
StackMap stack:
aload 1
getstatic reactor.core.Scannable$Attr.BUFFERED:Lreactor/core/Scannable$Attr;
if_acmpne 2
aload 0
invokevirtual reactor.core.publisher.FluxArray$ArraySubscription.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
2: StackMap locals:
StackMap stack:
aload 1
getstatic reactor.core.Scannable$Attr.CANCELLED:Lreactor/core/Scannable$Attr;
if_acmpne 3
aload 0
getfield reactor.core.publisher.FluxArray$ArraySubscription.cancelled:Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
3: StackMap locals:
StackMap stack:
aload 1
getstatic reactor.core.Scannable$Attr.REQUESTED_FROM_DOWNSTREAM:Lreactor/core/Scannable$Attr;
if_acmpne 4
aload 0
getfield reactor.core.publisher.FluxArray$ArraySubscription.requested:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
areturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial reactor.core.publisher.InnerProducer.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/FluxArray$ArraySubscription<TT;>;
0 5 1 key Lreactor/core/Scannable$Attr;
RuntimeVisibleAnnotations:
reactor.util.annotation.Nullable()
MethodParameters:
Name Flags
key
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lreactor/core/publisher/InnerProducer<TT;>;Lreactor/core/Fuseable$SynchronousSubscription<TT;>;
SourceFile: "FluxArray.java"
NestHost: reactor.core.publisher.FluxArray
InnerClasses:
public abstract SynchronousSubscription = reactor.core.Fuseable$SynchronousSubscription of reactor.core.Fuseable
public Attr = reactor.core.Scannable$Attr of reactor.core.Scannable
final ArraySubscription = reactor.core.publisher.FluxArray$ArraySubscription of reactor.core.publisher.FluxArray