final class reactor.core.publisher.MonoCallable<T> extends reactor.core.publisher.Mono<T> implements java.util.concurrent.Callable<T>, reactor.core.Fuseable, reactor.core.publisher.SourceProducer<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: reactor.core.publisher.MonoCallable
super_class: reactor.core.publisher.Mono
{
final java.util.concurrent.Callable<? extends T> callable;
descriptor: Ljava/util/concurrent/Callable;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/Callable<+TT;>;
void <init>(java.util.concurrent.Callable<? extends T>);
descriptor: (Ljava/util/concurrent/Callable;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial reactor.core.publisher.Mono.<init>:()V
1: aload 0
aload 1
ldc "callable"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.util.concurrent.Callable
putfield reactor.core.publisher.MonoCallable.callable:Ljava/util/concurrent/Callable;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lreactor/core/publisher/MonoCallable<TT;>;
0 3 1 callable Ljava/util/concurrent/Callable<+TT;>;
Signature: (Ljava/util/concurrent/Callable<+TT;>;)V
MethodParameters:
Name Flags
callable
public void subscribe(reactor.core.CoreSubscriber<? super T>);
descriptor: (Lreactor/core/CoreSubscriber;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new reactor.core.publisher.Operators$MonoSubscriber
dup
aload 1
invokespecial reactor.core.publisher.Operators$MonoSubscriber.<init>:(Lreactor/core/CoreSubscriber;)V
astore 2
start local 2 1: aload 1
aload 2
invokeinterface reactor.core.CoreSubscriber.onSubscribe:(Lorg/reactivestreams/Subscription;)V
2: aload 2
invokevirtual reactor.core.publisher.Operators$MonoSubscriber.isCancelled:()Z
ifeq 4
3: return
4: StackMap locals: reactor.core.publisher.Operators$MonoSubscriber
StackMap stack:
aload 0
getfield reactor.core.publisher.MonoCallable.callable:Ljava/util/concurrent/Callable;
invokeinterface java.util.concurrent.Callable.call:()Ljava/lang/Object;
astore 3
start local 3 5: aload 3
ifnonnull 8
6: aload 2
invokevirtual reactor.core.publisher.Operators$MonoSubscriber.onComplete:()V
7: goto 12
8: StackMap locals: java.lang.Object
StackMap stack:
aload 2
aload 3
invokevirtual reactor.core.publisher.Operators$MonoSubscriber.complete:(Ljava/lang/Object;)V
end local 3 9: goto 12
10: StackMap locals: reactor.core.publisher.MonoCallable reactor.core.CoreSubscriber reactor.core.publisher.Operators$MonoSubscriber
StackMap stack: java.lang.Throwable
astore 3
start local 3 11: aload 1
aload 3
aload 1
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;
invokeinterface reactor.core.CoreSubscriber.onError:(Ljava/lang/Throwable;)V
end local 3 12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lreactor/core/publisher/MonoCallable<TT;>;
0 13 1 actual Lreactor/core/CoreSubscriber<-TT;>;
1 13 2 sds Lreactor/core/publisher/Operators$MonoSubscriber<TT;TT;>;
5 9 3 t TT;
11 12 3 e Ljava/lang/Throwable;
Exception table:
from to target type
4 9 10 Class java.lang.Throwable
Signature: (Lreactor/core/CoreSubscriber<-TT;>;)V
MethodParameters:
Name Flags
actual
public T block();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.time.Duration.ZERO:Ljava/time/Duration;
invokevirtual reactor.core.publisher.MonoCallable.block:(Ljava/time/Duration;)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/core/publisher/MonoCallable<TT;>;
Signature: ()TT;
RuntimeVisibleAnnotations:
reactor.util.annotation.Nullable()
public T block(java.time.Duration);
descriptor: (Ljava/time/Duration;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield reactor.core.publisher.MonoCallable.callable:Ljava/util/concurrent/Callable;
invokeinterface java.util.concurrent.Callable.call:()Ljava/lang/Object;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 3: aload 2
invokestatic reactor.core.Exceptions.propagate:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lreactor/core/publisher/MonoCallable<TT;>;
0 4 1 m Ljava/time/Duration;
3 4 2 e Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
Signature: (Ljava/time/Duration;)TT;
RuntimeVisibleAnnotations:
reactor.util.annotation.Nullable()
MethodParameters:
Name Flags
m
public T call();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield reactor.core.publisher.MonoCallable.callable:Ljava/util/concurrent/Callable;
invokeinterface java.util.concurrent.Callable.call:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lreactor/core/publisher/MonoCallable<TT;>;
Exceptions:
throws java.lang.Exception
Signature: ()TT;
RuntimeVisibleAnnotations:
reactor.util.annotation.Nullable()
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.RUN_STYLE:Lreactor/core/Scannable$Attr;
if_acmpne 1
getstatic reactor.core.Scannable$Attr$RunStyle.SYNC:Lreactor/core/Scannable$Attr$RunStyle;
areturn
1: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lreactor/core/publisher/MonoCallable<TT;>;
0 2 1 key Lreactor/core/Scannable$Attr;
MethodParameters:
Name Flags
key
}
Signature: <T:Ljava/lang/Object;>Lreactor/core/publisher/Mono<TT;>;Ljava/util/concurrent/Callable<TT;>;Lreactor/core/Fuseable;Lreactor/core/publisher/SourceProducer<TT;>;
SourceFile: "MonoCallable.java"
InnerClasses:
public Attr = reactor.core.Scannable$Attr of reactor.core.Scannable
public final RunStyle = reactor.core.Scannable$Attr$RunStyle of reactor.core.Scannable$Attr
public MonoSubscriber = reactor.core.publisher.Operators$MonoSubscriber of reactor.core.publisher.Operators