final class reactor.core.publisher.FluxRefCount<T> extends reactor.core.publisher.Flux<T> implements reactor.core.Scannable, reactor.core.Fuseable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: reactor.core.publisher.FluxRefCount
super_class: reactor.core.publisher.Flux
{
final reactor.core.publisher.ConnectableFlux<? extends T> source;
descriptor: Lreactor/core/publisher/ConnectableFlux;
flags: (0x0010) ACC_FINAL
Signature: Lreactor/core/publisher/ConnectableFlux<+TT;>;
final int n;
descriptor: I
flags: (0x0010) ACC_FINAL
reactor.core.publisher.FluxRefCount$RefCountMonitor<T> connection;
descriptor: Lreactor/core/publisher/FluxRefCount$RefCountMonitor;
flags: (0x0000)
Signature: Lreactor/core/publisher/FluxRefCount$RefCountMonitor<TT;>;
RuntimeVisibleAnnotations:
reactor.util.annotation.Nullable()
void <init>(reactor.core.publisher.ConnectableFlux<? extends T>, );
descriptor: (Lreactor/core/publisher/ConnectableFlux;I)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial reactor.core.publisher.Flux.<init>:()V
1: iload 2
ifgt 3
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "n > 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.FluxRefCount reactor.core.publisher.ConnectableFlux int
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.publisher.ConnectableFlux
putfield reactor.core.publisher.FluxRefCount.source:Lreactor/core/publisher/ConnectableFlux;
4: aload 0
iload 2
putfield reactor.core.publisher.FluxRefCount.n:I
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lreactor/core/publisher/FluxRefCount<TT;>;
0 6 1 source Lreactor/core/publisher/ConnectableFlux<+TT;>;
0 6 2 n I
Signature: (Lreactor/core/publisher/ConnectableFlux<+TT;>;I)V
MethodParameters:
Name Flags
source
n
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.FluxRefCount.source:Lreactor/core/publisher/ConnectableFlux;
invokevirtual reactor.core.publisher.ConnectableFlux.getPrefetch:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/core/publisher/FluxRefCount<TT;>;
public void subscribe(reactor.core.CoreSubscriber<? super T>);
descriptor: (Lreactor/core/CoreSubscriber;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: iconst_0
istore 3
start local 3 1: aload 0
dup
astore 4
monitorenter
2: aload 0
getfield reactor.core.publisher.FluxRefCount.connection:Lreactor/core/publisher/FluxRefCount$RefCountMonitor;
astore 2
start local 2 3: aload 2
ifnull 4
aload 2
getfield reactor.core.publisher.FluxRefCount$RefCountMonitor.terminated:Z
ifeq 6
4: StackMap locals: reactor.core.publisher.FluxRefCount$RefCountMonitor int reactor.core.publisher.FluxRefCount
StackMap stack:
new reactor.core.publisher.FluxRefCount$RefCountMonitor
dup
aload 0
invokespecial reactor.core.publisher.FluxRefCount$RefCountMonitor.<init>:(Lreactor/core/publisher/FluxRefCount;)V
astore 2
5: aload 0
aload 2
putfield reactor.core.publisher.FluxRefCount.connection:Lreactor/core/publisher/FluxRefCount$RefCountMonitor;
6: StackMap locals:
StackMap stack:
aload 2
getfield reactor.core.publisher.FluxRefCount$RefCountMonitor.subscribers:J
lstore 5
start local 5 7: aload 2
lload 5
lconst_1
ladd
putfield reactor.core.publisher.FluxRefCount$RefCountMonitor.subscribers:J
8: aload 2
getfield reactor.core.publisher.FluxRefCount$RefCountMonitor.connected:Z
ifne 11
lload 5
lconst_1
ladd
aload 0
getfield reactor.core.publisher.FluxRefCount.n:I
i2l
lcmp
ifne 11
9: iconst_1
istore 3
10: aload 2
iconst_1
putfield reactor.core.publisher.FluxRefCount$RefCountMonitor.connected:Z
end local 5 11: StackMap locals:
StackMap stack:
aload 4
monitorexit
12: goto 15
end local 2 StackMap locals: reactor.core.publisher.FluxRefCount reactor.core.CoreSubscriber top int reactor.core.publisher.FluxRefCount
StackMap stack: java.lang.Throwable
13: aload 4
monitorexit
14: athrow
start local 2 15: StackMap locals: reactor.core.publisher.FluxRefCount reactor.core.CoreSubscriber reactor.core.publisher.FluxRefCount$RefCountMonitor int
StackMap stack:
aload 0
getfield reactor.core.publisher.FluxRefCount.source:Lreactor/core/publisher/ConnectableFlux;
new reactor.core.publisher.FluxRefCount$RefCountInner
dup
aload 1
aload 2
invokespecial reactor.core.publisher.FluxRefCount$RefCountInner.<init>:(Lreactor/core/CoreSubscriber;Lreactor/core/publisher/FluxRefCount$RefCountMonitor;)V
invokevirtual reactor.core.publisher.ConnectableFlux.subscribe:(Lreactor/core/CoreSubscriber;)V
16: iload 3
ifeq 18
17: aload 0
getfield reactor.core.publisher.FluxRefCount.source:Lreactor/core/publisher/ConnectableFlux;
aload 2
invokevirtual reactor.core.publisher.ConnectableFlux.connect:(Ljava/util/function/Consumer;)V
18: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lreactor/core/publisher/FluxRefCount<TT;>;
0 19 1 actual Lreactor/core/CoreSubscriber<-TT;>;
3 13 2 conn Lreactor/core/publisher/FluxRefCount$RefCountMonitor<TT;>;
15 19 2 conn Lreactor/core/publisher/FluxRefCount$RefCountMonitor<TT;>;
1 19 3 connect Z
7 11 5 c J
Exception table:
from to target type
2 12 13 any
13 14 13 any
Signature: (Lreactor/core/CoreSubscriber<-TT;>;)V
MethodParameters:
Name Flags
actual
void cancel(reactor.core.publisher.FluxRefCount$RefCountMonitor);
descriptor: (Lreactor/core/publisher/FluxRefCount$RefCountMonitor;)V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
dup
astore 3
monitorenter
2: aload 1
getfield reactor.core.publisher.FluxRefCount$RefCountMonitor.terminated:Z
ifeq 5
3: aload 3
monitorexit
4: return
5: StackMap locals: reactor.core.Disposable reactor.core.publisher.FluxRefCount
StackMap stack:
aload 1
getfield reactor.core.publisher.FluxRefCount$RefCountMonitor.subscribers:J
lconst_1
lsub
lstore 4
start local 4 6: aload 1
lload 4
putfield reactor.core.publisher.FluxRefCount$RefCountMonitor.subscribers:J
7: lload 4
lconst_0
lcmp
ifne 8
aload 1
getfield reactor.core.publisher.FluxRefCount$RefCountMonitor.connected:Z
ifne 10
8: StackMap locals: long
StackMap stack:
aload 3
monitorexit
9: return
10: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield reactor.core.publisher.FluxRefCount.connection:Lreactor/core/publisher/FluxRefCount$RefCountMonitor;
if_acmpne 13
11: getstatic reactor.core.publisher.FluxRefCount$RefCountMonitor.DISCONNECT:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 1
invokestatic reactor.core.Disposables.disposed:()Lreactor/core/Disposable;
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.getAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast reactor.core.Disposable
astore 2
12: aload 0
aconst_null
putfield reactor.core.publisher.FluxRefCount.connection:Lreactor/core/publisher/FluxRefCount$RefCountMonitor;
end local 4 13: StackMap locals:
StackMap stack:
aload 3
monitorexit
14: goto 17
StackMap locals:
StackMap stack: java.lang.Throwable
15: aload 3
monitorexit
16: athrow
17: StackMap locals:
StackMap stack:
aload 2
ifnull 19
18: aload 2
invokeinterface reactor.core.Disposable.dispose:()V
19: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lreactor/core/publisher/FluxRefCount<TT;>;
0 20 1 rc Lreactor/core/publisher/FluxRefCount$RefCountMonitor;
1 20 2 dispose Lreactor/core/Disposable;
6 13 4 c J
Exception table:
from to target type
2 4 15 any
5 9 15 any
10 14 15 any
15 16 15 any
MethodParameters:
Name Flags
rc
void terminated(reactor.core.publisher.FluxRefCount$RefCountMonitor);
descriptor: (Lreactor/core/publisher/FluxRefCount$RefCountMonitor;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 1
getfield reactor.core.publisher.FluxRefCount$RefCountMonitor.terminated:Z
ifne 4
2: aload 1
iconst_1
putfield reactor.core.publisher.FluxRefCount$RefCountMonitor.terminated:Z
3: aload 0
aconst_null
putfield reactor.core.publisher.FluxRefCount.connection:Lreactor/core/publisher/FluxRefCount$RefCountMonitor;
4: StackMap locals: reactor.core.publisher.FluxRefCount
StackMap stack:
aload 2
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 2
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lreactor/core/publisher/FluxRefCount<TT;>;
0 9 1 rc Lreactor/core/publisher/FluxRefCount$RefCountMonitor;
Exception table:
from to target type
1 5 6 any
6 7 6 any
MethodParameters:
Name Flags
rc
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
aload 0
invokevirtual reactor.core.publisher.FluxRefCount.getPrefetch:()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.FluxRefCount.source:Lreactor/core/publisher/ConnectableFlux;
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/FluxRefCount<TT;>;
0 4 1 key Lreactor/core/Scannable$Attr;
RuntimeVisibleAnnotations:
reactor.util.annotation.Nullable()
MethodParameters:
Name Flags
key
}
Signature: <T:Ljava/lang/Object;>Lreactor/core/publisher/Flux<TT;>;Lreactor/core/Scannable;Lreactor/core/Fuseable;
SourceFile: "FluxRefCount.java"
NestMembers:
reactor.core.publisher.FluxRefCount$RefCountInner reactor.core.publisher.FluxRefCount$RefCountMonitor
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 RefCountInner = reactor.core.publisher.FluxRefCount$RefCountInner of reactor.core.publisher.FluxRefCount
final RefCountMonitor = reactor.core.publisher.FluxRefCount$RefCountMonitor of reactor.core.publisher.FluxRefCount