final class reactor.core.publisher.FluxRefCountGrace<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.FluxRefCountGrace
super_class: reactor.core.publisher.Flux
{
final reactor.core.publisher.ConnectableFlux<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
final java.time.Duration gracePeriod;
descriptor: Ljava/time/Duration;
flags: (0x0010) ACC_FINAL
final reactor.core.scheduler.Scheduler scheduler;
descriptor: Lreactor/core/scheduler/Scheduler;
flags: (0x0010) ACC_FINAL
reactor.core.publisher.FluxRefCountGrace$RefConnection connection;
descriptor: Lreactor/core/publisher/FluxRefCountGrace$RefConnection;
flags: (0x0000)
void <init>(reactor.core.publisher.ConnectableFlux<T>, int, java.time.Duration, reactor.core.scheduler.Scheduler);
descriptor: (Lreactor/core/publisher/ConnectableFlux;ILjava/time/Duration;Lreactor/core/scheduler/Scheduler;)V
flags: (0x0000)
Code:
stack=2, 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.Flux.<init>:()V
1: aload 0
aload 1
putfield reactor.core.publisher.FluxRefCountGrace.source:Lreactor/core/publisher/ConnectableFlux;
2: aload 0
iload 2
putfield reactor.core.publisher.FluxRefCountGrace.n:I
3: aload 0
aload 3
putfield reactor.core.publisher.FluxRefCountGrace.gracePeriod:Ljava/time/Duration;
4: aload 0
aload 4
putfield reactor.core.publisher.FluxRefCountGrace.scheduler:Lreactor/core/scheduler/Scheduler;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lreactor/core/publisher/FluxRefCountGrace<TT;>;
0 6 1 source Lreactor/core/publisher/ConnectableFlux<TT;>;
0 6 2 n I
0 6 3 gracePeriod Ljava/time/Duration;
0 6 4 scheduler Lreactor/core/scheduler/Scheduler;
Signature: (Lreactor/core/publisher/ConnectableFlux<TT;>;ILjava/time/Duration;Lreactor/core/scheduler/Scheduler;)V
MethodParameters:
Name Flags
source
n
gracePeriod
scheduler
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.FluxRefCountGrace.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/FluxRefCountGrace<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.PREFETCH:Lreactor/core/Scannable$Attr;
if_acmpne 1
aload 0
invokevirtual reactor.core.publisher.FluxRefCountGrace.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.FluxRefCountGrace.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/FluxRefCountGrace<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=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.FluxRefCountGrace.connection:Lreactor/core/publisher/FluxRefCountGrace$RefConnection;
astore 2
start local 2 3: aload 2
ifnull 4
aload 2
getfield reactor.core.publisher.FluxRefCountGrace$RefConnection.terminated:Z
ifeq 6
4: StackMap locals: reactor.core.publisher.FluxRefCountGrace$RefConnection int reactor.core.publisher.FluxRefCountGrace
StackMap stack:
new reactor.core.publisher.FluxRefCountGrace$RefConnection
dup
aload 0
invokespecial reactor.core.publisher.FluxRefCountGrace$RefConnection.<init>:(Lreactor/core/publisher/FluxRefCountGrace;)V
astore 2
5: aload 0
aload 2
putfield reactor.core.publisher.FluxRefCountGrace.connection:Lreactor/core/publisher/FluxRefCountGrace$RefConnection;
6: StackMap locals:
StackMap stack:
aload 2
getfield reactor.core.publisher.FluxRefCountGrace$RefConnection.subscriberCount:J
lstore 5
start local 5 7: lload 5
lconst_0
lcmp
ifne 9
aload 2
getfield reactor.core.publisher.FluxRefCountGrace$RefConnection.timer:Lreactor/core/Disposable;
ifnull 9
8: aload 2
getfield reactor.core.publisher.FluxRefCountGrace$RefConnection.timer:Lreactor/core/Disposable;
invokeinterface reactor.core.Disposable.dispose:()V
9: StackMap locals: long
StackMap stack:
aload 2
lload 5
lconst_1
ladd
putfield reactor.core.publisher.FluxRefCountGrace$RefConnection.subscriberCount:J
10: aload 2
getfield reactor.core.publisher.FluxRefCountGrace$RefConnection.connected:Z
ifne 13
lload 5
lconst_1
ladd
aload 0
getfield reactor.core.publisher.FluxRefCountGrace.n:I
i2l
lcmp
ifne 13
11: iconst_1
istore 3
12: aload 2
iconst_1
putfield reactor.core.publisher.FluxRefCountGrace$RefConnection.connected:Z
end local 5 13: StackMap locals:
StackMap stack:
aload 4
monitorexit
14: goto 17
end local 2 StackMap locals: reactor.core.publisher.FluxRefCountGrace reactor.core.CoreSubscriber top int reactor.core.publisher.FluxRefCountGrace
StackMap stack: java.lang.Throwable
15: aload 4
monitorexit
16: athrow
start local 2 17: StackMap locals: reactor.core.publisher.FluxRefCountGrace reactor.core.CoreSubscriber reactor.core.publisher.FluxRefCountGrace$RefConnection int
StackMap stack:
aload 0
getfield reactor.core.publisher.FluxRefCountGrace.source:Lreactor/core/publisher/ConnectableFlux;
new reactor.core.publisher.FluxRefCountGrace$RefCountInner
dup
aload 1
aload 0
aload 2
invokespecial reactor.core.publisher.FluxRefCountGrace$RefCountInner.<init>:(Lreactor/core/CoreSubscriber;Lreactor/core/publisher/FluxRefCountGrace;Lreactor/core/publisher/FluxRefCountGrace$RefConnection;)V
invokevirtual reactor.core.publisher.ConnectableFlux.subscribe:(Lreactor/core/CoreSubscriber;)V
18: iload 3
ifeq 20
19: aload 0
getfield reactor.core.publisher.FluxRefCountGrace.source:Lreactor/core/publisher/ConnectableFlux;
aload 2
invokevirtual reactor.core.publisher.ConnectableFlux.connect:(Ljava/util/function/Consumer;)V
20: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lreactor/core/publisher/FluxRefCountGrace<TT;>;
0 21 1 actual Lreactor/core/CoreSubscriber<-TT;>;
3 15 2 conn Lreactor/core/publisher/FluxRefCountGrace$RefConnection;
17 21 2 conn Lreactor/core/publisher/FluxRefCountGrace$RefConnection;
1 21 3 connect Z
7 13 5 c J
Exception table:
from to target type
2 14 15 any
15 16 15 any
Signature: (Lreactor/core/CoreSubscriber<-TT;>;)V
MethodParameters:
Name Flags
actual
void cancel(reactor.core.publisher.FluxRefCountGrace$RefConnection);
descriptor: (Lreactor/core/publisher/FluxRefCountGrace$RefConnection;)V
flags: (0x0000)
Code:
stack=6, locals=8, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aconst_null
astore 3
start local 3 2: aconst_null
astore 4
start local 4 3: aload 0
dup
astore 5
monitorenter
4: aload 1
getfield reactor.core.publisher.FluxRefCountGrace$RefConnection.terminated:Z
ifeq 7
5: aload 5
monitorexit
6: return
7: StackMap locals: reactor.core.publisher.FluxRefCountGrace reactor.core.publisher.FluxRefCountGrace$RefConnection int reactor.core.Disposable reactor.core.Disposable$Swap reactor.core.publisher.FluxRefCountGrace
StackMap stack:
aload 1
getfield reactor.core.publisher.FluxRefCountGrace$RefConnection.subscriberCount:J
lconst_1
lsub
lstore 6
start local 6 8: aload 1
lload 6
putfield reactor.core.publisher.FluxRefCountGrace$RefConnection.subscriberCount:J
9: lload 6
lconst_0
lcmp
ifne 10
aload 1
getfield reactor.core.publisher.FluxRefCountGrace$RefConnection.connected:Z
ifne 12
10: StackMap locals: long
StackMap stack:
aload 5
monitorexit
11: return
12: StackMap locals:
StackMap stack:
aload 0
getfield reactor.core.publisher.FluxRefCountGrace.gracePeriod:Ljava/time/Duration;
invokevirtual java.time.Duration.isZero:()Z
ifne 17
13: invokestatic reactor.core.Disposables.swap:()Lreactor/core/Disposable$Swap;
astore 4
14: aload 1
aload 4
putfield reactor.core.publisher.FluxRefCountGrace$RefConnection.timer:Lreactor/core/Disposable;
15: iconst_1
istore 2
16: goto 20
17: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield reactor.core.publisher.FluxRefCountGrace.connection:Lreactor/core/publisher/FluxRefCountGrace$RefConnection;
if_acmpne 20
18: aload 0
aconst_null
putfield reactor.core.publisher.FluxRefCountGrace.connection:Lreactor/core/publisher/FluxRefCountGrace$RefConnection;
19: getstatic reactor.core.publisher.FluxRefCountGrace$RefConnection.SOURCE_DISCONNECTOR: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 3
end local 6 20: StackMap locals:
StackMap stack:
aload 5
monitorexit
21: goto 24
StackMap locals:
StackMap stack: java.lang.Throwable
22: aload 5
monitorexit
23: athrow
24: StackMap locals:
StackMap stack:
iload 2
ifeq 27
25: aload 4
aload 0
getfield reactor.core.publisher.FluxRefCountGrace.scheduler:Lreactor/core/scheduler/Scheduler;
aload 1
aload 0
getfield reactor.core.publisher.FluxRefCountGrace.gracePeriod:Ljava/time/Duration;
invokevirtual java.time.Duration.toNanos:()J
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokeinterface reactor.core.scheduler.Scheduler.schedule:(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Lreactor/core/Disposable;
invokeinterface reactor.core.Disposable$Swap.replace:(Lreactor/core/Disposable;)Z
pop
26: goto 29
StackMap locals:
StackMap stack:
27: aload 3
ifnull 29
28: aload 3
invokeinterface reactor.core.Disposable.dispose:()V
29: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lreactor/core/publisher/FluxRefCountGrace<TT;>;
0 30 1 rc Lreactor/core/publisher/FluxRefCountGrace$RefConnection;
1 30 2 replaceTimer Z
2 30 3 dispose Lreactor/core/Disposable;
3 30 4 sd Lreactor/core/Disposable$Swap;
8 20 6 c J
Exception table:
from to target type
4 6 22 any
7 11 22 any
12 21 22 any
22 23 22 any
MethodParameters:
Name Flags
rc
void terminated(reactor.core.publisher.FluxRefCountGrace$RefConnection);
descriptor: (Lreactor/core/publisher/FluxRefCountGrace$RefConnection;)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.FluxRefCountGrace$RefConnection.terminated:Z
ifne 4
2: aload 1
iconst_1
putfield reactor.core.publisher.FluxRefCountGrace$RefConnection.terminated:Z
3: aload 0
aconst_null
putfield reactor.core.publisher.FluxRefCountGrace.connection:Lreactor/core/publisher/FluxRefCountGrace$RefConnection;
4: StackMap locals: reactor.core.publisher.FluxRefCountGrace
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/FluxRefCountGrace<TT;>;
0 9 1 rc Lreactor/core/publisher/FluxRefCountGrace$RefConnection;
Exception table:
from to target type
1 5 6 any
6 7 6 any
MethodParameters:
Name Flags
rc
void timeout(reactor.core.publisher.FluxRefCountGrace$RefConnection);
descriptor: (Lreactor/core/publisher/FluxRefCountGrace$RefConnection;)V
flags: (0x0000)
Code:
stack=4, locals=4, 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.FluxRefCountGrace$RefConnection.subscriberCount:J
lconst_0
lcmp
ifne 5
aload 1
aload 0
getfield reactor.core.publisher.FluxRefCountGrace.connection:Lreactor/core/publisher/FluxRefCountGrace$RefConnection;
if_acmpne 5
3: aload 0
aconst_null
putfield reactor.core.publisher.FluxRefCountGrace.connection:Lreactor/core/publisher/FluxRefCountGrace$RefConnection;
4: getstatic reactor.core.publisher.FluxRefCountGrace$RefConnection.SOURCE_DISCONNECTOR: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
5: StackMap locals: reactor.core.Disposable reactor.core.publisher.FluxRefCountGrace
StackMap stack:
aload 3
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 3
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
aload 2
ifnull 11
10: aload 2
invokeinterface reactor.core.Disposable.dispose:()V
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lreactor/core/publisher/FluxRefCountGrace<TT;>;
0 12 1 rc Lreactor/core/publisher/FluxRefCountGrace$RefConnection;
1 12 2 dispose Lreactor/core/Disposable;
Exception table:
from to target type
2 6 7 any
7 8 7 any
MethodParameters:
Name Flags
rc
}
Signature: <T:Ljava/lang/Object;>Lreactor/core/publisher/Flux<TT;>;Lreactor/core/Scannable;Lreactor/core/Fuseable;
SourceFile: "FluxRefCountGrace.java"
NestMembers:
reactor.core.publisher.FluxRefCountGrace$RefConnection reactor.core.publisher.FluxRefCountGrace$RefCountInner
InnerClasses:
public abstract Swap = reactor.core.Disposable$Swap of reactor.core.Disposable
public Attr = reactor.core.Scannable$Attr of reactor.core.Scannable
public final RunStyle = reactor.core.Scannable$Attr$RunStyle of reactor.core.Scannable$Attr
final RefConnection = reactor.core.publisher.FluxRefCountGrace$RefConnection of reactor.core.publisher.FluxRefCountGrace
final RefCountInner = reactor.core.publisher.FluxRefCountGrace$RefCountInner of reactor.core.publisher.FluxRefCountGrace