public class examples.ServiceDiscoveryBridgeZookeeperExamples
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: examples.ServiceDiscoveryBridgeZookeeperExamples
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.ServiceDiscoveryBridgeZookeeperExamples this
0: .line 27
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // examples.ServiceDiscoveryBridgeZookeeperExamples this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lexamples/ServiceDiscoveryBridgeZookeeperExamples;
public void register(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.ServiceDiscoveryBridgeZookeeperExamples this
start local 1 // io.vertx.core.Vertx vertx
0: .line 30
aload 1 /* vertx */
invokestatic io.vertx.servicediscovery.ServiceDiscovery.create:(Lio/vertx/core/Vertx;)Lio/vertx/servicediscovery/ServiceDiscovery;
1: .line 31
new io.vertx.servicediscovery.zookeeper.ZookeeperServiceImporter
dup
invokespecial io.vertx.servicediscovery.zookeeper.ZookeeperServiceImporter.<init>:()V
2: .line 32
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
3: .line 33
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;
4: .line 31
invokeinterface io.vertx.servicediscovery.ServiceDiscovery.registerServiceImporter:(Lio/vertx/servicediscovery/spi/ServiceImporter;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/Future;
pop
5: .line 34
return
end local 1 // io.vertx.core.Vertx vertx
end local 0 // examples.ServiceDiscoveryBridgeZookeeperExamples this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lexamples/ServiceDiscoveryBridgeZookeeperExamples;
0 6 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public void register2(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.ServiceDiscoveryBridgeZookeeperExamples this
start local 1 // io.vertx.core.Vertx vertx
0: .line 38
aload 1 /* vertx */
invokestatic io.vertx.servicediscovery.ServiceDiscovery.create:(Lio/vertx/core/Vertx;)Lio/vertx/servicediscovery/ServiceDiscovery;
1: .line 39
new io.vertx.servicediscovery.zookeeper.ZookeeperServiceImporter
dup
invokespecial io.vertx.servicediscovery.zookeeper.ZookeeperServiceImporter.<init>:()V
2: .line 40
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
3: .line 41
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;
4: .line 42
ldc "maxRetries"
iconst_5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
5: .line 43
ldc "baseSleepTimeBetweenRetries"
sipush 2000
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
6: .line 44
ldc "basePath"
ldc "/services"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
7: .line 39
invokeinterface io.vertx.servicediscovery.ServiceDiscovery.registerServiceImporter:(Lio/vertx/servicediscovery/spi/ServiceImporter;Lio/vertx/core/json/JsonObject;)Lio/vertx/core/Future;
pop
8: .line 46
return
end local 1 // io.vertx.core.Vertx vertx
end local 0 // examples.ServiceDiscoveryBridgeZookeeperExamples this
LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lexamples/ServiceDiscoveryBridgeZookeeperExamples;
0 9 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
}
SourceFile: "ServiceDiscoveryBridgeZookeeperExamples.java"