public class reactor.core.publisher.SinkOneSerialized<T> extends reactor.core.publisher.SinkEmptySerialized<T> implements reactor.core.publisher.InternalOneSink<T>, reactor.core.publisher.ContextHolder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: reactor.core.publisher.SinkOneSerialized
super_class: reactor.core.publisher.SinkEmptySerialized
{
final reactor.core.publisher.Sinks$One<T> sinkOne;
descriptor: Lreactor/core/publisher/Sinks$One;
flags: (0x0010) ACC_FINAL
Signature: Lreactor/core/publisher/Sinks$One<TT;>;
public void <init>(reactor.core.publisher.Sinks$One<T>, reactor.core.publisher.ContextHolder);
descriptor: (Lreactor/core/publisher/Sinks$One;Lreactor/core/publisher/ContextHolder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial reactor.core.publisher.SinkEmptySerialized.<init>:(Lreactor/core/publisher/Sinks$Empty;Lreactor/core/publisher/ContextHolder;)V
1: aload 0
aload 1
putfield reactor.core.publisher.SinkOneSerialized.sinkOne:Lreactor/core/publisher/Sinks$One;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lreactor/core/publisher/SinkOneSerialized<TT;>;
0 3 1 sinkOne Lreactor/core/publisher/Sinks$One<TT;>;
0 3 2 contextHolder Lreactor/core/publisher/ContextHolder;
Signature: (Lreactor/core/publisher/Sinks$One<TT;>;Lreactor/core/publisher/ContextHolder;)V
MethodParameters:
Name Flags
sinkOne
contextHolder
public reactor.core.publisher.Sinks$EmitResult tryEmitValue(T);
descriptor: (Ljava/lang/Object;)Lreactor/core/publisher/Sinks$EmitResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
astore 2
start local 2 1: aload 0
aload 2
invokevirtual reactor.core.publisher.SinkOneSerialized.tryAcquire:(Ljava/lang/Thread;)Z
ifne 3
2: getstatic reactor.core.publisher.Sinks$EmitResult.FAIL_NON_SERIALIZED:Lreactor/core/publisher/Sinks$EmitResult;
areturn
3: StackMap locals: java.lang.Thread
StackMap stack:
aload 0
getfield reactor.core.publisher.SinkOneSerialized.sinkOne:Lreactor/core/publisher/Sinks$One;
aload 1
invokeinterface reactor.core.publisher.Sinks$One.tryEmitValue:(Ljava/lang/Object;)Lreactor/core/publisher/Sinks$EmitResult;
astore 4
4: getstatic reactor.core.publisher.SinkOneSerialized.WIP:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.decrementAndGet:(Ljava/lang/Object;)I
ifne 6
5: getstatic reactor.core.publisher.SinkOneSerialized.LOCKED_AT:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aload 2
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
pop
6: StackMap locals: reactor.core.publisher.SinkOneSerialized java.lang.Object java.lang.Thread top reactor.core.publisher.Sinks$EmitResult
StackMap stack:
aload 4
areturn
7: StackMap locals: reactor.core.publisher.SinkOneSerialized java.lang.Object java.lang.Thread
StackMap stack: java.lang.Throwable
astore 3
8: getstatic reactor.core.publisher.SinkOneSerialized.WIP:Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
aload 0
invokevirtual java.util.concurrent.atomic.AtomicIntegerFieldUpdater.decrementAndGet:(Ljava/lang/Object;)I
ifne 10
9: getstatic reactor.core.publisher.SinkOneSerialized.LOCKED_AT:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aload 2
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
pop
10: StackMap locals: java.lang.Throwable
StackMap stack:
aload 3
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lreactor/core/publisher/SinkOneSerialized<TT;>;
0 11 1 t TT;
1 11 2 currentThread Ljava/lang/Thread;
Exception table:
from to target type
3 4 7 any
Signature: (TT;)Lreactor/core/publisher/Sinks$EmitResult;
MethodParameters:
Name Flags
t
public java.util.stream.Stream inners();
descriptor: ()Ljava/util/stream/Stream;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial reactor.core.publisher.SinkEmptySerialized.inners:()Ljava/util/stream/Stream;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object scanUnsafe(reactor.core.Scannable$Attr);
descriptor: (Lreactor/core/Scannable$Attr;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial reactor.core.publisher.SinkEmptySerialized.scanUnsafe:(Lreactor/core/Scannable$Attr;)Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
public reactor.core.publisher.Mono asMono();
descriptor: ()Lreactor/core/publisher/Mono;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial reactor.core.publisher.SinkEmptySerialized.asMono:()Lreactor/core/publisher/Mono;
areturn
LocalVariableTable:
Start End Slot Name Signature
public int currentSubscriberCount();
descriptor: ()I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial reactor.core.publisher.SinkEmptySerialized.currentSubscriberCount:()I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public reactor.util.context.Context currentContext();
descriptor: ()Lreactor/util/context/Context;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial reactor.core.publisher.SinkEmptySerialized.currentContext:()Lreactor/util/context/Context;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <T:Ljava/lang/Object;>Lreactor/core/publisher/SinkEmptySerialized<TT;>;Lreactor/core/publisher/InternalOneSink<TT;>;Lreactor/core/publisher/ContextHolder;
SourceFile: "SinkOneSerialized.java"
InnerClasses:
public Attr = reactor.core.Scannable$Attr of reactor.core.Scannable
public final EmitResult = reactor.core.publisher.Sinks$EmitResult of reactor.core.publisher.Sinks
public abstract Empty = reactor.core.publisher.Sinks$Empty of reactor.core.publisher.Sinks
public abstract One = reactor.core.publisher.Sinks$One of reactor.core.publisher.Sinks