final class reactor.core.publisher.MonoCreate$DefaultMonoSink<T> extends java.util.concurrent.atomic.AtomicBoolean implements reactor.core.publisher.MonoSink<T>, reactor.core.publisher.InnerProducer<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: reactor.core.publisher.MonoCreate$DefaultMonoSink
super_class: java.util.concurrent.atomic.AtomicBoolean
{
final reactor.core.CoreSubscriber<? super T> actual;
descriptor: Lreactor/core/CoreSubscriber;
flags: (0x0010) ACC_FINAL
Signature: Lreactor/core/CoreSubscriber<-TT;>;
volatile reactor.core.Disposable disposable;
descriptor: Lreactor/core/Disposable;
flags: (0x0040) ACC_VOLATILE
static final java.util.concurrent.atomic.AtomicReferenceFieldUpdater<reactor.core.publisher.MonoCreate$DefaultMonoSink, reactor.core.Disposable> DISPOSABLE;
descriptor: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<Lreactor/core/publisher/MonoCreate$DefaultMonoSink;Lreactor/core/Disposable;>;
volatile int state;
descriptor: I
flags: (0x0040) ACC_VOLATILE
static final java.util.concurrent.atomic.AtomicIntegerFieldUpdater<reactor.core.publisher.MonoCreate$DefaultMonoSink> STATE;
descriptor: Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater<Lreactor/core/publisher/MonoCreate$DefaultMonoSink;>;
volatile java.util.function.LongConsumer requestConsumer;
descriptor: Ljava/util/function/LongConsumer;
flags: (0x0040) ACC_VOLATILE
static final java.util.concurrent.atomic.AtomicReferenceFieldUpdater<reactor.core.publisher.MonoCreate$DefaultMonoSink, java.util.function.LongConsumer> REQUEST_CONSUMER;
descriptor: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<Lreactor/core/publisher/MonoCreate$DefaultMonoSink;Ljava/util/function/LongConsumer;>;
T value;
descriptor: Ljava/lang/Object;
flags: (0x0000)
Signature: TT;
static final int NO_REQUEST_HAS_VALUE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int HAS_REQUEST_NO_VALUE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int HAS_REQUEST_HAS_VALUE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 3
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc Lreactor/core/publisher/MonoCreate$DefaultMonoSink;
1: ldc Lreactor/core/Disposable;
2: ldc "disposable"
3: invokestatic java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
4: putstatic reactor.core.publisher.MonoCreate$DefaultMonoSink.DISPOSABLE:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
5: ldc Lreactor/core/publisher/MonoCreate$DefaultMonoSink;
ldc "state"
invokestatic java.util.concurrent.atomic.AtomicIntegerFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
6: putstatic reactor.core.publisher.MonoCreate$DefaultMonoSink.STATE:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
7: ldc Lreactor/core/publisher/MonoCreate$DefaultMonoSink;
8: ldc Ljava/util/function/LongConsumer;
9: ldc "requestConsumer"
10: invokestatic java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
11: putstatic reactor.core.publisher.MonoCreate$DefaultMonoSink.REQUEST_CONSUMER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
12: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(reactor.core.CoreSubscriber<? super T>);
descriptor: (Lreactor/core/CoreSubscriber;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
1: aload 0
aload 1
putfield reactor.core.publisher.MonoCreate$DefaultMonoSink.actual:Lreactor/core/CoreSubscriber;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lreactor/core/publisher/MonoCreate$DefaultMonoSink<TT;>;
0 3 1 actual Lreactor/core/CoreSubscriber<-TT;>;
Signature: (Lreactor/core/CoreSubscriber<-TT;>;)V
MethodParameters:
Name Flags
actual
public reactor.util.context.Context currentContext();
descriptor: ()Lreactor/util/context/Context;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.actual:Lreactor/core/CoreSubscriber;
invokeinterface reactor.core.CoreSubscriber.currentContext:()Lreactor/util/context/Context;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/core/publisher/MonoCreate$DefaultMonoSink<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 3
1: aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.state:I
iconst_3
if_icmpeq 2
aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.state:I
iconst_1
if_icmpeq 2
aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.disposable:Lreactor/core/Disposable;
getstatic reactor.core.publisher.MonoCreate.TERMINATED:Lreactor/core/Disposable;
if_acmpeq 2
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
StackMap locals:
StackMap stack:
2: iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
3: StackMap locals:
StackMap stack:
aload 1
getstatic reactor.core.Scannable$Attr.CANCELLED:Lreactor/core/Scannable$Attr;
if_acmpne 6
4: aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.disposable:Lreactor/core/Disposable;
getstatic reactor.core.publisher.MonoCreate.CANCELLED:Lreactor/core/Disposable;
if_acmpne 5
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
StackMap locals:
StackMap stack:
5: iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
6: StackMap locals:
StackMap stack:
aload 1
getstatic reactor.core.Scannable$Attr.RUN_STYLE:Lreactor/core/Scannable$Attr;
if_acmpne 8
7: getstatic reactor.core.Scannable$Attr$RunStyle.ASYNC:Lreactor/core/Scannable$Attr$RunStyle;
areturn
8: 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 9 0 this Lreactor/core/publisher/MonoCreate$DefaultMonoSink<TT;>;
0 9 1 key Lreactor/core/Scannable$Attr;
RuntimeVisibleAnnotations:
reactor.util.annotation.Nullable()
MethodParameters:
Name Flags
key
public void success();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual reactor.core.publisher.MonoCreate$DefaultMonoSink.isDisposed:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
getstatic reactor.core.publisher.MonoCreate$DefaultMonoSink.STATE:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
iconst_3
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.getAndSet:(Ljava/lang/Object;I)I
iconst_3
if_icmpeq 9
3: aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.actual:Lreactor/core/CoreSubscriber;
invokeinterface reactor.core.CoreSubscriber.onComplete:()V
4: goto 8
5: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
6: aload 0
iconst_0
invokevirtual reactor.core.publisher.MonoCreate$DefaultMonoSink.disposeResource:(Z)V
7: aload 1
athrow
8: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual reactor.core.publisher.MonoCreate$DefaultMonoSink.disposeResource:(Z)V
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lreactor/core/publisher/MonoCreate$DefaultMonoSink<TT;>;
Exception table:
from to target type
3 5 5 any
public void success();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: aload 0
invokevirtual reactor.core.publisher.MonoCreate$DefaultMonoSink.success:()V
2: return
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual reactor.core.publisher.MonoCreate$DefaultMonoSink.isDisposed:()Z
ifeq 6
4: aload 1
aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.actual:Lreactor/core/CoreSubscriber;
invokeinterface reactor.core.CoreSubscriber.currentContext:()Lreactor/util/context/Context;
invokestatic reactor.core.publisher.Operators.onNextDropped:(Ljava/lang/Object;Lreactor/util/context/Context;)V
5: return
6: StackMap locals:
StackMap stack:
aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.state:I
istore 2
start local 2 7: iload 2
iconst_3
if_icmpeq 8
iload 2
iconst_1
if_icmpne 10
8: StackMap locals: int
StackMap stack:
aload 1
aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.actual:Lreactor/core/CoreSubscriber;
invokeinterface reactor.core.CoreSubscriber.currentContext:()Lreactor/util/context/Context;
invokestatic reactor.core.publisher.Operators.onNextDropped:(Ljava/lang/Object;Lreactor/util/context/Context;)V
9: return
10: StackMap locals:
StackMap stack:
iload 2
iconst_2
if_icmpne 25
11: getstatic reactor.core.publisher.MonoCreate$DefaultMonoSink.STATE:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
iload 2
iconst_3
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.compareAndSet:(Ljava/lang/Object;II)Z
ifeq 23
12: aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.actual:Lreactor/core/CoreSubscriber;
aload 1
invokeinterface reactor.core.CoreSubscriber.onNext:(Ljava/lang/Object;)V
13: aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.actual:Lreactor/core/CoreSubscriber;
invokeinterface reactor.core.CoreSubscriber.onComplete:()V
14: goto 21
15: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
start local 3 16: aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.actual:Lreactor/core/CoreSubscriber;
aload 3
invokeinterface reactor.core.CoreSubscriber.onError:(Ljava/lang/Throwable;)V
end local 3 17: aload 0
iconst_0
invokevirtual reactor.core.publisher.MonoCreate$DefaultMonoSink.disposeResource:(Z)V
goto 24
18: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
19: aload 0
iconst_0
invokevirtual reactor.core.publisher.MonoCreate$DefaultMonoSink.disposeResource:(Z)V
20: aload 4
athrow
21: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual reactor.core.publisher.MonoCreate$DefaultMonoSink.disposeResource:(Z)V
22: goto 24
23: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.actual:Lreactor/core/CoreSubscriber;
invokeinterface reactor.core.CoreSubscriber.currentContext:()Lreactor/util/context/Context;
invokestatic reactor.core.publisher.Operators.onNextDropped:(Ljava/lang/Object;Lreactor/util/context/Context;)V
24: StackMap locals:
StackMap stack:
return
25: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield reactor.core.publisher.MonoCreate$DefaultMonoSink.value:Ljava/lang/Object;
26: getstatic reactor.core.publisher.MonoCreate$DefaultMonoSink.STATE:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
iload 2
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.compareAndSet:(Ljava/lang/Object;II)Z
ifeq 6
27: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lreactor/core/publisher/MonoCreate$DefaultMonoSink<TT;>;
0 28 1 value TT;
7 28 2 s I
16 17 3 t Ljava/lang/Throwable;
Exception table:
from to target type
12 14 15 Class java.lang.Throwable
12 17 18 any
Signature: (TT;)V
RuntimeVisibleParameterAnnotations:
0:
reactor.util.annotation.Nullable()
MethodParameters:
Name Flags
value
public void error(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual reactor.core.publisher.MonoCreate$DefaultMonoSink.isDisposed:()Z
ifeq 3
1: aload 1
aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.actual:Lreactor/core/CoreSubscriber;
invokeinterface reactor.core.CoreSubscriber.currentContext:()Lreactor/util/context/Context;
invokestatic reactor.core.publisher.Operators.onOperatorError:(Ljava/lang/Throwable;Lreactor/util/context/Context;)Ljava/lang/Throwable;
pop
2: return
3: StackMap locals:
StackMap stack:
getstatic reactor.core.publisher.MonoCreate$DefaultMonoSink.STATE:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
iconst_3
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.getAndSet:(Ljava/lang/Object;I)I
iconst_3
if_icmpeq 11
4: aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.actual:Lreactor/core/CoreSubscriber;
aload 1
invokeinterface reactor.core.CoreSubscriber.onError:(Ljava/lang/Throwable;)V
5: goto 9
6: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
7: aload 0
iconst_0
invokevirtual reactor.core.publisher.MonoCreate$DefaultMonoSink.disposeResource:(Z)V
8: aload 2
athrow
9: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual reactor.core.publisher.MonoCreate$DefaultMonoSink.disposeResource:(Z)V
10: goto 12
11: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.actual:Lreactor/core/CoreSubscriber;
invokeinterface reactor.core.CoreSubscriber.currentContext:()Lreactor/util/context/Context;
invokestatic reactor.core.publisher.Operators.onOperatorError:(Ljava/lang/Throwable;Lreactor/util/context/Context;)Ljava/lang/Throwable;
pop
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lreactor/core/publisher/MonoCreate$DefaultMonoSink<TT;>;
0 13 1 e Ljava/lang/Throwable;
Exception table:
from to target type
4 6 6 any
MethodParameters:
Name Flags
e
public reactor.core.publisher.MonoSink<T> onRequest(java.util.function.LongConsumer);
descriptor: (Ljava/util/function/LongConsumer;)Lreactor/core/publisher/MonoSink;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "onRequest"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: getstatic reactor.core.publisher.MonoCreate$DefaultMonoSink.REQUEST_CONSUMER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aconst_null
aload 1
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 5
2: new java.lang.IllegalStateException
dup
3: ldc "A consumer has already been assigned to consume requests"
4: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.state:I
istore 2
start local 2 6: iload 2
iconst_2
if_icmpeq 7
iload 2
iconst_3
if_icmpne 8
7: StackMap locals: int
StackMap stack:
aload 1
ldc 9223372036854775807
invokeinterface java.util.function.LongConsumer.accept:(J)V
8: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lreactor/core/publisher/MonoCreate$DefaultMonoSink<TT;>;
0 9 1 consumer Ljava/util/function/LongConsumer;
6 9 2 s I
Signature: (Ljava/util/function/LongConsumer;)Lreactor/core/publisher/MonoSink<TT;>;
MethodParameters:
Name Flags
consumer
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.MonoCreate$DefaultMonoSink.actual:Lreactor/core/CoreSubscriber;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/core/publisher/MonoCreate$DefaultMonoSink<TT;>;
Signature: ()Lreactor/core/CoreSubscriber<-TT;>;
public reactor.core.publisher.MonoSink<T> onCancel(reactor.core.Disposable);
descriptor: (Lreactor/core/Disposable;)Lreactor/core/publisher/MonoSink;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ldc "onCancel"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: new reactor.core.publisher.FluxCreate$SinkDisposable
dup
aconst_null
aload 1
invokespecial reactor.core.publisher.FluxCreate$SinkDisposable.<init>:(Lreactor/core/Disposable;Lreactor/core/Disposable;)V
astore 2
start local 2 2: getstatic reactor.core.publisher.MonoCreate$DefaultMonoSink.DISPOSABLE:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aconst_null
aload 2
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 13
3: aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.disposable:Lreactor/core/Disposable;
astore 3
start local 3 4: aload 3
getstatic reactor.core.publisher.MonoCreate.CANCELLED:Lreactor/core/Disposable;
if_acmpne 7
5: aload 1
invokeinterface reactor.core.Disposable.dispose:()V
6: goto 13
7: StackMap locals: reactor.core.publisher.FluxCreate$SinkDisposable reactor.core.Disposable
StackMap stack:
aload 3
instanceof reactor.core.publisher.FluxCreate$SinkDisposable
ifeq 13
8: aload 3
checkcast reactor.core.publisher.FluxCreate$SinkDisposable
astore 4
start local 4 9: aload 4
getfield reactor.core.publisher.FluxCreate$SinkDisposable.onCancel:Lreactor/core/Disposable;
ifnonnull 12
10: aload 4
aload 1
putfield reactor.core.publisher.FluxCreate$SinkDisposable.onCancel:Lreactor/core/Disposable;
11: goto 13
12: StackMap locals: reactor.core.publisher.FluxCreate$SinkDisposable
StackMap stack:
aload 1
invokeinterface reactor.core.Disposable.dispose:()V
end local 4 end local 3 13: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lreactor/core/publisher/MonoCreate$DefaultMonoSink<TT;>;
0 14 1 d Lreactor/core/Disposable;
2 14 2 sd Lreactor/core/publisher/FluxCreate$SinkDisposable;
4 13 3 c Lreactor/core/Disposable;
9 13 4 current Lreactor/core/publisher/FluxCreate$SinkDisposable;
Signature: (Lreactor/core/Disposable;)Lreactor/core/publisher/MonoSink<TT;>;
MethodParameters:
Name Flags
d
public reactor.core.publisher.MonoSink<T> onDispose(reactor.core.Disposable);
descriptor: (Lreactor/core/Disposable;)Lreactor/core/publisher/MonoSink;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ldc "onDispose"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: new reactor.core.publisher.FluxCreate$SinkDisposable
dup
aload 1
aconst_null
invokespecial reactor.core.publisher.FluxCreate$SinkDisposable.<init>:(Lreactor/core/Disposable;Lreactor/core/Disposable;)V
astore 2
start local 2 2: getstatic reactor.core.publisher.MonoCreate$DefaultMonoSink.DISPOSABLE:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aconst_null
aload 2
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 13
3: aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.disposable:Lreactor/core/Disposable;
astore 3
start local 3 4: aload 0
invokevirtual reactor.core.publisher.MonoCreate$DefaultMonoSink.isDisposed:()Z
ifeq 7
5: aload 1
invokeinterface reactor.core.Disposable.dispose:()V
6: goto 13
7: StackMap locals: reactor.core.publisher.FluxCreate$SinkDisposable reactor.core.Disposable
StackMap stack:
aload 3
instanceof reactor.core.publisher.FluxCreate$SinkDisposable
ifeq 13
8: aload 3
checkcast reactor.core.publisher.FluxCreate$SinkDisposable
astore 4
start local 4 9: aload 4
getfield reactor.core.publisher.FluxCreate$SinkDisposable.disposable:Lreactor/core/Disposable;
ifnonnull 12
10: aload 4
aload 1
putfield reactor.core.publisher.FluxCreate$SinkDisposable.disposable:Lreactor/core/Disposable;
11: goto 13
12: StackMap locals: reactor.core.publisher.FluxCreate$SinkDisposable
StackMap stack:
aload 1
invokeinterface reactor.core.Disposable.dispose:()V
end local 4 end local 3 13: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lreactor/core/publisher/MonoCreate$DefaultMonoSink<TT;>;
0 14 1 d Lreactor/core/Disposable;
2 14 2 sd Lreactor/core/publisher/FluxCreate$SinkDisposable;
4 13 3 c Lreactor/core/Disposable;
9 13 4 current Lreactor/core/publisher/FluxCreate$SinkDisposable;
Signature: (Lreactor/core/Disposable;)Lreactor/core/publisher/MonoSink<TT;>;
MethodParameters:
Name Flags
d
public void request(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: lload 1
invokestatic reactor.core.publisher.Operators.validate:(J)Z
ifeq 19
1: aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.requestConsumer:Ljava/util/function/LongConsumer;
astore 3
start local 3 2: aload 3
ifnull 4
3: aload 3
lload 1
invokeinterface java.util.function.LongConsumer.accept:(J)V
4: StackMap locals: java.util.function.LongConsumer
StackMap stack:
aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.state:I
istore 4
start local 4 5: iload 4
iconst_2
if_icmpeq 6
iload 4
iconst_3
if_icmpne 7
6: StackMap locals: int
StackMap stack:
return
7: StackMap locals:
StackMap stack:
iload 4
iconst_1
if_icmpne 17
8: getstatic reactor.core.publisher.MonoCreate$DefaultMonoSink.STATE:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
iload 4
iconst_3
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.compareAndSet:(Ljava/lang/Object;II)Z
ifeq 16
9: aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.actual:Lreactor/core/CoreSubscriber;
aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.value:Ljava/lang/Object;
invokeinterface reactor.core.CoreSubscriber.onNext:(Ljava/lang/Object;)V
10: aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.actual:Lreactor/core/CoreSubscriber;
invokeinterface reactor.core.CoreSubscriber.onComplete:()V
11: goto 15
12: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
13: aload 0
iconst_0
invokevirtual reactor.core.publisher.MonoCreate$DefaultMonoSink.disposeResource:(Z)V
14: aload 5
athrow
15: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual reactor.core.publisher.MonoCreate$DefaultMonoSink.disposeResource:(Z)V
16: StackMap locals:
StackMap stack:
return
17: StackMap locals:
StackMap stack:
getstatic reactor.core.publisher.MonoCreate$DefaultMonoSink.STATE:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
iload 4
iconst_2
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.compareAndSet:(Ljava/lang/Object;II)Z
ifeq 4
18: return
end local 4 end local 3 19: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lreactor/core/publisher/MonoCreate$DefaultMonoSink<TT;>;
0 20 1 n J
2 19 3 consumer Ljava/util/function/LongConsumer;
5 19 4 s I
Exception table:
from to target type
9 12 12 any
MethodParameters:
Name Flags
n
public void cancel();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic reactor.core.publisher.MonoCreate$DefaultMonoSink.STATE:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
iconst_3
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.getAndSet:(Ljava/lang/Object;I)I
iconst_3
if_icmpeq 5
1: aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.value:Ljava/lang/Object;
astore 1
start local 1 2: aload 0
aconst_null
putfield reactor.core.publisher.MonoCreate$DefaultMonoSink.value:Ljava/lang/Object;
3: aload 1
aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.actual:Lreactor/core/CoreSubscriber;
invokeinterface reactor.core.CoreSubscriber.currentContext:()Lreactor/util/context/Context;
invokestatic reactor.core.publisher.Operators.onDiscard:(Ljava/lang/Object;Lreactor/util/context/Context;)V
4: aload 0
iconst_1
invokevirtual reactor.core.publisher.MonoCreate$DefaultMonoSink.disposeResource:(Z)V
end local 1 5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lreactor/core/publisher/MonoCreate$DefaultMonoSink<TT;>;
2 5 1 old TT;
void disposeResource(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: iload 1
ifeq 1
getstatic reactor.core.publisher.MonoCreate.CANCELLED:Lreactor/core/Disposable;
goto 2
StackMap locals:
StackMap stack:
1: getstatic reactor.core.publisher.MonoCreate.TERMINATED:Lreactor/core/Disposable;
StackMap locals:
StackMap stack: reactor.core.Disposable
2: astore 2
start local 2 3: aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.disposable:Lreactor/core/Disposable;
astore 3
start local 3 4: aload 3
getstatic reactor.core.publisher.MonoCreate.TERMINATED:Lreactor/core/Disposable;
if_acmpeq 10
aload 3
getstatic reactor.core.publisher.MonoCreate.CANCELLED:Lreactor/core/Disposable;
if_acmpeq 10
5: getstatic reactor.core.publisher.MonoCreate$DefaultMonoSink.DISPOSABLE:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aload 2
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.getAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast reactor.core.Disposable
astore 3
6: aload 3
ifnull 10
aload 3
getstatic reactor.core.publisher.MonoCreate.TERMINATED:Lreactor/core/Disposable;
if_acmpeq 10
aload 3
getstatic reactor.core.publisher.MonoCreate.CANCELLED:Lreactor/core/Disposable;
if_acmpeq 10
7: iload 1
ifeq 9
aload 3
instanceof reactor.core.publisher.FluxCreate$SinkDisposable
ifeq 9
8: aload 3
checkcast reactor.core.publisher.FluxCreate$SinkDisposable
invokevirtual reactor.core.publisher.FluxCreate$SinkDisposable.cancel:()V
9: StackMap locals: reactor.core.Disposable reactor.core.Disposable
StackMap stack:
aload 3
invokeinterface reactor.core.Disposable.dispose:()V
10: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lreactor/core/publisher/MonoCreate$DefaultMonoSink<TT;>;
0 11 1 isCancel Z
3 11 2 target Lreactor/core/Disposable;
4 11 3 d Lreactor/core/Disposable;
MethodParameters:
Name Flags
isCancel
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "MonoSink"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/core/publisher/MonoCreate$DefaultMonoSink<TT;>;
boolean isDisposed();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield reactor.core.publisher.MonoCreate$DefaultMonoSink.disposable:Lreactor/core/Disposable;
astore 1
start local 1 1: aload 1
getstatic reactor.core.publisher.MonoCreate.CANCELLED:Lreactor/core/Disposable;
if_acmpeq 2
aload 1
getstatic reactor.core.publisher.MonoCreate.TERMINATED:Lreactor/core/Disposable;
if_acmpeq 2
iconst_0
ireturn
StackMap locals: reactor.core.Disposable
StackMap stack:
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lreactor/core/publisher/MonoCreate$DefaultMonoSink<TT;>;
1 3 1 d Lreactor/core/Disposable;
}
Signature: <T:Ljava/lang/Object;>Ljava/util/concurrent/atomic/AtomicBoolean;Lreactor/core/publisher/MonoSink<TT;>;Lreactor/core/publisher/InnerProducer<TT;>;
SourceFile: "MonoCreate.java"
NestHost: reactor.core.publisher.MonoCreate
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 SinkDisposable = reactor.core.publisher.FluxCreate$SinkDisposable of reactor.core.publisher.FluxCreate
final DefaultMonoSink = reactor.core.publisher.MonoCreate$DefaultMonoSink of reactor.core.publisher.MonoCreate