public class io.vertx.config.impl.spi.EventBusConfigStore implements io.vertx.config.spi.ConfigStore
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.config.impl.spi.EventBusConfigStore
super_class: java.lang.Object
{
private final io.vertx.core.eventbus.MessageConsumer<java.lang.Object> consumer;
descriptor: Lio/vertx/core/eventbus/MessageConsumer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lio/vertx/core/eventbus/MessageConsumer<Ljava/lang/Object;>;
private java.util.concurrent.atomic.AtomicReference<io.vertx.core.buffer.Buffer> last;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lio/vertx/core/buffer/Buffer;>;
public void <init>(io.vertx.core.Vertx, java.lang.String);
descriptor: (Lio/vertx/core/Vertx;Ljava/lang/String;)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
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield io.vertx.config.impl.spi.EventBusConfigStore.last:Ljava/util/concurrent/atomic/AtomicReference;
2: aload 0
aload 1
invokeinterface io.vertx.core.Vertx.eventBus:()Lio/vertx/core/eventbus/EventBus;
aload 2
invokeinterface io.vertx.core.eventbus.EventBus.consumer:(Ljava/lang/String;)Lio/vertx/core/eventbus/MessageConsumer;
putfield io.vertx.config.impl.spi.EventBusConfigStore.consumer:Lio/vertx/core/eventbus/MessageConsumer;
3: aload 0
getfield io.vertx.config.impl.spi.EventBusConfigStore.consumer:Lio/vertx/core/eventbus/MessageConsumer;
aload 0
invokedynamic handle(Lio/vertx/config/impl/spi/EventBusConfigStore;)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/config/impl/spi/EventBusConfigStore.lambda$0(Lio/vertx/core/eventbus/Message;)V (7)
(Lio/vertx/core/eventbus/Message;)V
invokeinterface io.vertx.core.eventbus.MessageConsumer.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/eventbus/MessageConsumer;
pop
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/config/impl/spi/EventBusConfigStore;
0 5 1 vertx Lio/vertx/core/Vertx;
0 5 2 address Ljava/lang/String;
MethodParameters:
Name Flags
vertx
address
public void close(io.vertx.core.Handler<java.lang.Void>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.config.impl.spi.EventBusConfigStore.consumer:Lio/vertx/core/eventbus/MessageConsumer;
aload 1
invokedynamic handle(Lio/vertx/core/Handler;)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/config/impl/spi/EventBusConfigStore.lambda$1(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.eventbus.MessageConsumer.unregister:(Lio/vertx/core/Handler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/config/impl/spi/EventBusConfigStore;
0 2 1 completionHandler Lio/vertx/core/Handler<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)V
MethodParameters:
Name Flags
completionHandler
public void get(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.buffer.Buffer>>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.config.impl.spi.EventBusConfigStore.last:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.vertx.core.buffer.Buffer
astore 2
start local 2 1: aload 2
ifnull 4
2: aload 1
aload 2
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
3: goto 5
4: StackMap locals: io.vertx.core.buffer.Buffer
StackMap stack:
aload 1
ldc "{}"
invokestatic io.vertx.core.buffer.Buffer.buffer:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/config/impl/spi/EventBusConfigStore;
0 6 1 completionHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/buffer/Buffer;>;>;
1 6 2 buffer Lio/vertx/core/buffer/Buffer;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/buffer/Buffer;>;>;)V
MethodParameters:
Name Flags
completionHandler
private void lambda$0(io.vertx.core.eventbus.Message);
descriptor: (Lio/vertx/core/eventbus/Message;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.eventbus.Message.body:()Ljava/lang/Object;
astore 2
start local 2 1: aload 2
instanceof io.vertx.core.json.JsonObject
ifeq 4
2: aload 0
getfield io.vertx.config.impl.spi.EventBusConfigStore.last:Ljava/util/concurrent/atomic/AtomicReference;
aload 2
checkcast io.vertx.core.json.JsonObject
invokevirtual io.vertx.core.json.JsonObject.toBuffer:()Lio/vertx/core/buffer/Buffer;
invokevirtual java.util.concurrent.atomic.AtomicReference.set:(Ljava/lang/Object;)V
3: goto 6
StackMap locals: java.lang.Object
StackMap stack:
4: aload 2
instanceof io.vertx.core.buffer.Buffer
ifeq 6
5: aload 0
getfield io.vertx.config.impl.spi.EventBusConfigStore.last:Ljava/util/concurrent/atomic/AtomicReference;
aload 2
checkcast io.vertx.core.buffer.Buffer
invokevirtual java.util.concurrent.atomic.AtomicReference.set:(Ljava/lang/Object;)V
end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/config/impl/spi/EventBusConfigStore;
0 7 1 message Lio/vertx/core/eventbus/Message<Ljava/lang/Object;>;
1 6 2 body Ljava/lang/Object;
private static void lambda$1(io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aconst_null
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 ar Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
}
SourceFile: "EventBusConfigStore.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles