public class examples.ServiceDiscoveryBackendZookeeperExamples
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: examples.ServiceDiscoveryBackendZookeeperExamples
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // examples.ServiceDiscoveryBackendZookeeperExamples this
0: .line 9
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // examples.ServiceDiscoveryBackendZookeeperExamples this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lexamples/ServiceDiscoveryBackendZookeeperExamples;
public void configuration1(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 // examples.ServiceDiscoveryBackendZookeeperExamples this
start local 1 // io.vertx.core.Vertx vertx
0: .line 12
aload 1 /* vertx */
new io.vertx.servicediscovery.ServiceDiscoveryOptions
dup
invokespecial io.vertx.servicediscovery.ServiceDiscoveryOptions.<init>:()V
1: .line 14
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
2: .line 15
ldc "connection"
ldc "127.0.0.1:2181"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
3: .line 13
invokevirtual io.vertx.servicediscovery.ServiceDiscoveryOptions.setBackendConfiguration:(Lio/vertx/core/json/JsonObject;)Lio/vertx/servicediscovery/ServiceDiscoveryOptions;
4: .line 12
invokestatic io.vertx.servicediscovery.ServiceDiscovery.create:(Lio/vertx/core/Vertx;Lio/vertx/servicediscovery/ServiceDiscoveryOptions;)Lio/vertx/servicediscovery/ServiceDiscovery;
pop
5: .line 17
return
end local 1 // io.vertx.core.Vertx vertx
end local 0 // examples.ServiceDiscoveryBackendZookeeperExamples this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lexamples/ServiceDiscoveryBackendZookeeperExamples;
0 6 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public void configuration2(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 // examples.ServiceDiscoveryBackendZookeeperExamples this
start local 1 // io.vertx.core.Vertx vertx
0: .line 20
aload 1 /* vertx */
new io.vertx.servicediscovery.ServiceDiscoveryOptions
dup
invokespecial io.vertx.servicediscovery.ServiceDiscoveryOptions.<init>:()V
1: .line 22
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
2: .line 23
ldc "connection"
ldc "127.0.0.1:2181"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
3: .line 24
ldc "ephemeral"
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
4: .line 25
ldc "guaranteed"
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
5: .line 26
ldc "basePath"
ldc "/services/my-backend"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
6: .line 21
invokevirtual io.vertx.servicediscovery.ServiceDiscoveryOptions.setBackendConfiguration:(Lio/vertx/core/json/JsonObject;)Lio/vertx/servicediscovery/ServiceDiscoveryOptions;
7: .line 20
invokestatic io.vertx.servicediscovery.ServiceDiscovery.create:(Lio/vertx/core/Vertx;Lio/vertx/servicediscovery/ServiceDiscoveryOptions;)Lio/vertx/servicediscovery/ServiceDiscovery;
pop
8: .line 28
return
end local 1 // io.vertx.core.Vertx vertx
end local 0 // examples.ServiceDiscoveryBackendZookeeperExamples this
LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lexamples/ServiceDiscoveryBackendZookeeperExamples;
0 9 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
}
SourceFile: "ServiceDiscoveryBackendZookeeperExamples.java"