public class examples.ConfigExamples
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: examples.ConfigExamples
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 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lexamples/ConfigExamples;
public void example1(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic io.vertx.config.ConfigRetriever.create:(Lio/vertx/core/Vertx;)Lio/vertx/config/ConfigRetriever;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/ConfigExamples;
0 2 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public void example2(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: new io.vertx.config.ConfigStoreOptions
dup
invokespecial io.vertx.config.ConfigStoreOptions.<init>:()V
1: ldc "http"
invokevirtual io.vertx.config.ConfigStoreOptions.setType:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
2: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
3: ldc "host"
ldc "localhost"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
ldc "port"
sipush 8080
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;
ldc "path"
ldc "/conf"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
4: invokevirtual io.vertx.config.ConfigStoreOptions.setConfig:(Lio/vertx/core/json/JsonObject;)Lio/vertx/config/ConfigStoreOptions;
5: astore 2
start local 2 6: new io.vertx.config.ConfigStoreOptions
dup
invokespecial io.vertx.config.ConfigStoreOptions.<init>:()V
7: ldc "file"
invokevirtual io.vertx.config.ConfigStoreOptions.setType:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
8: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "path"
ldc "my-config.json"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.config.ConfigStoreOptions.setConfig:(Lio/vertx/core/json/JsonObject;)Lio/vertx/config/ConfigStoreOptions;
9: astore 3
start local 3 10: new io.vertx.config.ConfigStoreOptions
dup
invokespecial io.vertx.config.ConfigStoreOptions.<init>:()V
ldc "sys"
invokevirtual io.vertx.config.ConfigStoreOptions.setType:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
astore 4
start local 4 11: new io.vertx.config.ConfigRetrieverOptions
dup
invokespecial io.vertx.config.ConfigRetrieverOptions.<init>:()V
12: aload 2
invokevirtual io.vertx.config.ConfigRetrieverOptions.addStore:(Lio/vertx/config/ConfigStoreOptions;)Lio/vertx/config/ConfigRetrieverOptions;
aload 3
invokevirtual io.vertx.config.ConfigRetrieverOptions.addStore:(Lio/vertx/config/ConfigStoreOptions;)Lio/vertx/config/ConfigRetrieverOptions;
aload 4
invokevirtual io.vertx.config.ConfigRetrieverOptions.addStore:(Lio/vertx/config/ConfigStoreOptions;)Lio/vertx/config/ConfigRetrieverOptions;
13: astore 5
start local 5 14: aload 1
aload 5
invokestatic io.vertx.config.ConfigRetriever.create:(Lio/vertx/core/Vertx;Lio/vertx/config/ConfigRetrieverOptions;)Lio/vertx/config/ConfigRetriever;
pop
15: return
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 16 0 this Lexamples/ConfigExamples;
0 16 1 vertx Lio/vertx/core/Vertx;
6 16 2 httpStore Lio/vertx/config/ConfigStoreOptions;
10 16 3 fileStore Lio/vertx/config/ConfigStoreOptions;
11 16 4 sysPropsStore Lio/vertx/config/ConfigStoreOptions;
14 16 5 options Lio/vertx/config/ConfigRetrieverOptions;
MethodParameters:
Name Flags
vertx
public void example2_optional(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: new io.vertx.config.ConfigStoreOptions
dup
invokespecial io.vertx.config.ConfigStoreOptions.<init>:()V
1: ldc "file"
invokevirtual io.vertx.config.ConfigStoreOptions.setType:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
2: iconst_1
invokevirtual io.vertx.config.ConfigStoreOptions.setOptional:(Z)Lio/vertx/config/ConfigStoreOptions;
3: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "path"
ldc "my-config.json"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.config.ConfigStoreOptions.setConfig:(Lio/vertx/core/json/JsonObject;)Lio/vertx/config/ConfigStoreOptions;
4: astore 2
start local 2 5: new io.vertx.config.ConfigStoreOptions
dup
invokespecial io.vertx.config.ConfigStoreOptions.<init>:()V
ldc "sys"
invokevirtual io.vertx.config.ConfigStoreOptions.setType:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
astore 3
start local 3 6: new io.vertx.config.ConfigRetrieverOptions
dup
invokespecial io.vertx.config.ConfigRetrieverOptions.<init>:()V
aload 2
invokevirtual io.vertx.config.ConfigRetrieverOptions.addStore:(Lio/vertx/config/ConfigStoreOptions;)Lio/vertx/config/ConfigRetrieverOptions;
aload 3
invokevirtual io.vertx.config.ConfigRetrieverOptions.addStore:(Lio/vertx/config/ConfigStoreOptions;)Lio/vertx/config/ConfigRetrieverOptions;
astore 4
start local 4 7: aload 1
aload 4
invokestatic io.vertx.config.ConfigRetriever.create:(Lio/vertx/core/Vertx;Lio/vertx/config/ConfigRetrieverOptions;)Lio/vertx/config/ConfigRetriever;
pop
8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lexamples/ConfigExamples;
0 9 1 vertx Lio/vertx/core/Vertx;
5 9 2 fileStore Lio/vertx/config/ConfigStoreOptions;
6 9 3 sysPropsStore Lio/vertx/config/ConfigStoreOptions;
7 9 4 options Lio/vertx/config/ConfigRetrieverOptions;
MethodParameters:
Name Flags
vertx
public void example3(io.vertx.config.ConfigRetriever);
descriptor: (Lio/vertx/config/ConfigRetriever;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
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
examples/ConfigExamples.lambda$0(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.config.ConfigRetriever.getConfig:(Lio/vertx/core/Handler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/ConfigExamples;
0 2 1 retriever Lio/vertx/config/ConfigRetriever;
MethodParameters:
Name Flags
retriever
public void future(io.vertx.config.ConfigRetriever);
descriptor: (Lio/vertx/config/ConfigRetriever;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.config.ConfigRetriever.getConfig:()Lio/vertx/core/Future;
astore 2
start local 2 1: aload 2
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
examples/ConfigExamples.lambda$1(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/ConfigExamples;
0 3 1 retriever Lio/vertx/config/ConfigRetriever;
1 3 2 future Lio/vertx/core/Future<Lio/vertx/core/json/JsonObject;>;
MethodParameters:
Name Flags
retriever
public void file();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new io.vertx.config.ConfigStoreOptions
dup
invokespecial io.vertx.config.ConfigStoreOptions.<init>:()V
1: ldc "file"
invokevirtual io.vertx.config.ConfigStoreOptions.setType:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
2: ldc "properties"
invokevirtual io.vertx.config.ConfigStoreOptions.setFormat:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
3: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "path"
ldc "path-to-file.properties"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.config.ConfigStoreOptions.setConfig:(Lio/vertx/core/json/JsonObject;)Lio/vertx/config/ConfigStoreOptions;
pop
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lexamples/ConfigExamples;
public void json();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new io.vertx.config.ConfigStoreOptions
dup
invokespecial io.vertx.config.ConfigStoreOptions.<init>:()V
1: ldc "json"
invokevirtual io.vertx.config.ConfigStoreOptions.setType:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
2: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "key"
ldc "value"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.config.ConfigStoreOptions.setConfig:(Lio/vertx/core/json/JsonObject;)Lio/vertx/config/ConfigStoreOptions;
pop
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/ConfigExamples;
public void sys();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new io.vertx.config.ConfigStoreOptions
dup
invokespecial io.vertx.config.ConfigStoreOptions.<init>:()V
1: ldc "sys"
invokevirtual io.vertx.config.ConfigStoreOptions.setType:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
2: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "cache"
ldc "false"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.config.ConfigStoreOptions.setConfig:(Lio/vertx/core/json/JsonObject;)Lio/vertx/config/ConfigStoreOptions;
pop
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/ConfigExamples;
public void env();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new io.vertx.config.ConfigStoreOptions
dup
invokespecial io.vertx.config.ConfigStoreOptions.<init>:()V
1: ldc "env"
invokevirtual io.vertx.config.ConfigStoreOptions.setType:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
pop
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/ConfigExamples;
public void env2();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new io.vertx.config.ConfigStoreOptions
dup
invokespecial io.vertx.config.ConfigStoreOptions.<init>:()V
1: ldc "env"
invokevirtual io.vertx.config.ConfigStoreOptions.setType:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
2: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "raw-data"
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;
invokevirtual io.vertx.config.ConfigStoreOptions.setConfig:(Lio/vertx/core/json/JsonObject;)Lio/vertx/config/ConfigStoreOptions;
pop
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/ConfigExamples;
public void env3();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new io.vertx.config.ConfigStoreOptions
dup
invokespecial io.vertx.config.ConfigStoreOptions.<init>:()V
1: ldc "env"
invokevirtual io.vertx.config.ConfigStoreOptions.setType:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
2: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "keys"
new io.vertx.core.json.JsonArray
dup
invokespecial io.vertx.core.json.JsonArray.<init>:()V
ldc "SERVICE1_HOST"
invokevirtual io.vertx.core.json.JsonArray.add:(Ljava/lang/Object;)Lio/vertx/core/json/JsonArray;
ldc "SERVICE2_HOST"
invokevirtual io.vertx.core.json.JsonArray.add:(Ljava/lang/Object;)Lio/vertx/core/json/JsonArray;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.config.ConfigStoreOptions.setConfig:(Lio/vertx/core/json/JsonObject;)Lio/vertx/config/ConfigStoreOptions;
pop
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/ConfigExamples;
public void http();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new io.vertx.config.ConfigStoreOptions
dup
invokespecial io.vertx.config.ConfigStoreOptions.<init>:()V
1: ldc "http"
invokevirtual io.vertx.config.ConfigStoreOptions.setType:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
2: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
3: ldc "host"
ldc "localhost"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
4: ldc "port"
sipush 8080
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: ldc "path"
ldc "/A"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
6: invokevirtual io.vertx.config.ConfigStoreOptions.setConfig:(Lio/vertx/core/json/JsonObject;)Lio/vertx/config/ConfigStoreOptions;
pop
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lexamples/ConfigExamples;
public void http2();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: new io.vertx.config.ConfigStoreOptions
dup
invokespecial io.vertx.config.ConfigStoreOptions.<init>:()V
1: ldc "http"
invokevirtual io.vertx.config.ConfigStoreOptions.setType:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
2: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
3: ldc "defaultHost"
ldc "localhost"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
4: ldc "defaultPort"
sipush 8080
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: ldc "ssl"
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;
6: ldc "path"
ldc "/A"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
7: ldc "headers"
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "Accept"
ldc "application/json"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
8: invokevirtual io.vertx.config.ConfigStoreOptions.setConfig:(Lio/vertx/core/json/JsonObject;)Lio/vertx/config/ConfigStoreOptions;
pop
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lexamples/ConfigExamples;
public void eb();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new io.vertx.config.ConfigStoreOptions
dup
invokespecial io.vertx.config.ConfigStoreOptions.<init>:()V
1: ldc "event-bus"
invokevirtual io.vertx.config.ConfigStoreOptions.setType:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
2: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
3: ldc "address"
ldc "address-getting-the-conf"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
4: invokevirtual io.vertx.config.ConfigStoreOptions.setConfig:(Lio/vertx/core/json/JsonObject;)Lio/vertx/config/ConfigStoreOptions;
pop
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lexamples/ConfigExamples;
public void dir();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: new io.vertx.config.ConfigStoreOptions
dup
invokespecial io.vertx.config.ConfigStoreOptions.<init>:()V
1: ldc "directory"
invokevirtual io.vertx.config.ConfigStoreOptions.setType:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
2: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "path"
ldc "config"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
3: ldc "filesets"
new io.vertx.core.json.JsonArray
dup
invokespecial io.vertx.core.json.JsonArray.<init>:()V
4: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "pattern"
ldc "dir/*json"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.core.json.JsonArray.add:(Ljava/lang/Object;)Lio/vertx/core/json/JsonArray;
5: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "pattern"
ldc "dir/*.properties"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
6: ldc "format"
ldc "properties"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
7: invokevirtual io.vertx.core.json.JsonArray.add:(Ljava/lang/Object;)Lio/vertx/core/json/JsonArray;
8: invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
9: invokevirtual io.vertx.config.ConfigStoreOptions.setConfig:(Lio/vertx/core/json/JsonObject;)Lio/vertx/config/ConfigStoreOptions;
pop
10: new io.vertx.config.ConfigStoreOptions
dup
invokespecial io.vertx.config.ConfigStoreOptions.<init>:()V
11: ldc "directory"
invokevirtual io.vertx.config.ConfigStoreOptions.setType:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
12: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "path"
ldc "config"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
13: ldc "filesets"
new io.vertx.core.json.JsonArray
dup
invokespecial io.vertx.core.json.JsonArray.<init>:()V
14: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "pattern"
ldc "dir/*json"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.core.json.JsonArray.add:(Ljava/lang/Object;)Lio/vertx/core/json/JsonArray;
15: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "pattern"
ldc "dir/*.properties"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
16: ldc "format"
ldc "properties"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
ldc "raw-data"
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;
17: invokevirtual io.vertx.core.json.JsonArray.add:(Ljava/lang/Object;)Lio/vertx/core/json/JsonArray;
18: invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
19: invokevirtual io.vertx.config.ConfigStoreOptions.setConfig:(Lio/vertx/core/json/JsonObject;)Lio/vertx/config/ConfigStoreOptions;
pop
20: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lexamples/ConfigExamples;
public void propsWithRawData();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new io.vertx.config.ConfigStoreOptions
dup
invokespecial io.vertx.config.ConfigStoreOptions.<init>:()V
1: ldc "properties"
invokevirtual io.vertx.config.ConfigStoreOptions.setFormat:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
2: ldc "file"
invokevirtual io.vertx.config.ConfigStoreOptions.setType:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
3: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "path"
ldc "raw.properties"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
ldc "raw-data"
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;
invokevirtual io.vertx.config.ConfigStoreOptions.setConfig:(Lio/vertx/core/json/JsonObject;)Lio/vertx/config/ConfigStoreOptions;
pop
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lexamples/ConfigExamples;
public void propsWitHierarchicalStructure();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: new io.vertx.config.ConfigStoreOptions
dup
invokespecial io.vertx.config.ConfigStoreOptions.<init>:()V
1: ldc "properties"
invokevirtual io.vertx.config.ConfigStoreOptions.setFormat:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
2: ldc "file"
invokevirtual io.vertx.config.ConfigStoreOptions.setType:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
3: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "path"
ldc "hierarchical.properties"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
ldc "hierarchical"
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;
invokevirtual io.vertx.config.ConfigStoreOptions.setConfig:(Lio/vertx/core/json/JsonObject;)Lio/vertx/config/ConfigStoreOptions;
4: astore 1
start local 1 5: new io.vertx.config.ConfigRetrieverOptions
dup
invokespecial io.vertx.config.ConfigRetrieverOptions.<init>:()V
6: aload 1
invokevirtual io.vertx.config.ConfigRetrieverOptions.addStore:(Lio/vertx/config/ConfigStoreOptions;)Lio/vertx/config/ConfigRetrieverOptions;
7: astore 2
start local 2 8: invokestatic io.vertx.core.Vertx.vertx:()Lio/vertx/core/Vertx;
aload 2
invokestatic io.vertx.config.ConfigRetriever.create:(Lio/vertx/core/Vertx;Lio/vertx/config/ConfigRetrieverOptions;)Lio/vertx/config/ConfigRetriever;
astore 3
start local 3 9: aload 3
invokeinterface io.vertx.config.ConfigRetriever.configStream:()Lio/vertx/core/streams/ReadStream;
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
examples/ConfigExamples.lambda$2(Lio/vertx/core/json/JsonObject;)V (6)
(Lio/vertx/core/json/JsonObject;)V
invokeinterface io.vertx.core.streams.ReadStream.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
pop
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lexamples/ConfigExamples;
5 11 1 propertyWitHierarchical Lio/vertx/config/ConfigStoreOptions;
8 11 2 options Lio/vertx/config/ConfigRetrieverOptions;
9 11 3 configRetriever Lio/vertx/config/ConfigRetriever;
public void consul();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new io.vertx.config.ConfigStoreOptions
dup
invokespecial io.vertx.config.ConfigStoreOptions.<init>:()V
1: ldc "consul"
invokevirtual io.vertx.config.ConfigStoreOptions.setType:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
2: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
3: ldc "prefix"
ldc "foo"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
4: invokevirtual io.vertx.config.ConfigStoreOptions.setConfig:(Lio/vertx/core/json/JsonObject;)Lio/vertx/config/ConfigStoreOptions;
pop
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lexamples/ConfigExamples;
public void period(io.vertx.config.ConfigStoreOptions, io.vertx.config.ConfigStoreOptions);
descriptor: (Lio/vertx/config/ConfigStoreOptions;Lio/vertx/config/ConfigStoreOptions;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new io.vertx.config.ConfigRetrieverOptions
dup
invokespecial io.vertx.config.ConfigRetrieverOptions.<init>:()V
1: ldc 2000
invokevirtual io.vertx.config.ConfigRetrieverOptions.setScanPeriod:(J)Lio/vertx/config/ConfigRetrieverOptions;
2: aload 1
invokevirtual io.vertx.config.ConfigRetrieverOptions.addStore:(Lio/vertx/config/ConfigStoreOptions;)Lio/vertx/config/ConfigRetrieverOptions;
3: aload 2
invokevirtual io.vertx.config.ConfigRetrieverOptions.addStore:(Lio/vertx/config/ConfigStoreOptions;)Lio/vertx/config/ConfigRetrieverOptions;
4: astore 3
start local 3 5: invokestatic io.vertx.core.Vertx.vertx:()Lio/vertx/core/Vertx;
aload 3
invokestatic io.vertx.config.ConfigRetriever.create:(Lio/vertx/core/Vertx;Lio/vertx/config/ConfigRetrieverOptions;)Lio/vertx/config/ConfigRetriever;
astore 4
start local 4 6: aload 4
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
examples/ConfigExamples.lambda$3(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.config.ConfigRetriever.getConfig:(Lio/vertx/core/Handler;)V
7: aload 4
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
examples/ConfigExamples.lambda$4(Lio/vertx/config/ConfigChange;)V (6)
(Lio/vertx/config/ConfigChange;)V
invokeinterface io.vertx.config.ConfigRetriever.listen:(Lio/vertx/core/Handler;)V
8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lexamples/ConfigExamples;
0 9 1 store1 Lio/vertx/config/ConfigStoreOptions;
0 9 2 store2 Lio/vertx/config/ConfigStoreOptions;
5 9 3 options Lio/vertx/config/ConfigRetrieverOptions;
6 9 4 retriever Lio/vertx/config/ConfigRetriever;
MethodParameters:
Name Flags
store1
store2
public void stream(io.vertx.config.ConfigStoreOptions, io.vertx.config.ConfigStoreOptions);
descriptor: (Lio/vertx/config/ConfigStoreOptions;Lio/vertx/config/ConfigStoreOptions;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new io.vertx.config.ConfigRetrieverOptions
dup
invokespecial io.vertx.config.ConfigRetrieverOptions.<init>:()V
1: ldc 2000
invokevirtual io.vertx.config.ConfigRetrieverOptions.setScanPeriod:(J)Lio/vertx/config/ConfigRetrieverOptions;
2: aload 1
invokevirtual io.vertx.config.ConfigRetrieverOptions.addStore:(Lio/vertx/config/ConfigStoreOptions;)Lio/vertx/config/ConfigRetrieverOptions;
3: aload 2
invokevirtual io.vertx.config.ConfigRetrieverOptions.addStore:(Lio/vertx/config/ConfigStoreOptions;)Lio/vertx/config/ConfigRetrieverOptions;
4: astore 3
start local 3 5: invokestatic io.vertx.core.Vertx.vertx:()Lio/vertx/core/Vertx;
aload 3
invokestatic io.vertx.config.ConfigRetriever.create:(Lio/vertx/core/Vertx;Lio/vertx/config/ConfigRetrieverOptions;)Lio/vertx/config/ConfigRetriever;
astore 4
start local 4 6: aload 4
invokeinterface io.vertx.config.ConfigRetriever.configStream:()Lio/vertx/core/streams/ReadStream;
7: 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
examples/ConfigExamples.lambda$5(Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.streams.ReadStream.endHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
8: 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
examples/ConfigExamples.lambda$6(Ljava/lang/Throwable;)V (6)
(Ljava/lang/Throwable;)V
invokeinterface io.vertx.core.streams.ReadStream.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
9: 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
examples/ConfigExamples.lambda$7(Lio/vertx/core/json/JsonObject;)V (6)
(Lio/vertx/core/json/JsonObject;)V
invokeinterface io.vertx.core.streams.ReadStream.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
pop
10: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lexamples/ConfigExamples;
0 11 1 store1 Lio/vertx/config/ConfigStoreOptions;
0 11 2 store2 Lio/vertx/config/ConfigStoreOptions;
5 11 3 options Lio/vertx/config/ConfigRetrieverOptions;
6 11 4 retriever Lio/vertx/config/ConfigRetriever;
MethodParameters:
Name Flags
store1
store2
public void cache(io.vertx.config.ConfigRetriever);
descriptor: (Lio/vertx/config/ConfigRetriever;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.config.ConfigRetriever.getCachedConfig:()Lio/vertx/core/json/JsonObject;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/ConfigExamples;
0 2 1 retriever Lio/vertx/config/ConfigRetriever;
MethodParameters:
Name Flags
retriever
private static void lambda$0(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifne 2
1: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.json.JsonObject
pop
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/json/JsonObject;>;
private static void lambda$1(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifne 2
1: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.json.JsonObject
pop
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/json/JsonObject;>;
private static void lambda$2(io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/core/json/JsonObject;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
ldc "server"
invokevirtual io.vertx.core.json.JsonObject.getJsonObject:(Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
ldc "host"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;)Ljava/lang/String;
pop
1: aload 0
ldc "server"
invokevirtual io.vertx.core.json.JsonObject.getJsonObject:(Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
ldc "port"
invokevirtual io.vertx.core.json.JsonObject.getInteger:(Ljava/lang/String;)Ljava/lang/Integer;
pop
2: aload 0
ldc "multiple"
invokevirtual io.vertx.core.json.JsonObject.getJsonObject:(Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
ldc "values"
invokevirtual io.vertx.core.json.JsonObject.getJsonArray:(Ljava/lang/String;)Lio/vertx/core/json/JsonArray;
astore 1
start local 1 3: iconst_0
istore 2
start local 2 4: goto 7
5: StackMap locals: io.vertx.core.json.JsonArray int
StackMap stack:
aload 1
iload 2
invokevirtual io.vertx.core.json.JsonArray.getInteger:(I)Ljava/lang/Integer;
pop
6: iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 1
invokevirtual io.vertx.core.json.JsonArray.size:()I
if_icmplt 5
end local 2 end local 1 8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 config Lio/vertx/core/json/JsonObject;
3 8 1 multiple Lio/vertx/core/json/JsonArray;
4 8 2 i I
private static void lambda$3(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 json Lio/vertx/core/AsyncResult<Lio/vertx/core/json/JsonObject;>;
private static void lambda$4(io.vertx.config.ConfigChange);
descriptor: (Lio/vertx/config/ConfigChange;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.config.ConfigChange.getPreviousConfiguration:()Lio/vertx/core/json/JsonObject;
pop
1: aload 0
invokevirtual io.vertx.config.ConfigChange.getNewConfiguration:()Lio/vertx/core/json/JsonObject;
pop
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 change Lio/vertx/config/ConfigChange;
private static void lambda$5(java.lang.Void);
descriptor: (Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 v Ljava/lang/Void;
private static void lambda$6(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 t Ljava/lang/Throwable;
private static void lambda$7(io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/core/json/JsonObject;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 conf Lio/vertx/core/json/JsonObject;
}
SourceFile: "ConfigExamples.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles