final class reactor.core.publisher.FluxCreate$LatestAsyncSink<T> extends reactor.core.publisher.FluxCreate$BaseSink<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: reactor.core.publisher.FluxCreate$LatestAsyncSink
super_class: reactor.core.publisher.FluxCreate$BaseSink
{
final java.util.concurrent.atomic.AtomicReference<T> queue;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<TT;>;
java.lang.Throwable error;
descriptor: Ljava/lang/Throwable;
flags: (0x0000)
volatile boolean done;
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.FluxCreate$LatestAsyncSink> WIP;
descriptor: Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater<Lreactor/core/publisher/FluxCreate$LatestAsyncSink;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lreactor/core/publisher/FluxCreate$LatestAsyncSink;
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.FluxCreate$LatestAsyncSink.WIP:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
2: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(reactor.core.CoreSubscriber<? super T>);
descriptor: (Lreactor/core/CoreSubscriber;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial reactor.core.publisher.FluxCreate$BaseSink.<init>:(Lreactor/core/CoreSubscriber;)V
1: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield reactor.core.publisher.FluxCreate$LatestAsyncSink.queue:Ljava/util/concurrent/atomic/AtomicReference;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lreactor/core/publisher/FluxCreate$LatestAsyncSink<TT;>;
0 3 1 actual Lreactor/core/CoreSubscriber<-TT;>;
Signature: (Lreactor/core/CoreSubscriber<-TT;>;)V
MethodParameters:
Name Flags
actual
public reactor.core.publisher.FluxSink<T> next(T);
descriptor: (Ljava/lang/Object;)Lreactor/core/publisher/FluxSink;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield reactor.core.publisher.FluxCreate$LatestAsyncSink.queue:Ljava/util/concurrent/atomic/AtomicReference;
aload 1
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
aload 0
getfield reactor.core.publisher.FluxCreate$LatestAsyncSink.ctx:Lreactor/util/context/Context;
invokestatic reactor.core.publisher.Operators.onDiscard:(Ljava/lang/Object;Lreactor/util/context/Context;)V
2: aload 0
invokevirtual reactor.core.publisher.FluxCreate$LatestAsyncSink.drain:()V
3: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lreactor/core/publisher/FluxCreate$LatestAsyncSink<TT;>;
0 4 1 t TT;
1 4 2 old TT;
Signature: (TT;)Lreactor/core/publisher/FluxSink<TT;>;
MethodParameters:
Name Flags
t
public void error(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
aload 1
putfield reactor.core.publisher.FluxCreate$LatestAsyncSink.error:Ljava/lang/Throwable;
1: aload 0
iconst_1
putfield reactor.core.publisher.FluxCreate$LatestAsyncSink.done:Z
2: aload 0
invokevirtual reactor.core.publisher.FluxCreate$LatestAsyncSink.drain:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lreactor/core/publisher/FluxCreate$LatestAsyncSink<TT;>;
0 4 1 e Ljava/lang/Throwable;
MethodParameters:
Name Flags
e
public void complete();
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.FluxCreate$LatestAsyncSink.done:Z
1: aload 0
invokevirtual reactor.core.publisher.FluxCreate$LatestAsyncSink.drain:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lreactor/core/publisher/FluxCreate$LatestAsyncSink<TT;>;
void onRequestedFromDownstream();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual reactor.core.publisher.FluxCreate$LatestAsyncSink.drain:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lreactor/core/publisher/FluxCreate$LatestAsyncSink<TT;>;
void onCancel();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual reactor.core.publisher.FluxCreate$LatestAsyncSink.drain:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lreactor/core/publisher/FluxCreate$LatestAsyncSink<TT;>;
void drain();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=11, args_size=1
start local 0 0: getstatic reactor.core.publisher.FluxCreate$LatestAsyncSink.WIP:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.getAndIncrement:(Ljava/lang/Object;)I
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield reactor.core.publisher.FluxCreate$LatestAsyncSink.actual:Lreactor/core/CoreSubscriber;
astore 1
start local 1 3: aload 0
getfield reactor.core.publisher.FluxCreate$LatestAsyncSink.queue:Ljava/util/concurrent/atomic/AtomicReference;
astore 2
start local 2 4: StackMap locals: org.reactivestreams.Subscriber java.util.concurrent.atomic.AtomicReference
StackMap stack:
aload 0
getfield reactor.core.publisher.FluxCreate$LatestAsyncSink.requested:J
lstore 3
start local 3 5: lconst_0
lstore 5
start local 5 6: goto 29
7: StackMap locals: long long
StackMap stack:
aload 0
invokevirtual reactor.core.publisher.FluxCreate$LatestAsyncSink.isCancelled:()Z
ifeq 13
8: aload 2
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
astore 7
start local 7 9: aload 7
aload 0
getfield reactor.core.publisher.FluxCreate$LatestAsyncSink.ctx:Lreactor/util/context/Context;
invokestatic reactor.core.publisher.Operators.onDiscard:(Ljava/lang/Object;Lreactor/util/context/Context;)V
10: getstatic reactor.core.publisher.FluxCreate$LatestAsyncSink.WIP:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.decrementAndGet:(Ljava/lang/Object;)I
ifeq 12
11: goto 29
12: StackMap locals: java.lang.Object
StackMap stack:
return
end local 7 13: StackMap locals:
StackMap stack:
aload 0
getfield reactor.core.publisher.FluxCreate$LatestAsyncSink.done:Z
istore 7
start local 7 14: aload 2
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
astore 8
start local 8 15: aload 8
ifnonnull 16
iconst_1
goto 17
StackMap locals: int java.lang.Object
StackMap stack:
16: iconst_0
StackMap locals:
StackMap stack: int
17: istore 9
start local 9 18: iload 7
ifeq 25
iload 9
ifeq 25
19: aload 0
getfield reactor.core.publisher.FluxCreate$LatestAsyncSink.error:Ljava/lang/Throwable;
astore 10
start local 10 20: aload 10
ifnull 23
21: aload 0
aload 10
invokespecial reactor.core.publisher.FluxCreate$BaseSink.error:(Ljava/lang/Throwable;)V
22: goto 24
23: StackMap locals: int java.lang.Throwable
StackMap stack:
aload 0
invokespecial reactor.core.publisher.FluxCreate$BaseSink.complete:()V
24: StackMap locals:
StackMap stack:
return
end local 10 25: StackMap locals:
StackMap stack:
iload 9
ifeq 27
26: goto 30
27: StackMap locals:
StackMap stack:
aload 1
aload 8
invokeinterface org.reactivestreams.Subscriber.onNext:(Ljava/lang/Object;)V
28: lload 5
lconst_1
ladd
lstore 5
end local 9 end local 8 end local 7 29: StackMap locals:
StackMap stack:
lload 5
lload 3
lcmp
ifne 7
30: StackMap locals:
StackMap stack:
lload 5
lload 3
lcmp
ifne 48
31: aload 0
invokevirtual reactor.core.publisher.FluxCreate$LatestAsyncSink.isCancelled:()Z
ifeq 37
32: aload 2
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
astore 7
start local 7 33: aload 7
aload 0
getfield reactor.core.publisher.FluxCreate$LatestAsyncSink.ctx:Lreactor/util/context/Context;
invokestatic reactor.core.publisher.Operators.onDiscard:(Ljava/lang/Object;Lreactor/util/context/Context;)V
34: getstatic reactor.core.publisher.FluxCreate$LatestAsyncSink.WIP:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.decrementAndGet:(Ljava/lang/Object;)I
ifeq 36
35: goto 4
36: StackMap locals: java.lang.Object
StackMap stack:
return
end local 7 37: StackMap locals:
StackMap stack:
aload 0
getfield reactor.core.publisher.FluxCreate$LatestAsyncSink.done:Z
istore 7
start local 7 38: aload 2
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
ifnonnull 39
iconst_1
goto 40
StackMap locals: int
StackMap stack:
39: iconst_0
StackMap locals:
StackMap stack: int
40: istore 8
start local 8 41: iload 7
ifeq 48
iload 8
ifeq 48
42: aload 0
getfield reactor.core.publisher.FluxCreate$LatestAsyncSink.error:Ljava/lang/Throwable;
astore 9
start local 9 43: aload 9
ifnull 46
44: aload 0
aload 9
invokespecial reactor.core.publisher.FluxCreate$BaseSink.error:(Ljava/lang/Throwable;)V
45: goto 47
46: StackMap locals: int java.lang.Throwable
StackMap stack:
aload 0
invokespecial reactor.core.publisher.FluxCreate$BaseSink.complete:()V
47: StackMap locals:
StackMap stack:
return
end local 9 end local 8 end local 7 48: StackMap locals:
StackMap stack:
lload 5
lconst_0
lcmp
ifeq 50
49: getstatic reactor.core.publisher.FluxCreate$LatestAsyncSink.REQUESTED:Ljava/util/concurrent/atomic/AtomicLongFieldUpdater;
aload 0
lload 5
invokestatic reactor.core.publisher.Operators.produced:(Ljava/util/concurrent/atomic/AtomicLongFieldUpdater;Ljava/lang/Object;J)J
pop2
50: StackMap locals:
StackMap stack:
getstatic reactor.core.publisher.FluxCreate$LatestAsyncSink.WIP:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.decrementAndGet:(Ljava/lang/Object;)I
ifne 4
end local 5 end local 3 51: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 52 0 this Lreactor/core/publisher/FluxCreate$LatestAsyncSink<TT;>;
3 52 1 a Lorg/reactivestreams/Subscriber<-TT;>;
4 52 2 q Ljava/util/concurrent/atomic/AtomicReference<TT;>;
5 51 3 r J
6 51 5 e J
9 13 7 old TT;
14 29 7 d Z
15 29 8 o TT;
18 29 9 empty Z
20 25 10 ex Ljava/lang/Throwable;
33 37 7 old TT;
38 48 7 d Z
41 48 8 empty Z
43 48 9 ex Ljava/lang/Throwable;
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 4
1: aload 0
getfield reactor.core.publisher.FluxCreate$LatestAsyncSink.queue:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
ifnonnull 2
iconst_0
goto 3
StackMap locals:
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
4: StackMap locals:
StackMap stack:
aload 1
getstatic reactor.core.Scannable$Attr.TERMINATED:Lreactor/core/Scannable$Attr;
if_acmpne 6
5: aload 0
getfield reactor.core.publisher.FluxCreate$LatestAsyncSink.done:Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
6: StackMap locals:
StackMap stack:
aload 1
getstatic reactor.core.Scannable$Attr.ERROR:Lreactor/core/Scannable$Attr;
if_acmpne 8
7: aload 0
getfield reactor.core.publisher.FluxCreate$LatestAsyncSink.error:Ljava/lang/Throwable;
areturn
8: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial reactor.core.publisher.FluxCreate$BaseSink.scanUnsafe:(Lreactor/core/Scannable$Attr;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lreactor/core/publisher/FluxCreate$LatestAsyncSink<TT;>;
0 9 1 key Lreactor/core/Scannable$Attr;
RuntimeVisibleAnnotations:
reactor.util.annotation.Nullable()
MethodParameters:
Name Flags
key
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "FluxSink("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic reactor.core.publisher.FluxSink$OverflowStrategy.LATEST:Lreactor/core/publisher/FluxSink$OverflowStrategy;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/core/publisher/FluxCreate$LatestAsyncSink<TT;>;
}
Signature: <T:Ljava/lang/Object;>Lreactor/core/publisher/FluxCreate$BaseSink<TT;>;
SourceFile: "FluxCreate.java"
NestHost: reactor.core.publisher.FluxCreate
InnerClasses:
public Attr = reactor.core.Scannable$Attr of reactor.core.Scannable
abstract BaseSink = reactor.core.publisher.FluxCreate$BaseSink of reactor.core.publisher.FluxCreate
final LatestAsyncSink = reactor.core.publisher.FluxCreate$LatestAsyncSink of reactor.core.publisher.FluxCreate
public final OverflowStrategy = reactor.core.publisher.FluxSink$OverflowStrategy of reactor.core.publisher.FluxSink