public final class io.vertx.core.impl.future.PromiseImpl<T> extends io.vertx.core.impl.future.FutureImpl<T> implements io.vertx.core.impl.future.PromiseInternal<T>, io.vertx.core.impl.future.Listener<T>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.vertx.core.impl.future.PromiseImpl
super_class: io.vertx.core.impl.future.FutureImpl
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial io.vertx.core.impl.future.FutureImpl.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/impl/future/PromiseImpl<TT;>;
public void <init>(io.vertx.core.impl.ContextInternal);
descriptor: (Lio/vertx/core/impl/ContextInternal;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial io.vertx.core.impl.future.FutureImpl.<init>:(Lio/vertx/core/impl/ContextInternal;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/impl/future/PromiseImpl<TT;>;
0 2 1 context Lio/vertx/core/impl/ContextInternal;
MethodParameters:
Name Flags
context
public void handle(io.vertx.core.AsyncResult<T>);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: aload 0
aload 1
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
invokevirtual io.vertx.core.impl.future.PromiseImpl.onSuccess:(Ljava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual io.vertx.core.impl.future.PromiseImpl.onFailure:(Ljava/lang/Throwable;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/impl/future/PromiseImpl<TT;>;
0 5 1 ar Lio/vertx/core/AsyncResult<TT;>;
Signature: (Lio/vertx/core/AsyncResult<TT;>;)V
MethodParameters:
Name Flags
ar
public void onSuccess();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual io.vertx.core.impl.future.PromiseImpl.tryComplete:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/impl/future/PromiseImpl<TT;>;
0 2 1 value TT;
Signature: (TT;)V
MethodParameters:
Name Flags
value
public void onFailure(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
invokevirtual io.vertx.core.impl.future.PromiseImpl.tryFail:(Ljava/lang/Throwable;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/impl/future/PromiseImpl<TT;>;
0 2 1 failure Ljava/lang/Throwable;
MethodParameters:
Name Flags
failure
public io.vertx.core.Future<T> future();
descriptor: ()Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/impl/future/PromiseImpl<TT;>;
Signature: ()Lio/vertx/core/Future<TT;>;
public void operationComplete(io.netty.util.concurrent.Future<T>);
descriptor: (Lio/netty/util/concurrent/Future;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.netty.util.concurrent.Future.isSuccess:()Z
ifeq 3
1: aload 0
aload 1
invokeinterface io.netty.util.concurrent.Future.getNow:()Ljava/lang/Object;
invokevirtual io.vertx.core.impl.future.PromiseImpl.complete:(Ljava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface io.netty.util.concurrent.Future.cause:()Ljava/lang/Throwable;
invokevirtual io.vertx.core.impl.future.PromiseImpl.fail:(Ljava/lang/Throwable;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/impl/future/PromiseImpl<TT;>;
0 5 1 future Lio/netty/util/concurrent/Future<TT;>;
Signature: (Lio/netty/util/concurrent/Future<TT;>;)V
MethodParameters:
Name Flags
future
public io.vertx.core.Future eventually(java.util.function.Function);
descriptor: (Ljava/util/function/Function;)Lio/vertx/core/Future;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial io.vertx.core.impl.future.FutureImpl.eventually:(Ljava/util/function/Function;)Lio/vertx/core/Future;
areturn
LocalVariableTable:
Start End Slot Name Signature
public boolean tryFail(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial io.vertx.core.impl.future.FutureImpl.tryFail:(Ljava/lang/Throwable;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.Future map(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lio/vertx/core/Future;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial io.vertx.core.impl.future.FutureImpl.map:(Ljava/lang/Object;)Lio/vertx/core/Future;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.Future map(java.util.function.Function);
descriptor: (Ljava/util/function/Function;)Lio/vertx/core/Future;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial io.vertx.core.impl.future.FutureImpl.map:(Ljava/util/function/Function;)Lio/vertx/core/Future;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.Future onFailure(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/Future;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial io.vertx.core.impl.future.FutureImpl.onFailure:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Throwable cause();
descriptor: ()Ljava/lang/Throwable;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial io.vertx.core.impl.future.FutureImpl.cause:()Ljava/lang/Throwable;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial io.vertx.core.impl.future.FutureImpl.toString:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public boolean tryComplete(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial io.vertx.core.impl.future.FutureImpl.tryComplete:(Ljava/lang/Object;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public void handle(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.vertx.core.AsyncResult
invokevirtual io.vertx.core.impl.future.PromiseImpl.handle:(Lio/vertx/core/AsyncResult;)V
return
LocalVariableTable:
Start End Slot Name Signature
public boolean succeeded();
descriptor: ()Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial io.vertx.core.impl.future.FutureImpl.succeeded:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.Future onComplete(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/Future;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial io.vertx.core.impl.future.FutureImpl.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.Future onSuccess(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/Future;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial io.vertx.core.impl.future.FutureImpl.onSuccess:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
areturn
LocalVariableTable:
Start End Slot Name Signature
public boolean isComplete();
descriptor: ()Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial io.vertx.core.impl.future.FutureImpl.isComplete:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public void addListener(io.vertx.core.impl.future.Listener);
descriptor: (Lio/vertx/core/impl/future/Listener;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial io.vertx.core.impl.future.FutureImpl.addListener:(Lio/vertx/core/impl/future/Listener;)V
return
LocalVariableTable:
Start End Slot Name Signature
public boolean failed();
descriptor: ()Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial io.vertx.core.impl.future.FutureImpl.failed:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.Future compose(java.util.function.Function, java.util.function.Function);
descriptor: (Ljava/util/function/Function;Ljava/util/function/Function;)Lio/vertx/core/Future;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokespecial io.vertx.core.impl.future.FutureImpl.compose:(Ljava/util/function/Function;Ljava/util/function/Function;)Lio/vertx/core/Future;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.Future otherwise(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lio/vertx/core/Future;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial io.vertx.core.impl.future.FutureImpl.otherwise:(Ljava/lang/Object;)Lio/vertx/core/Future;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.Future otherwise(java.util.function.Function);
descriptor: (Ljava/util/function/Function;)Lio/vertx/core/Future;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial io.vertx.core.impl.future.FutureImpl.otherwise:(Ljava/util/function/Function;)Lio/vertx/core/Future;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object result();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial io.vertx.core.impl.future.FutureImpl.result:()Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <T:Ljava/lang/Object;>Lio/vertx/core/impl/future/FutureImpl<TT;>;Lio/vertx/core/impl/future/PromiseInternal<TT;>;Lio/vertx/core/impl/future/Listener<TT;>;
SourceFile: "PromiseImpl.java"