public class io.vertx.servicediscovery.impl.DiscoveryImpl implements io.vertx.servicediscovery.ServiceDiscovery, io.vertx.servicediscovery.spi.ServicePublisher
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.servicediscovery.impl.DiscoveryImpl
super_class: java.lang.Object
{
private final io.vertx.core.Vertx vertx;
descriptor: Lio/vertx/core/Vertx;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String announce;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String usage;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.servicediscovery.spi.ServiceDiscoveryBackend backend;
descriptor: Lio/vertx/servicediscovery/spi/ServiceDiscoveryBackend;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Set<io.vertx.servicediscovery.spi.ServiceImporter> importers;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Lio/vertx/servicediscovery/spi/ServiceImporter;>;
private final java.util.Set<io.vertx.servicediscovery.spi.ServiceExporter> exporters;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Lio/vertx/servicediscovery/spi/ServiceExporter;>;
private final java.util.Set<io.vertx.servicediscovery.ServiceReference> bindings;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Lio/vertx/servicediscovery/ServiceReference;>;
private static final io.vertx.core.impl.logging.Logger LOGGER;
descriptor: Lio/vertx/core/impl/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.String id;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.servicediscovery.ServiceDiscoveryOptions options;
descriptor: Lio/vertx/servicediscovery/ServiceDiscoveryOptions;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/vertx/servicediscovery/impl/DiscoveryImpl;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic io.vertx.core.impl.logging.LoggerFactory.getLogger:(Ljava/lang/String;)Lio/vertx/core/impl/logging/Logger;
putstatic io.vertx.servicediscovery.impl.DiscoveryImpl.LOGGER:Lio/vertx/core/impl/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(io.vertx.core.Vertx, io.vertx.servicediscovery.ServiceDiscoveryOptions);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/servicediscovery/ServiceDiscoveryOptions;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aload 2
invokevirtual io.vertx.servicediscovery.ServiceDiscoveryOptions.getBackendConfiguration:()Lio/vertx/core/json/JsonObject;
ldc "backend-name"
aconst_null
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokestatic io.vertx.servicediscovery.impl.DiscoveryImpl.getBackend:(Ljava/lang/String;)Lio/vertx/servicediscovery/spi/ServiceDiscoveryBackend;
invokespecial io.vertx.servicediscovery.impl.DiscoveryImpl.<init>:(Lio/vertx/core/Vertx;Lio/vertx/servicediscovery/ServiceDiscoveryOptions;Lio/vertx/servicediscovery/spi/ServiceDiscoveryBackend;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 2 1 vertx Lio/vertx/core/Vertx;
0 2 2 options Lio/vertx/servicediscovery/ServiceDiscoveryOptions;
MethodParameters:
Name Flags
vertx
options
void <init>(io.vertx.core.Vertx, io.vertx.servicediscovery.ServiceDiscoveryOptions, io.vertx.servicediscovery.spi.ServiceDiscoveryBackend);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/servicediscovery/ServiceDiscoveryOptions;Lio/vertx/servicediscovery/spi/ServiceDiscoveryBackend;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.CopyOnWriteArraySet
dup
invokespecial java.util.concurrent.CopyOnWriteArraySet.<init>:()V
putfield io.vertx.servicediscovery.impl.DiscoveryImpl.importers:Ljava/util/Set;
2: aload 0
new java.util.concurrent.CopyOnWriteArraySet
dup
invokespecial java.util.concurrent.CopyOnWriteArraySet.<init>:()V
putfield io.vertx.servicediscovery.impl.DiscoveryImpl.exporters:Ljava/util/Set;
3: aload 0
new java.util.concurrent.CopyOnWriteArraySet
dup
invokespecial java.util.concurrent.CopyOnWriteArraySet.<init>:()V
putfield io.vertx.servicediscovery.impl.DiscoveryImpl.bindings:Ljava/util/Set;
4: aload 0
aload 1
putfield io.vertx.servicediscovery.impl.DiscoveryImpl.vertx:Lio/vertx/core/Vertx;
5: aload 0
aload 2
invokevirtual io.vertx.servicediscovery.ServiceDiscoveryOptions.getAnnounceAddress:()Ljava/lang/String;
putfield io.vertx.servicediscovery.impl.DiscoveryImpl.announce:Ljava/lang/String;
6: aload 0
aload 2
invokevirtual io.vertx.servicediscovery.ServiceDiscoveryOptions.getUsageAddress:()Ljava/lang/String;
putfield io.vertx.servicediscovery.impl.DiscoveryImpl.usage:Ljava/lang/String;
7: aload 0
aload 3
putfield io.vertx.servicediscovery.impl.DiscoveryImpl.backend:Lio/vertx/servicediscovery/spi/ServiceDiscoveryBackend;
8: aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.backend:Lio/vertx/servicediscovery/spi/ServiceDiscoveryBackend;
aload 1
aload 2
invokevirtual io.vertx.servicediscovery.ServiceDiscoveryOptions.getBackendConfiguration:()Lio/vertx/core/json/JsonObject;
invokeinterface io.vertx.servicediscovery.spi.ServiceDiscoveryBackend.init:(Lio/vertx/core/Vertx;Lio/vertx/core/json/JsonObject;)V
9: aload 0
aload 2
invokevirtual io.vertx.servicediscovery.ServiceDiscoveryOptions.getName:()Ljava/lang/String;
ifnull 10
aload 2
invokevirtual io.vertx.servicediscovery.ServiceDiscoveryOptions.getName:()Ljava/lang/String;
goto 11
StackMap locals: io.vertx.servicediscovery.impl.DiscoveryImpl io.vertx.core.Vertx io.vertx.servicediscovery.ServiceDiscoveryOptions io.vertx.servicediscovery.spi.ServiceDiscoveryBackend
StackMap stack: io.vertx.servicediscovery.impl.DiscoveryImpl
10: aload 0
aload 1
invokevirtual io.vertx.servicediscovery.impl.DiscoveryImpl.getNodeId:(Lio/vertx/core/Vertx;)Ljava/lang/String;
StackMap locals: io.vertx.servicediscovery.impl.DiscoveryImpl io.vertx.core.Vertx io.vertx.servicediscovery.ServiceDiscoveryOptions io.vertx.servicediscovery.spi.ServiceDiscoveryBackend
StackMap stack: io.vertx.servicediscovery.impl.DiscoveryImpl java.lang.String
11: putfield io.vertx.servicediscovery.impl.DiscoveryImpl.id:Ljava/lang/String;
12: aload 0
aload 2
putfield io.vertx.servicediscovery.impl.DiscoveryImpl.options:Lio/vertx/servicediscovery/ServiceDiscoveryOptions;
13: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 14 1 vertx Lio/vertx/core/Vertx;
0 14 2 options Lio/vertx/servicediscovery/ServiceDiscoveryOptions;
0 14 3 backend Lio/vertx/servicediscovery/spi/ServiceDiscoveryBackend;
MethodParameters:
Name Flags
vertx
options
backend
private java.lang.String getNodeId(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.Vertx.isClustered:()Z
ifeq 2
1: aload 1
checkcast io.vertx.core.impl.VertxInternal
invokeinterface io.vertx.core.impl.VertxInternal.getClusterManager:()Lio/vertx/core/spi/cluster/ClusterManager;
invokeinterface io.vertx.core.spi.cluster.ClusterManager.getNodeId:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
ldc "localhost"
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 3 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
private static io.vertx.servicediscovery.spi.ServiceDiscoveryBackend getBackend(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/servicediscovery/spi/ServiceDiscoveryBackend;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: ldc Lio/vertx/servicediscovery/spi/ServiceDiscoveryBackend;
invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;)Ljava/util/ServiceLoader;
astore 1
start local 1 1: aload 1
invokevirtual java.util.ServiceLoader.iterator:()Ljava/util/Iterator;
astore 2
start local 2 2: aload 0
ifnonnull 6
3: aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
4: new io.vertx.servicediscovery.impl.DefaultServiceDiscoveryBackend
dup
invokespecial io.vertx.servicediscovery.impl.DefaultServiceDiscoveryBackend.<init>:()V
areturn
5: StackMap locals: java.util.ServiceLoader java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.servicediscovery.spi.ServiceDiscoveryBackend
areturn
6: StackMap locals:
StackMap stack:
aload 0
ldc Lio/vertx/servicediscovery/impl/DefaultServiceDiscoveryBackend;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
7: new io.vertx.servicediscovery.impl.DefaultServiceDiscoveryBackend
dup
invokespecial io.vertx.servicediscovery.impl.DefaultServiceDiscoveryBackend.<init>:()V
areturn
8: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.servicediscovery.spi.ServiceDiscoveryBackend
astore 3
start local 3 9: aload 3
invokeinterface io.vertx.servicediscovery.spi.ServiceDiscoveryBackend.name:()Ljava/lang/String;
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
10: aload 3
areturn
end local 3 11: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
12: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Cannot find the discovery backend implementation with name "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " in "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: ldc "the classpath"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
14: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 maybeName Ljava/lang/String;
1 15 1 backends Ljava/util/ServiceLoader<Lio/vertx/servicediscovery/spi/ServiceDiscoveryBackend;>;
2 15 2 iterator Ljava/util/Iterator<Lio/vertx/servicediscovery/spi/ServiceDiscoveryBackend;>;
9 11 3 backend Lio/vertx/servicediscovery/spi/ServiceDiscoveryBackend;
MethodParameters:
Name Flags
maybeName
private java.util.Collection<io.vertx.servicediscovery.spi.ServiceImporter> getServiceImporterFromSPI();
descriptor: ()Ljava/util/Collection;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=1
start local 0 0: ldc Lio/vertx/servicediscovery/spi/ServiceImporter;
invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;)Ljava/util/ServiceLoader;
astore 1
start local 1 1: aload 1
invokevirtual java.util.ServiceLoader.iterator:()Ljava/util/Iterator;
astore 2
start local 2 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 3: goto 6
4: StackMap locals: java.util.ServiceLoader java.util.Iterator java.util.List
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.servicediscovery.spi.ServiceImporter
astore 4
start local 4 5: aload 3
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
1 8 1 importers Ljava/util/ServiceLoader<Lio/vertx/servicediscovery/spi/ServiceImporter;>;
2 8 2 iterator Ljava/util/Iterator<Lio/vertx/servicediscovery/spi/ServiceImporter;>;
3 8 3 list Ljava/util/List<Lio/vertx/servicediscovery/spi/ServiceImporter;>;
5 6 4 importer Lio/vertx/servicediscovery/spi/ServiceImporter;
Signature: ()Ljava/util/Collection<Lio/vertx/servicediscovery/spi/ServiceImporter;>;
public io.vertx.servicediscovery.ServiceReference getReference(io.vertx.servicediscovery.Record);
descriptor: (Lio/vertx/servicediscovery/Record;)Lio/vertx/servicediscovery/ServiceReference;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
invokevirtual io.vertx.servicediscovery.impl.DiscoveryImpl.getReferenceWithConfiguration:(Lio/vertx/servicediscovery/Record;Lio/vertx/core/json/JsonObject;)Lio/vertx/servicediscovery/ServiceReference;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 1 1 record Lio/vertx/servicediscovery/Record;
MethodParameters:
Name Flags
record
public io.vertx.servicediscovery.ServiceReference getReferenceWithConfiguration(io.vertx.servicediscovery.Record, io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/servicediscovery/Record;Lio/vertx/core/json/JsonObject;)Lio/vertx/servicediscovery/ServiceReference;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic io.vertx.servicediscovery.impl.ServiceTypes.get:(Lio/vertx/servicediscovery/Record;)Lio/vertx/servicediscovery/spi/ServiceType;
aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.vertx:Lio/vertx/core/Vertx;
aload 0
aload 1
aload 2
invokeinterface io.vertx.servicediscovery.spi.ServiceType.get:(Lio/vertx/core/Vertx;Lio/vertx/servicediscovery/ServiceDiscovery;Lio/vertx/servicediscovery/Record;Lio/vertx/core/json/JsonObject;)Lio/vertx/servicediscovery/ServiceReference;
astore 3
start local 3 1: aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.bindings:Ljava/util/Set;
aload 3
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
2: aload 0
aload 3
invokevirtual io.vertx.servicediscovery.impl.DiscoveryImpl.sendBindEvent:(Lio/vertx/servicediscovery/ServiceReference;)V
3: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 4 1 record Lio/vertx/servicediscovery/Record;
0 4 2 configuration Lio/vertx/core/json/JsonObject;
1 4 3 reference Lio/vertx/servicediscovery/ServiceReference;
MethodParameters:
Name Flags
record
configuration
private void sendBindEvent(io.vertx.servicediscovery.ServiceReference);
descriptor: (Lio/vertx/servicediscovery/ServiceReference;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.usage:Ljava/lang/String;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.vertx:Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.eventBus:()Lio/vertx/core/eventbus/EventBus;
aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.usage:Ljava/lang/String;
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
3: ldc "type"
ldc "bind"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
4: ldc "record"
aload 1
invokeinterface io.vertx.servicediscovery.ServiceReference.record:()Lio/vertx/servicediscovery/Record;
invokevirtual io.vertx.servicediscovery.Record.toJson:()Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
5: ldc "id"
aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.id:Ljava/lang/String;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
6: invokeinterface io.vertx.core.eventbus.EventBus.publish:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/eventbus/EventBus;
pop
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 8 1 reference Lio/vertx/servicediscovery/ServiceReference;
MethodParameters:
Name Flags
reference
public boolean release(io.vertx.servicediscovery.ServiceReference);
descriptor: (Lio/vertx/servicediscovery/ServiceReference;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.bindings:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
istore 2
start local 2 1: aload 1
invokeinterface io.vertx.servicediscovery.ServiceReference.release:()V
2: aload 0
aload 1
invokevirtual io.vertx.servicediscovery.impl.DiscoveryImpl.sendUnbindEvent:(Lio/vertx/servicediscovery/ServiceReference;)V
3: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 4 1 reference Lio/vertx/servicediscovery/ServiceReference;
1 4 2 removed Z
MethodParameters:
Name Flags
reference
private void sendUnbindEvent(io.vertx.servicediscovery.ServiceReference);
descriptor: (Lio/vertx/servicediscovery/ServiceReference;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.usage:Ljava/lang/String;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.vertx:Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.eventBus:()Lio/vertx/core/eventbus/EventBus;
aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.usage:Ljava/lang/String;
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
3: ldc "type"
ldc "release"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
4: ldc "record"
aload 1
invokeinterface io.vertx.servicediscovery.ServiceReference.record:()Lio/vertx/servicediscovery/Record;
invokevirtual io.vertx.servicediscovery.Record.toJson:()Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
5: ldc "id"
aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.id:Ljava/lang/String;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
6: invokeinterface io.vertx.core.eventbus.EventBus.publish:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/eventbus/EventBus;
pop
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 8 1 reference Lio/vertx/servicediscovery/ServiceReference;
MethodParameters:
Name Flags
reference
public io.vertx.servicediscovery.ServiceDiscovery registerServiceImporter(io.vertx.servicediscovery.spi.ServiceImporter, io.vertx.core.json.JsonObject, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/servicediscovery/spi/ServiceImporter;Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)Lio/vertx/servicediscovery/ServiceDiscovery;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ifnonnull 3
1: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
astore 4
start local 4 2: goto 4
end local 4 3: StackMap locals:
StackMap stack:
aload 2
astore 4
start local 4 4: StackMap locals: io.vertx.core.json.JsonObject
StackMap stack:
invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 5
start local 5 5: aload 5
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
6: aload 0
aload 1
aload 3
invokedynamic handle(Lio/vertx/servicediscovery/impl/DiscoveryImpl;Lio/vertx/servicediscovery/spi/ServiceImporter;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/servicediscovery/impl/DiscoveryImpl.lambda$0(Lio/vertx/servicediscovery/spi/ServiceImporter;Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
7: invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
8: aload 1
aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.vertx:Lio/vertx/core/Vertx;
aload 0
aload 4
aload 5
invokeinterface io.vertx.servicediscovery.spi.ServiceImporter.start:(Lio/vertx/core/Vertx;Lio/vertx/servicediscovery/spi/ServicePublisher;Lio/vertx/core/json/JsonObject;Lio/vertx/core/Promise;)V
9: aload 0
areturn
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 10 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 10 1 importer Lio/vertx/servicediscovery/spi/ServiceImporter;
0 10 2 configuration Lio/vertx/core/json/JsonObject;
0 10 3 completionHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
2 3 4 conf Lio/vertx/core/json/JsonObject;
4 10 4 conf Lio/vertx/core/json/JsonObject;
5 10 5 completed Lio/vertx/core/Promise<Ljava/lang/Void;>;
Signature: (Lio/vertx/servicediscovery/spi/ServiceImporter;Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)Lio/vertx/servicediscovery/ServiceDiscovery;
MethodParameters:
Name Flags
importer
configuration
completionHandler
public io.vertx.core.Future<java.lang.Void> registerServiceImporter(io.vertx.servicediscovery.spi.ServiceImporter, io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/servicediscovery/spi/ServiceImporter;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 3
start local 3 1: aload 0
aload 1
aload 2
aload 3
invokevirtual io.vertx.servicediscovery.impl.DiscoveryImpl.registerServiceImporter:(Lio/vertx/servicediscovery/spi/ServiceImporter;Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)Lio/vertx/servicediscovery/ServiceDiscovery;
pop
2: aload 3
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 3 1 importer Lio/vertx/servicediscovery/spi/ServiceImporter;
0 3 2 configuration Lio/vertx/core/json/JsonObject;
1 3 3 promise Lio/vertx/core/Promise<Ljava/lang/Void;>;
Signature: (Lio/vertx/servicediscovery/spi/ServiceImporter;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
importer
configuration
public io.vertx.core.Future<java.lang.Void> registerServiceExporter(io.vertx.servicediscovery.spi.ServiceExporter, io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/servicediscovery/spi/ServiceExporter;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 3
start local 3 1: aload 0
aload 1
aload 2
aload 3
invokevirtual io.vertx.servicediscovery.impl.DiscoveryImpl.registerServiceExporter:(Lio/vertx/servicediscovery/spi/ServiceExporter;Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)Lio/vertx/servicediscovery/ServiceDiscovery;
pop
2: aload 3
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 3 1 exporter Lio/vertx/servicediscovery/spi/ServiceExporter;
0 3 2 configuration Lio/vertx/core/json/JsonObject;
1 3 3 promise Lio/vertx/core/Promise<Ljava/lang/Void;>;
Signature: (Lio/vertx/servicediscovery/spi/ServiceExporter;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
exporter
configuration
public io.vertx.servicediscovery.ServiceDiscovery registerServiceExporter(io.vertx.servicediscovery.spi.ServiceExporter, io.vertx.core.json.JsonObject, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/servicediscovery/spi/ServiceExporter;Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)Lio/vertx/servicediscovery/ServiceDiscovery;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ifnonnull 3
1: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
astore 4
start local 4 2: goto 4
end local 4 3: StackMap locals:
StackMap stack:
aload 2
astore 4
start local 4 4: StackMap locals: io.vertx.core.json.JsonObject
StackMap stack:
invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 5
start local 5 5: aload 5
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
6: aload 0
aload 1
aload 3
invokedynamic handle(Lio/vertx/servicediscovery/impl/DiscoveryImpl;Lio/vertx/servicediscovery/spi/ServiceExporter;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/servicediscovery/impl/DiscoveryImpl.lambda$1(Lio/vertx/servicediscovery/spi/ServiceExporter;Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
7: invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
8: aload 1
aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.vertx:Lio/vertx/core/Vertx;
aload 0
aload 4
aload 5
invokeinterface io.vertx.servicediscovery.spi.ServiceExporter.init:(Lio/vertx/core/Vertx;Lio/vertx/servicediscovery/spi/ServicePublisher;Lio/vertx/core/json/JsonObject;Lio/vertx/core/Promise;)V
9: aload 0
areturn
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 10 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 10 1 exporter Lio/vertx/servicediscovery/spi/ServiceExporter;
0 10 2 configuration Lio/vertx/core/json/JsonObject;
0 10 3 completionHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
2 3 4 conf Lio/vertx/core/json/JsonObject;
4 10 4 conf Lio/vertx/core/json/JsonObject;
5 10 5 completed Lio/vertx/core/Promise<Ljava/lang/Void;>;
Signature: (Lio/vertx/servicediscovery/spi/ServiceExporter;Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)Lio/vertx/servicediscovery/ServiceDiscovery;
MethodParameters:
Name Flags
exporter
configuration
completionHandler
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: getstatic io.vertx.servicediscovery.impl.DiscoveryImpl.LOGGER:Lio/vertx/core/impl/logging/Logger;
ldc "Stopping service discovery"
invokeinterface io.vertx.core.impl.logging.Logger.info:(Ljava/lang/Object;)V
1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 2: aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.importers:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: io.vertx.servicediscovery.impl.DiscoveryImpl java.util.List top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.servicediscovery.spi.ServiceImporter
astore 2
start local 2 4: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 4
start local 4 5: aload 2
aload 4
invokedynamic handle(Lio/vertx/core/Promise;)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/servicediscovery/impl/DiscoveryImpl.lambda$2(Lio/vertx/core/Promise;Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.servicediscovery.spi.ServiceImporter.close:(Lio/vertx/core/Handler;)V
6: aload 1
aload 4
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.exporters:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 13
StackMap locals:
StackMap stack:
9: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.servicediscovery.spi.ServiceExporter
astore 2
start local 2 10: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 4
start local 4 11: aload 2
aload 4
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic handle(Lio/vertx/core/Promise;)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/Promise.complete(Ljava/lang/Object;)V (9 itf)
(Ljava/lang/Void;)V
invokeinterface io.vertx.servicediscovery.spi.ServiceExporter.close:(Lio/vertx/core/Handler;)V
12: aload 1
aload 4
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 end local 2 13: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
14: aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.bindings:Ljava/util/Set;
invokedynamic accept()Ljava/util/function/Consumer;
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/servicediscovery/ServiceReference.release()V (9 itf)
(Lio/vertx/servicediscovery/ServiceReference;)V
invokeinterface java.util.Set.forEach:(Ljava/util/function/Consumer;)V
15: aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.bindings:Ljava/util/Set;
invokeinterface java.util.Set.clear:()V
16: aload 1
invokestatic io.vertx.core.CompositeFuture.all:(Ljava/util/List;)Lio/vertx/core/CompositeFuture;
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/servicediscovery/impl/DiscoveryImpl.lambda$5(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.CompositeFuture.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/CompositeFuture;
pop
17: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
2 18 1 futures Ljava/util/List<Lio/vertx/core/Future;>;
4 7 2 importer Lio/vertx/servicediscovery/spi/ServiceImporter;
5 7 4 promise Lio/vertx/core/Promise<Ljava/lang/Void;>;
10 13 2 exporter Lio/vertx/servicediscovery/spi/ServiceExporter;
11 13 4 promise Lio/vertx/core/Promise<Ljava/lang/Void;>;
public void publish(io.vertx.servicediscovery.Record, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.servicediscovery.Record>>);
descriptor: (Lio/vertx/servicediscovery/Record;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual io.vertx.servicediscovery.Record.getStatus:()Lio/vertx/servicediscovery/Status;
ifnull 1
aload 1
invokevirtual io.vertx.servicediscovery.Record.getStatus:()Lio/vertx/servicediscovery/Status;
getstatic io.vertx.servicediscovery.Status.UNKNOWN:Lio/vertx/servicediscovery/Status;
if_acmpne 2
1: StackMap locals:
StackMap stack:
getstatic io.vertx.servicediscovery.Status.UP:Lio/vertx/servicediscovery/Status;
goto 3
StackMap locals:
StackMap stack:
2: aload 1
invokevirtual io.vertx.servicediscovery.Record.getStatus:()Lio/vertx/servicediscovery/Status;
3: StackMap locals:
StackMap stack: io.vertx.servicediscovery.Status
astore 3
start local 3 4: aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.backend:Lio/vertx/servicediscovery/spi/ServiceDiscoveryBackend;
aload 1
aload 3
invokevirtual io.vertx.servicediscovery.Record.setStatus:(Lio/vertx/servicediscovery/Status;)Lio/vertx/servicediscovery/Record;
aload 0
aload 2
aload 3
invokedynamic handle(Lio/vertx/servicediscovery/impl/DiscoveryImpl;Lio/vertx/core/Handler;Lio/vertx/servicediscovery/Status;)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/servicediscovery/impl/DiscoveryImpl.lambda$6(Lio/vertx/core/Handler;Lio/vertx/servicediscovery/Status;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.servicediscovery.spi.ServiceDiscoveryBackend.store:(Lio/vertx/servicediscovery/Record;Lio/vertx/core/Handler;)V
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 6 1 record Lio/vertx/servicediscovery/Record;
0 6 2 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/servicediscovery/Record;>;>;
4 6 3 status Lio/vertx/servicediscovery/Status;
Signature: (Lio/vertx/servicediscovery/Record;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/servicediscovery/Record;>;>;)V
MethodParameters:
Name Flags
record
resultHandler
public io.vertx.core.Future<io.vertx.servicediscovery.Record> publish(io.vertx.servicediscovery.Record);
descriptor: (Lio/vertx/servicediscovery/Record;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 2
start local 2 1: aload 0
aload 1
aload 2
invokevirtual io.vertx.servicediscovery.impl.DiscoveryImpl.publish:(Lio/vertx/servicediscovery/Record;Lio/vertx/core/Handler;)V
2: aload 2
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 3 1 record Lio/vertx/servicediscovery/Record;
1 3 2 promise Lio/vertx/core/Promise<Lio/vertx/servicediscovery/Record;>;
Signature: (Lio/vertx/servicediscovery/Record;)Lio/vertx/core/Future<Lio/vertx/servicediscovery/Record;>;
MethodParameters:
Name Flags
record
public void unpublish(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.backend:Lio/vertx/servicediscovery/spi/ServiceDiscoveryBackend;
aload 1
aload 0
aload 2
aload 1
invokedynamic handle(Lio/vertx/servicediscovery/impl/DiscoveryImpl;Lio/vertx/core/Handler;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/servicediscovery/impl/DiscoveryImpl.lambda$7(Lio/vertx/core/Handler;Ljava/lang/String;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.servicediscovery.spi.ServiceDiscoveryBackend.remove:(Ljava/lang/String;Lio/vertx/core/Handler;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 2 1 id Ljava/lang/String;
0 2 2 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
Signature: (Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
id
resultHandler
public io.vertx.core.Future<java.lang.Void> unpublish(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 2
start local 2 1: aload 0
aload 1
aload 2
invokevirtual io.vertx.servicediscovery.impl.DiscoveryImpl.unpublish:(Ljava/lang/String;Lio/vertx/core/Handler;)V
2: aload 2
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 3 1 id Ljava/lang/String;
1 3 2 promise Lio/vertx/core/Promise<Ljava/lang/Void;>;
Signature: (Ljava/lang/String;)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
id
public void getRecord(io.vertx.core.json.JsonObject, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.servicediscovery.Record>>);
descriptor: (Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 1
ifnonnull 4
2: invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
io/vertx/servicediscovery/impl/DiscoveryImpl.lambda$8(Lio/vertx/servicediscovery/Record;)Ljava/lang/Boolean; (6)
(Lio/vertx/servicediscovery/Record;)Ljava/lang/Boolean;
astore 4
start local 4 3: goto 8
end local 4 4: StackMap locals: int
StackMap stack:
aload 1
ldc "status"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
ifnull 5
iconst_1
goto 6
StackMap locals:
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: istore 3
7: aload 1
invokedynamic apply(Lio/vertx/core/json/JsonObject;)Ljava/util/function/Function;
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;)Ljava/lang/Object;
io/vertx/servicediscovery/impl/DiscoveryImpl.lambda$9(Lio/vertx/core/json/JsonObject;Lio/vertx/servicediscovery/Record;)Ljava/lang/Boolean; (6)
(Lio/vertx/servicediscovery/Record;)Ljava/lang/Boolean;
astore 4
start local 4 8: StackMap locals: java.util.function.Function
StackMap stack:
aload 0
aload 4
iload 3
aload 2
invokevirtual io.vertx.servicediscovery.impl.DiscoveryImpl.getRecord:(Ljava/util/function/Function;ZLio/vertx/core/Handler;)V
9: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 10 1 filter Lio/vertx/core/json/JsonObject;
0 10 2 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/servicediscovery/Record;>;>;
1 10 3 includeOutOfService Z
3 4 4 accept Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;
8 10 4 accept Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;
Signature: (Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/servicediscovery/Record;>;>;)V
MethodParameters:
Name Flags
filter
resultHandler
public io.vertx.core.Future<io.vertx.servicediscovery.Record> getRecord(io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/core/json/JsonObject;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 2
start local 2 1: aload 0
aload 1
aload 2
invokevirtual io.vertx.servicediscovery.impl.DiscoveryImpl.getRecord:(Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)V
2: aload 2
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 3 1 filter Lio/vertx/core/json/JsonObject;
1 3 2 promise Lio/vertx/core/Promise<Lio/vertx/servicediscovery/Record;>;
Signature: (Lio/vertx/core/json/JsonObject;)Lio/vertx/core/Future<Lio/vertx/servicediscovery/Record;>;
RuntimeVisibleTypeAnnotations:
METHOD_RETURN, location=[TYPE_ARGUMENT(0)]
io.vertx.codegen.annotations.Nullable()
MethodParameters:
Name Flags
filter
public void getRecord(java.util.function.Function<io.vertx.servicediscovery.Record, java.lang.Boolean>, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.servicediscovery.Record>>);
descriptor: (Ljava/util/function/Function;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iconst_0
aload 2
invokevirtual io.vertx.servicediscovery.impl.DiscoveryImpl.getRecord:(Ljava/util/function/Function;ZLio/vertx/core/Handler;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 2 1 filter Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;
0 2 2 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/servicediscovery/Record;>;>;
Signature: (Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/servicediscovery/Record;>;>;)V
MethodParameters:
Name Flags
filter
resultHandler
public io.vertx.core.Future<io.vertx.servicediscovery.Record> getRecord(java.util.function.Function<io.vertx.servicediscovery.Record, java.lang.Boolean>);
descriptor: (Ljava/util/function/Function;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 2
start local 2 1: aload 0
aload 1
aload 2
invokevirtual io.vertx.servicediscovery.impl.DiscoveryImpl.getRecord:(Ljava/util/function/Function;Lio/vertx/core/Handler;)V
2: aload 2
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 3 1 filter Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;
1 3 2 promise Lio/vertx/core/Promise<Lio/vertx/servicediscovery/Record;>;
Signature: (Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;)Lio/vertx/core/Future<Lio/vertx/servicediscovery/Record;>;
RuntimeVisibleTypeAnnotations:
METHOD_RETURN, location=[TYPE_ARGUMENT(0)]
io.vertx.codegen.annotations.Nullable()
MethodParameters:
Name Flags
filter
public void getRecord(java.util.function.Function<io.vertx.servicediscovery.Record, java.lang.Boolean>, boolean, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.servicediscovery.Record>>);
descriptor: (Ljava/util/function/Function;ZLio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.backend:Lio/vertx/servicediscovery/spi/ServiceDiscoveryBackend;
aload 3
aload 1
iload 2
invokedynamic handle(Lio/vertx/core/Handler;Ljava/util/function/Function;Z)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/servicediscovery/impl/DiscoveryImpl.lambda$10(Lio/vertx/core/Handler;Ljava/util/function/Function;ZLio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.servicediscovery.spi.ServiceDiscoveryBackend.getRecords:(Lio/vertx/core/Handler;)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 3 1 filter Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;
0 3 2 includeOutOfService Z
0 3 3 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/servicediscovery/Record;>;>;
Signature: (Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;ZLio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/servicediscovery/Record;>;>;)V
MethodParameters:
Name Flags
filter
includeOutOfService
resultHandler
public io.vertx.core.Future<io.vertx.servicediscovery.Record> getRecord(java.util.function.Function<io.vertx.servicediscovery.Record, java.lang.Boolean>, boolean);
descriptor: (Ljava/util/function/Function;Z)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 3
start local 3 1: aload 0
aload 1
iload 2
aload 3
invokevirtual io.vertx.servicediscovery.impl.DiscoveryImpl.getRecord:(Ljava/util/function/Function;ZLio/vertx/core/Handler;)V
2: aload 3
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 3 1 filter Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;
0 3 2 includeOutOfService Z
1 3 3 promise Lio/vertx/core/Promise<Lio/vertx/servicediscovery/Record;>;
Signature: (Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;Z)Lio/vertx/core/Future<Lio/vertx/servicediscovery/Record;>;
RuntimeVisibleTypeAnnotations:
METHOD_RETURN, location=[TYPE_ARGUMENT(0)]
io.vertx.codegen.annotations.Nullable()
MethodParameters:
Name Flags
filter
includeOutOfService
public void getRecords(io.vertx.core.json.JsonObject, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<io.vertx.servicediscovery.Record>>>);
descriptor: (Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 1
ifnonnull 4
2: invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
io/vertx/servicediscovery/impl/DiscoveryImpl.lambda$13(Lio/vertx/servicediscovery/Record;)Ljava/lang/Boolean; (6)
(Lio/vertx/servicediscovery/Record;)Ljava/lang/Boolean;
astore 4
start local 4 3: goto 8
end local 4 4: StackMap locals: int
StackMap stack:
aload 1
ldc "status"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
ifnull 5
iconst_1
goto 6
StackMap locals:
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: istore 3
7: aload 1
invokedynamic apply(Lio/vertx/core/json/JsonObject;)Ljava/util/function/Function;
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;)Ljava/lang/Object;
io/vertx/servicediscovery/impl/DiscoveryImpl.lambda$14(Lio/vertx/core/json/JsonObject;Lio/vertx/servicediscovery/Record;)Ljava/lang/Boolean; (6)
(Lio/vertx/servicediscovery/Record;)Ljava/lang/Boolean;
astore 4
start local 4 8: StackMap locals: java.util.function.Function
StackMap stack:
aload 0
aload 4
iload 3
aload 2
invokevirtual io.vertx.servicediscovery.impl.DiscoveryImpl.getRecords:(Ljava/util/function/Function;ZLio/vertx/core/Handler;)V
9: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 10 1 filter Lio/vertx/core/json/JsonObject;
0 10 2 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/util/List<Lio/vertx/servicediscovery/Record;>;>;>;
1 10 3 includeOutOfService Z
3 4 4 accept Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;
8 10 4 accept Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;
Signature: (Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/util/List<Lio/vertx/servicediscovery/Record;>;>;>;)V
MethodParameters:
Name Flags
filter
resultHandler
public io.vertx.core.Future<java.util.List<io.vertx.servicediscovery.Record>> getRecords(io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/core/json/JsonObject;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 2
start local 2 1: aload 0
aload 1
aload 2
invokevirtual io.vertx.servicediscovery.impl.DiscoveryImpl.getRecords:(Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)V
2: aload 2
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 3 1 filter Lio/vertx/core/json/JsonObject;
1 3 2 promise Lio/vertx/core/Promise<Ljava/util/List<Lio/vertx/servicediscovery/Record;>;>;
Signature: (Lio/vertx/core/json/JsonObject;)Lio/vertx/core/Future<Ljava/util/List<Lio/vertx/servicediscovery/Record;>;>;
MethodParameters:
Name Flags
filter
public void getRecords(java.util.function.Function<io.vertx.servicediscovery.Record, java.lang.Boolean>, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<io.vertx.servicediscovery.Record>>>);
descriptor: (Ljava/util/function/Function;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iconst_0
aload 2
invokevirtual io.vertx.servicediscovery.impl.DiscoveryImpl.getRecords:(Ljava/util/function/Function;ZLio/vertx/core/Handler;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 2 1 filter Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;
0 2 2 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/util/List<Lio/vertx/servicediscovery/Record;>;>;>;
Signature: (Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/util/List<Lio/vertx/servicediscovery/Record;>;>;>;)V
MethodParameters:
Name Flags
filter
resultHandler
public io.vertx.core.Future<java.util.List<io.vertx.servicediscovery.Record>> getRecords(java.util.function.Function<io.vertx.servicediscovery.Record, java.lang.Boolean>);
descriptor: (Ljava/util/function/Function;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 2
start local 2 1: aload 0
aload 1
aload 2
invokevirtual io.vertx.servicediscovery.impl.DiscoveryImpl.getRecords:(Ljava/util/function/Function;Lio/vertx/core/Handler;)V
2: aload 2
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 3 1 filter Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;
1 3 2 promise Lio/vertx/core/Promise<Ljava/util/List<Lio/vertx/servicediscovery/Record;>;>;
Signature: (Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;)Lio/vertx/core/Future<Ljava/util/List<Lio/vertx/servicediscovery/Record;>;>;
MethodParameters:
Name Flags
filter
public void getRecords(java.util.function.Function<io.vertx.servicediscovery.Record, java.lang.Boolean>, boolean, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<io.vertx.servicediscovery.Record>>>);
descriptor: (Ljava/util/function/Function;ZLio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.backend:Lio/vertx/servicediscovery/spi/ServiceDiscoveryBackend;
aload 3
aload 1
iload 2
invokedynamic handle(Lio/vertx/core/Handler;Ljava/util/function/Function;Z)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/servicediscovery/impl/DiscoveryImpl.lambda$15(Lio/vertx/core/Handler;Ljava/util/function/Function;ZLio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.servicediscovery.spi.ServiceDiscoveryBackend.getRecords:(Lio/vertx/core/Handler;)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 3 1 filter Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;
0 3 2 includeOutOfService Z
0 3 3 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/util/List<Lio/vertx/servicediscovery/Record;>;>;>;
Signature: (Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;ZLio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/util/List<Lio/vertx/servicediscovery/Record;>;>;>;)V
MethodParameters:
Name Flags
filter
includeOutOfService
resultHandler
public io.vertx.core.Future<java.util.List<io.vertx.servicediscovery.Record>> getRecords(java.util.function.Function<io.vertx.servicediscovery.Record, java.lang.Boolean>, boolean);
descriptor: (Ljava/util/function/Function;Z)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 3
start local 3 1: aload 0
aload 1
iload 2
aload 3
invokevirtual io.vertx.servicediscovery.impl.DiscoveryImpl.getRecords:(Ljava/util/function/Function;ZLio/vertx/core/Handler;)V
2: aload 3
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 3 1 filter Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;
0 3 2 includeOutOfService Z
1 3 3 promise Lio/vertx/core/Promise<Ljava/util/List<Lio/vertx/servicediscovery/Record;>;>;
Signature: (Ljava/util/function/Function<Lio/vertx/servicediscovery/Record;Ljava/lang/Boolean;>;Z)Lio/vertx/core/Future<Ljava/util/List<Lio/vertx/servicediscovery/Record;>;>;
MethodParameters:
Name Flags
filter
includeOutOfService
public void update(io.vertx.servicediscovery.Record, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.servicediscovery.Record>>);
descriptor: (Lio/vertx/servicediscovery/Record;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.backend:Lio/vertx/servicediscovery/spi/ServiceDiscoveryBackend;
aload 1
aload 2
aload 1
invokedynamic handle(Lio/vertx/core/Handler;Lio/vertx/servicediscovery/Record;)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/servicediscovery/impl/DiscoveryImpl.lambda$18(Lio/vertx/core/Handler;Lio/vertx/servicediscovery/Record;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.servicediscovery.spi.ServiceDiscoveryBackend.update:(Lio/vertx/servicediscovery/Record;Lio/vertx/core/Handler;)V
1: aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.exporters:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: io.vertx.servicediscovery.impl.DiscoveryImpl io.vertx.servicediscovery.Record io.vertx.core.Handler top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.servicediscovery.spi.ServiceExporter
astore 3
start local 3 3: aload 3
aload 1
invokeinterface io.vertx.servicediscovery.spi.ServiceExporter.onUpdate:(Lio/vertx/servicediscovery/Record;)V
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: new io.vertx.servicediscovery.Record
dup
aload 1
invokespecial io.vertx.servicediscovery.Record.<init>:(Lio/vertx/servicediscovery/Record;)V
astore 3
start local 3 6: aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.vertx:Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.eventBus:()Lio/vertx/core/eventbus/EventBus;
aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.announce:Ljava/lang/String;
aload 3
invokevirtual io.vertx.servicediscovery.Record.toJson:()Lio/vertx/core/json/JsonObject;
invokeinterface io.vertx.core.eventbus.EventBus.publish:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/eventbus/EventBus;
pop
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 8 1 record Lio/vertx/servicediscovery/Record;
0 8 2 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/servicediscovery/Record;>;>;
3 4 3 exporter Lio/vertx/servicediscovery/spi/ServiceExporter;
6 8 3 announcedRecord Lio/vertx/servicediscovery/Record;
Signature: (Lio/vertx/servicediscovery/Record;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/servicediscovery/Record;>;>;)V
MethodParameters:
Name Flags
record
resultHandler
public io.vertx.core.Future<io.vertx.servicediscovery.Record> update(io.vertx.servicediscovery.Record);
descriptor: (Lio/vertx/servicediscovery/Record;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 2
start local 2 1: aload 0
aload 1
aload 2
invokevirtual io.vertx.servicediscovery.impl.DiscoveryImpl.update:(Lio/vertx/servicediscovery/Record;Lio/vertx/core/Handler;)V
2: aload 2
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 3 1 record Lio/vertx/servicediscovery/Record;
1 3 2 promise Lio/vertx/core/Promise<Lio/vertx/servicediscovery/Record;>;
Signature: (Lio/vertx/servicediscovery/Record;)Lio/vertx/core/Future<Lio/vertx/servicediscovery/Record;>;
MethodParameters:
Name Flags
record
public java.util.Set<io.vertx.servicediscovery.ServiceReference> bindings();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.util.HashSet
dup
aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.bindings:Ljava/util/Set;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
Signature: ()Ljava/util/Set<Lio/vertx/servicediscovery/ServiceReference;>;
public io.vertx.servicediscovery.ServiceDiscoveryOptions options();
descriptor: ()Lio/vertx/servicediscovery/ServiceDiscoveryOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.options:Lio/vertx/servicediscovery/ServiceDiscoveryOptions;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
public void unbind(io.vertx.servicediscovery.ServiceReference);
descriptor: (Lio/vertx/servicediscovery/ServiceReference;)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.servicediscovery.impl.DiscoveryImpl.bindings:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
aload 1
invokevirtual io.vertx.servicediscovery.impl.DiscoveryImpl.sendUnbindEvent:(Lio/vertx/servicediscovery/ServiceReference;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 3 1 reference Lio/vertx/servicediscovery/ServiceReference;
MethodParameters:
Name Flags
reference
private void lambda$0(io.vertx.servicediscovery.spi.ServiceImporter, io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/servicediscovery/spi/ServiceImporter;Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 3 0: aload 3
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 5
1: getstatic io.vertx.servicediscovery.impl.DiscoveryImpl.LOGGER:Lio/vertx/core/impl/logging/Logger;
new java.lang.StringBuilder
dup
ldc "Cannot start the service importer "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokeinterface io.vertx.core.impl.logging.Logger.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
2: aload 2
ifnull 9
3: aload 2
aload 3
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
4: goto 9
5: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.importers:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
6: getstatic io.vertx.servicediscovery.impl.DiscoveryImpl.LOGGER:Lio/vertx/core/impl/logging/Logger;
new java.lang.StringBuilder
dup
ldc "Service importer "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " started"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface io.vertx.core.impl.logging.Logger.info:(Ljava/lang/Object;)V
7: aload 2
ifnull 9
8: aload 2
aconst_null
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
9: StackMap locals:
StackMap stack:
return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 10 3 ar Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
private void lambda$1(io.vertx.servicediscovery.spi.ServiceExporter, io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/servicediscovery/spi/ServiceExporter;Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 3 0: aload 3
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 5
1: getstatic io.vertx.servicediscovery.impl.DiscoveryImpl.LOGGER:Lio/vertx/core/impl/logging/Logger;
new java.lang.StringBuilder
dup
ldc "Cannot start the service importer "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokeinterface io.vertx.core.impl.logging.Logger.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
2: aload 2
ifnull 9
3: aload 2
aload 3
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
4: goto 9
5: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.exporters:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
6: getstatic io.vertx.servicediscovery.impl.DiscoveryImpl.LOGGER:Lio/vertx/core/impl/logging/Logger;
new java.lang.StringBuilder
dup
ldc "Service exporter "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " started"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface io.vertx.core.impl.logging.Logger.info:(Ljava/lang/Object;)V
7: aload 2
ifnull 9
8: aload 2
aconst_null
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
9: StackMap locals:
StackMap stack:
return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 10 3 ar Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
private static void lambda$2(io.vertx.core.Promise, java.lang.Void);
descriptor: (Lio/vertx/core/Promise;Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 1 0: aload 0
invokeinterface io.vertx.core.Promise.complete:()V
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 v Ljava/lang/Void;
private static void lambda$5(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: getstatic io.vertx.servicediscovery.impl.DiscoveryImpl.LOGGER:Lio/vertx/core/impl/logging/Logger;
ldc "Discovery bridges stopped"
invokeinterface io.vertx.core.impl.logging.Logger.info:(Ljava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
getstatic io.vertx.servicediscovery.impl.DiscoveryImpl.LOGGER:Lio/vertx/core/impl/logging/Logger;
ldc "Some discovery bridges did not stopped smoothly"
aload 0
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokeinterface io.vertx.core.impl.logging.Logger.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/CompositeFuture;>;
private void lambda$6(io.vertx.core.Handler, io.vertx.servicediscovery.Status, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/servicediscovery/Status;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 3 0: aload 3
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 3
1: aload 1
aload 3
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.exporters:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 6
StackMap locals: io.vertx.servicediscovery.impl.DiscoveryImpl io.vertx.core.Handler io.vertx.servicediscovery.Status io.vertx.core.AsyncResult top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.servicediscovery.spi.ServiceExporter
astore 4
start local 4 5: aload 4
new io.vertx.servicediscovery.Record
dup
aload 3
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.servicediscovery.Record
invokespecial io.vertx.servicediscovery.Record.<init>:(Lio/vertx/servicediscovery/Record;)V
invokeinterface io.vertx.servicediscovery.spi.ServiceExporter.onPublish:(Lio/vertx/servicediscovery/Record;)V
end local 4 6: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: new io.vertx.servicediscovery.Record
dup
aload 3
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.servicediscovery.Record
invokespecial io.vertx.servicediscovery.Record.<init>:(Lio/vertx/servicediscovery/Record;)V
astore 4
start local 4 8: aload 4
9: aconst_null
invokevirtual io.vertx.servicediscovery.Record.setRegistration:(Ljava/lang/String;)Lio/vertx/servicediscovery/Record;
10: aload 2
invokevirtual io.vertx.servicediscovery.Record.setStatus:(Lio/vertx/servicediscovery/Status;)Lio/vertx/servicediscovery/Record;
pop
11: aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.vertx:Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.eventBus:()Lio/vertx/core/eventbus/EventBus;
aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.announce:Ljava/lang/String;
aload 4
invokevirtual io.vertx.servicediscovery.Record.toJson:()Lio/vertx/core/json/JsonObject;
invokeinterface io.vertx.core.eventbus.EventBus.publish:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/eventbus/EventBus;
pop
12: aload 1
aload 3
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.servicediscovery.Record
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 4 13: return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 14 3 ar Lio/vertx/core/AsyncResult<Lio/vertx/servicediscovery/Record;>;
5 6 4 exporter Lio/vertx/servicediscovery/spi/ServiceExporter;
8 13 4 announcedRecord Lio/vertx/servicediscovery/Record;
private void lambda$7(io.vertx.core.Handler, java.lang.String, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Ljava/lang/String;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 3 0: aload 3
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 3
1: aload 1
aload 3
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.exporters:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 6
StackMap locals: io.vertx.servicediscovery.impl.DiscoveryImpl io.vertx.core.Handler java.lang.String io.vertx.core.AsyncResult top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.servicediscovery.spi.ServiceExporter
astore 4
start local 4 5: aload 4
aload 2
invokeinterface io.vertx.servicediscovery.spi.ServiceExporter.onUnpublish:(Ljava/lang/String;)V
end local 4 6: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: new io.vertx.servicediscovery.Record
dup
aload 3
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.servicediscovery.Record
invokespecial io.vertx.servicediscovery.Record.<init>:(Lio/vertx/servicediscovery/Record;)V
astore 4
start local 4 8: aload 4
9: aconst_null
invokevirtual io.vertx.servicediscovery.Record.setRegistration:(Ljava/lang/String;)Lio/vertx/servicediscovery/Record;
10: getstatic io.vertx.servicediscovery.Status.DOWN:Lio/vertx/servicediscovery/Status;
invokevirtual io.vertx.servicediscovery.Record.setStatus:(Lio/vertx/servicediscovery/Status;)Lio/vertx/servicediscovery/Record;
pop
11: aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.vertx:Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.eventBus:()Lio/vertx/core/eventbus/EventBus;
aload 0
getfield io.vertx.servicediscovery.impl.DiscoveryImpl.announce:Ljava/lang/String;
aload 4
invokevirtual io.vertx.servicediscovery.Record.toJson:()Lio/vertx/core/json/JsonObject;
invokeinterface io.vertx.core.eventbus.EventBus.publish:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/eventbus/EventBus;
pop
12: aload 1
invokestatic io.vertx.core.Future.succeededFuture:()Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 4 13: return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/vertx/servicediscovery/impl/DiscoveryImpl;
0 14 3 record Lio/vertx/core/AsyncResult<Lio/vertx/servicediscovery/Record;>;
5 6 4 exporter Lio/vertx/servicediscovery/spi/ServiceExporter;
8 13 4 announcedRecord Lio/vertx/servicediscovery/Record;
private static java.lang.Boolean lambda$8(io.vertx.servicediscovery.Record);
descriptor: (Lio/vertx/servicediscovery/Record;)Ljava/lang/Boolean;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 r Lio/vertx/servicediscovery/Record;
private static java.lang.Boolean lambda$9(io.vertx.core.json.JsonObject, io.vertx.servicediscovery.Record);
descriptor: (Lio/vertx/core/json/JsonObject;Lio/vertx/servicediscovery/Record;)Ljava/lang/Boolean;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
aload 0
invokevirtual io.vertx.servicediscovery.Record.match:(Lio/vertx/core/json/JsonObject;)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 r Lio/vertx/servicediscovery/Record;
private static void lambda$10(io.vertx.core.Handler, java.util.function.Function, boolean, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Ljava/util/function/Function;ZLio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=5, args_size=4
start local 3 0: aload 3
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 3
1: aload 0
aload 3
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: goto 12
3: StackMap locals:
StackMap stack:
aload 3
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
4: aload 1
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic test(Ljava/util/function/Function;)Ljava/util/function/Predicate;
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;)Z
java/util/function/Function.apply(Ljava/lang/Object;)Ljava/lang/Object; (9 itf)
(Lio/vertx/servicediscovery/Record;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
5: iload 2
invokedynamic test(Z)Ljava/util/function/Predicate;
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;)Z
io/vertx/servicediscovery/impl/DiscoveryImpl.lambda$12(ZLio/vertx/servicediscovery/Record;)Z (6)
(Lio/vertx/servicediscovery/Record;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
6: invokeinterface java.util.stream.Stream.findAny:()Ljava/util/Optional;
7: astore 4
start local 4 8: aload 4
invokevirtual java.util.Optional.isPresent:()Z
ifeq 11
9: aload 0
aload 4
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast io.vertx.servicediscovery.Record
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
10: goto 12
11: StackMap locals: java.util.Optional
StackMap stack:
aload 0
aconst_null
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 4 12: StackMap locals:
StackMap stack:
return
end local 3 LocalVariableTable:
Start End Slot Name Signature
0 13 3 list Lio/vertx/core/AsyncResult<Ljava/util/List<Lio/vertx/servicediscovery/Record;>;>;
8 12 4 any Ljava/util/Optional<Lio/vertx/servicediscovery/Record;>;
private static java.lang.Boolean lambda$13(io.vertx.servicediscovery.Record);
descriptor: (Lio/vertx/servicediscovery/Record;)Ljava/lang/Boolean;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 r Lio/vertx/servicediscovery/Record;
private static java.lang.Boolean lambda$14(io.vertx.core.json.JsonObject, io.vertx.servicediscovery.Record);
descriptor: (Lio/vertx/core/json/JsonObject;Lio/vertx/servicediscovery/Record;)Ljava/lang/Boolean;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
aload 0
invokevirtual io.vertx.servicediscovery.Record.match:(Lio/vertx/core/json/JsonObject;)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 r Lio/vertx/servicediscovery/Record;
private static void lambda$15(io.vertx.core.Handler, java.util.function.Function, boolean, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Ljava/util/function/Function;ZLio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
start local 3 0: aload 3
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 3
1: aload 0
aload 3
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: goto 9
3: StackMap locals:
StackMap stack:
aload 0
4: aload 3
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
5: aload 1
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic test(Ljava/util/function/Function;)Ljava/util/function/Predicate;
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;)Z
java/util/function/Function.apply(Ljava/lang/Object;)Ljava/lang/Object; (9 itf)
(Lio/vertx/servicediscovery/Record;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
6: iload 2
invokedynamic test(Z)Ljava/util/function/Predicate;
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;)Z
io/vertx/servicediscovery/impl/DiscoveryImpl.lambda$17(ZLio/vertx/servicediscovery/Record;)Z (6)
(Lio/vertx/servicediscovery/Record;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
7: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
8: invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
9: StackMap locals:
StackMap stack:
return
end local 3 LocalVariableTable:
Start End Slot Name Signature
0 10 3 list Lio/vertx/core/AsyncResult<Ljava/util/List<Lio/vertx/servicediscovery/Record;>;>;
private static void lambda$18(io.vertx.core.Handler, io.vertx.servicediscovery.Record, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/servicediscovery/Record;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 3
1: aload 0
aload 2
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 5 2 ar Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
private static boolean lambda$12(boolean, io.vertx.servicediscovery.Record);
descriptor: (ZLio/vertx/servicediscovery/Record;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: iload 0
ifne 1
aload 1
invokevirtual io.vertx.servicediscovery.Record.getStatus:()Lio/vertx/servicediscovery/Status;
getstatic io.vertx.servicediscovery.Status.UP:Lio/vertx/servicediscovery/Status;
if_acmpeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 record Lio/vertx/servicediscovery/Record;
private static boolean lambda$17(boolean, io.vertx.servicediscovery.Record);
descriptor: (ZLio/vertx/servicediscovery/Record;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: iload 0
ifne 1
aload 1
invokevirtual io.vertx.servicediscovery.Record.getStatus:()Lio/vertx/servicediscovery/Status;
getstatic io.vertx.servicediscovery.Status.UP:Lio/vertx/servicediscovery/Status;
if_acmpeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 record Lio/vertx/servicediscovery/Record;
}
SourceFile: "DiscoveryImpl.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles