class io.vertx.core.eventbus.impl.ReplyHandler<T> extends io.vertx.core.eventbus.impl.HandlerRegistration<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.vertx.core.eventbus.impl.ReplyHandler
super_class: io.vertx.core.eventbus.impl.HandlerRegistration
{
private final io.vertx.core.eventbus.impl.EventBusImpl eventBus;
descriptor: Lio/vertx/core/eventbus/impl/EventBusImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.impl.ContextInternal context;
descriptor: Lio/vertx/core/impl/ContextInternal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.Promise<io.vertx.core.eventbus.Message<T>> result;
descriptor: Lio/vertx/core/Promise;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lio/vertx/core/Promise<Lio/vertx/core/eventbus/Message<TT;>;>;
private final long timeoutID;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean src;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String repliedAddress;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
java.lang.Object trace;
descriptor: Ljava/lang/Object;
flags: (0x0000)
void <init>(io.vertx.core.eventbus.impl.EventBusImpl, io.vertx.core.impl.ContextInternal, java.lang.String, java.lang.String, boolean, long);
descriptor: (Lio/vertx/core/eventbus/impl/EventBusImpl;Lio/vertx/core/impl/ContextInternal;Ljava/lang/String;Ljava/lang/String;ZJ)V
flags: (0x0000)
Code:
stack=9, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 2
aload 1
aload 3
iload 5
invokespecial io.vertx.core.eventbus.impl.HandlerRegistration.<init>:(Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/eventbus/impl/EventBusImpl;Ljava/lang/String;Z)V
1: aload 0
aload 1
putfield io.vertx.core.eventbus.impl.ReplyHandler.eventBus:Lio/vertx/core/eventbus/impl/EventBusImpl;
2: aload 0
aload 2
putfield io.vertx.core.eventbus.impl.ReplyHandler.context:Lio/vertx/core/impl/ContextInternal;
3: aload 0
aload 2
invokeinterface io.vertx.core.impl.ContextInternal.promise:()Lio/vertx/core/impl/future/PromiseInternal;
putfield io.vertx.core.eventbus.impl.ReplyHandler.result:Lio/vertx/core/Promise;
4: aload 0
iload 5
putfield io.vertx.core.eventbus.impl.ReplyHandler.src:Z
5: aload 0
aload 4
putfield io.vertx.core.eventbus.impl.ReplyHandler.repliedAddress:Ljava/lang/String;
6: aload 0
aload 1
getfield io.vertx.core.eventbus.impl.EventBusImpl.vertx:Lio/vertx/core/impl/VertxInternal;
lload 6
aload 0
lload 6
aload 3
aload 4
invokedynamic handle(Lio/vertx/core/eventbus/impl/ReplyHandler;JLjava/lang/String;Ljava/lang/String;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/core/eventbus/impl/ReplyHandler.lambda$0(JLjava/lang/String;Ljava/lang/String;Ljava/lang/Long;)V (7)
(Ljava/lang/Long;)V
invokeinterface io.vertx.core.impl.VertxInternal.setTimer:(JLio/vertx/core/Handler;)J
putfield io.vertx.core.eventbus.impl.ReplyHandler.timeoutID:J
7: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/core/eventbus/impl/ReplyHandler<TT;>;
0 8 1 eventBus Lio/vertx/core/eventbus/impl/EventBusImpl;
0 8 2 context Lio/vertx/core/impl/ContextInternal;
0 8 3 address Ljava/lang/String;
0 8 4 repliedAddress Ljava/lang/String;
0 8 5 src Z
0 8 6 timeout J
MethodParameters:
Name Flags
eventBus
context
address
repliedAddress
src
timeout
private void trace(java.lang.Object, java.lang.Throwable);
descriptor: (Ljava/lang/Object;Ljava/lang/Throwable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.eventbus.impl.ReplyHandler.context:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.tracer:()Lio/vertx/core/spi/tracing/VertxTracer;
astore 3
start local 3 1: aload 0
getfield io.vertx.core.eventbus.impl.ReplyHandler.trace:Ljava/lang/Object;
astore 4
start local 4 2: aload 3
ifnull 4
aload 0
getfield io.vertx.core.eventbus.impl.ReplyHandler.src:Z
ifeq 4
aload 4
ifnull 4
3: aload 3
aload 0
getfield io.vertx.core.eventbus.impl.ReplyHandler.context:Lio/vertx/core/impl/ContextInternal;
aload 1
aload 4
aload 2
invokestatic io.vertx.core.spi.tracing.TagExtractor.empty:()Lio/vertx/core/spi/tracing/TagExtractor;
invokeinterface io.vertx.core.spi.tracing.VertxTracer.receiveResponse:(Lio/vertx/core/Context;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Throwable;Lio/vertx/core/spi/tracing/TagExtractor;)V
4: StackMap locals: io.vertx.core.spi.tracing.VertxTracer java.lang.Object
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/eventbus/impl/ReplyHandler<TT;>;
0 5 1 reply Ljava/lang/Object;
0 5 2 failure Ljava/lang/Throwable;
1 5 3 tracer Lio/vertx/core/spi/tracing/VertxTracer;
2 5 4 trace Ljava/lang/Object;
MethodParameters:
Name Flags
reply
failure
io.vertx.core.Future<io.vertx.core.eventbus.Message<T>> result();
descriptor: ()Lio/vertx/core/Future;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.eventbus.impl.ReplyHandler.result:Lio/vertx/core/Promise;
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/eventbus/impl/ReplyHandler<TT;>;
Signature: ()Lio/vertx/core/Future<Lio/vertx/core/eventbus/Message<TT;>;>;
void fail(io.vertx.core.eventbus.ReplyException);
descriptor: (Lio/vertx/core/eventbus/ReplyException;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokedynamic handle()Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/core/eventbus/impl/ReplyHandler.lambda$1(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.vertx.core.eventbus.impl.ReplyHandler.unregister:(Lio/vertx/core/Handler;)V
1: aload 1
invokevirtual io.vertx.core.eventbus.ReplyException.failureType:()Lio/vertx/core/eventbus/ReplyFailure;
getstatic io.vertx.core.eventbus.ReplyFailure.NO_HANDLERS:Lio/vertx/core/eventbus/ReplyFailure;
if_acmpne 3
2: aload 0
getfield io.vertx.core.eventbus.impl.ReplyHandler.eventBus:Lio/vertx/core/eventbus/impl/EventBusImpl;
getfield io.vertx.core.eventbus.impl.EventBusImpl.vertx:Lio/vertx/core/impl/VertxInternal;
aload 0
getfield io.vertx.core.eventbus.impl.ReplyHandler.timeoutID:J
invokeinterface io.vertx.core.impl.VertxInternal.cancelTimer:(J)Z
pop
3: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.eventbus.impl.ReplyHandler.result:Lio/vertx/core/Promise;
aload 1
invokeinterface io.vertx.core.Promise.tryFail:(Ljava/lang/Throwable;)Z
ifeq 7
4: aload 0
getfield io.vertx.core.eventbus.impl.ReplyHandler.eventBus:Lio/vertx/core/eventbus/impl/EventBusImpl;
getfield io.vertx.core.eventbus.impl.EventBusImpl.metrics:Lio/vertx/core/spi/metrics/EventBusMetrics;
ifnull 6
5: aload 0
getfield io.vertx.core.eventbus.impl.ReplyHandler.eventBus:Lio/vertx/core/eventbus/impl/EventBusImpl;
getfield io.vertx.core.eventbus.impl.EventBusImpl.metrics:Lio/vertx/core/spi/metrics/EventBusMetrics;
aload 0
getfield io.vertx.core.eventbus.impl.ReplyHandler.repliedAddress:Ljava/lang/String;
aload 1
invokevirtual io.vertx.core.eventbus.ReplyException.failureType:()Lio/vertx/core/eventbus/ReplyFailure;
invokeinterface io.vertx.core.spi.metrics.EventBusMetrics.replyFailure:(Ljava/lang/String;Lio/vertx/core/eventbus/ReplyFailure;)V
6: StackMap locals:
StackMap stack:
aload 0
aconst_null
aload 1
invokevirtual io.vertx.core.eventbus.impl.ReplyHandler.trace:(Ljava/lang/Object;Ljava/lang/Throwable;)V
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/core/eventbus/impl/ReplyHandler<TT;>;
0 8 1 failure Lio/vertx/core/eventbus/ReplyException;
MethodParameters:
Name Flags
failure
protected boolean doReceive(io.vertx.core.eventbus.Message<T>);
descriptor: (Lio/vertx/core/eventbus/Message;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aload 1
aload 0
getfield io.vertx.core.eventbus.impl.ReplyHandler.context:Lio/vertx/core/impl/ContextInternal;
invokevirtual io.vertx.core.eventbus.impl.ReplyHandler.dispatch:(Lio/vertx/core/Handler;Lio/vertx/core/eventbus/Message;Lio/vertx/core/impl/ContextInternal;)V
1: goto 5
StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 2
3: aload 0
invokevirtual io.vertx.core.eventbus.impl.ReplyHandler.unregister:()Lio/vertx/core/Future;
pop
4: aload 2
athrow
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.core.eventbus.impl.ReplyHandler.unregister:()Lio/vertx/core/Future;
pop
6: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/eventbus/impl/ReplyHandler<TT;>;
0 7 1 reply Lio/vertx/core/eventbus/Message<TT;>;
Exception table:
from to target type
0 2 2 any
Signature: (Lio/vertx/core/eventbus/Message<TT;>;)Z
MethodParameters:
Name Flags
reply
void register();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield io.vertx.core.eventbus.impl.ReplyHandler.repliedAddress:Ljava/lang/String;
iconst_1
aconst_null
invokevirtual io.vertx.core.eventbus.impl.ReplyHandler.register:(Ljava/lang/String;ZLio/vertx/core/Promise;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/eventbus/impl/ReplyHandler<TT;>;
protected void dispatch(io.vertx.core.eventbus.Message<T>, io.vertx.core.impl.ContextInternal, io.vertx.core.Handler<io.vertx.core.eventbus.Message<T>>);
descriptor: (Lio/vertx/core/eventbus/Message;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield io.vertx.core.eventbus.impl.ReplyHandler.eventBus:Lio/vertx/core/eventbus/impl/EventBusImpl;
getfield io.vertx.core.eventbus.impl.EventBusImpl.vertx:Lio/vertx/core/impl/VertxInternal;
aload 0
getfield io.vertx.core.eventbus.impl.ReplyHandler.timeoutID:J
invokeinterface io.vertx.core.impl.VertxInternal.cancelTimer:(J)Z
pop
1: aload 1
invokeinterface io.vertx.core.eventbus.Message.body:()Ljava/lang/Object;
instanceof io.vertx.core.eventbus.ReplyException
ifeq 4
2: aload 0
aload 1
invokeinterface io.vertx.core.eventbus.Message.body:()Ljava/lang/Object;
checkcast io.vertx.core.eventbus.ReplyException
invokevirtual io.vertx.core.eventbus.impl.ReplyHandler.fail:(Lio/vertx/core/eventbus/ReplyException;)V
3: goto 6
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aconst_null
invokevirtual io.vertx.core.eventbus.impl.ReplyHandler.trace:(Ljava/lang/Object;Ljava/lang/Throwable;)V
5: aload 0
getfield io.vertx.core.eventbus.impl.ReplyHandler.result:Lio/vertx/core/Promise;
aload 1
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
6: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/eventbus/impl/ReplyHandler<TT;>;
0 7 1 reply Lio/vertx/core/eventbus/Message<TT;>;
0 7 2 context Lio/vertx/core/impl/ContextInternal;
0 7 3 handler Lio/vertx/core/Handler<Lio/vertx/core/eventbus/Message<TT;>;>;
Signature: (Lio/vertx/core/eventbus/Message<TT;>;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler<Lio/vertx/core/eventbus/Message<TT;>;>;)V
MethodParameters:
Name Flags
reply
context
handler
private void lambda$0(long, java.lang.String, java.lang.String, java.lang.Long);
descriptor: (JLjava/lang/String;Ljava/lang/String;Ljava/lang/Long;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=7, locals=6, args_size=5
start local 0 start local 5 0: aload 0
new io.vertx.core.eventbus.ReplyException
dup
getstatic io.vertx.core.eventbus.ReplyFailure.TIMEOUT:Lio/vertx/core/eventbus/ReplyFailure;
new java.lang.StringBuilder
dup
ldc "Timed out after waiting "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "(ms) for a reply. address: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", repliedAddress: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial io.vertx.core.eventbus.ReplyException.<init>:(Lio/vertx/core/eventbus/ReplyFailure;Ljava/lang/String;)V
invokevirtual io.vertx.core.eventbus.impl.ReplyHandler.fail:(Lio/vertx/core/eventbus/ReplyException;)V
1: return
end local 5 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/eventbus/impl/ReplyHandler<TT;>;
0 2 5 id Ljava/lang/Long;
private static void lambda$1(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 ar Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
}
Signature: <T:Ljava/lang/Object;>Lio/vertx/core/eventbus/impl/HandlerRegistration<TT;>;
SourceFile: "ReplyHandler.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles