public class io.vertx.config.impl.ConfigRetrieverImpl implements io.vertx.config.ConfigRetriever
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.config.impl.ConfigRetrieverImpl
super_class: java.lang.Object
{
private static final io.vertx.core.logging.Logger LOGGER;
descriptor: Lio/vertx/core/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String DEFAULT_CONFIG_PATH;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final io.vertx.core.Vertx vertx;
descriptor: Lio/vertx/core/Vertx;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<io.vertx.config.impl.ConfigurationProvider> providers;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lio/vertx/config/impl/ConfigurationProvider;>;
private long scan;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private final java.util.List<io.vertx.core.Handler<io.vertx.config.ConfigChange>> listeners;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lio/vertx/core/Handler<Lio/vertx/config/ConfigChange;>;>;
private final io.vertx.config.impl.ConfigRetrieverImpl$ConfigStreamImpl streamOfConfiguration;
descriptor: Lio/vertx/config/impl/ConfigRetrieverImpl$ConfigStreamImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.config.ConfigRetrieverOptions options;
descriptor: Lio/vertx/config/ConfigRetrieverOptions;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private io.vertx.core.json.JsonObject current;
descriptor: Lio/vertx/core/json/JsonObject;
flags: (0x0002) ACC_PRIVATE
private io.vertx.core.Handler<java.lang.Void> beforeScan;
descriptor: Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Handler<Ljava/lang/Void;>;
private java.util.function.Function<io.vertx.core.json.JsonObject, io.vertx.core.json.JsonObject> processor;
descriptor: Ljava/util/function/Function;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/function/Function<Lio/vertx/core/json/JsonObject;Lio/vertx/core/json/JsonObject;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc Lio/vertx/config/impl/ConfigRetrieverImpl;
invokestatic io.vertx.core.logging.LoggerFactory.getLogger:(Ljava/lang/Class;)Lio/vertx/core/logging/Logger;
putstatic io.vertx.config.impl.ConfigRetrieverImpl.LOGGER:Lio/vertx/core/logging/Logger;
1: new java.lang.StringBuilder
dup
ldc "conf"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "config.json"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putstatic io.vertx.config.impl.ConfigRetrieverImpl.DEFAULT_CONFIG_PATH:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(io.vertx.core.Vertx, io.vertx.config.ConfigRetrieverOptions);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/config/ConfigRetrieverOptions;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=14, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield io.vertx.config.impl.ConfigRetrieverImpl.listeners:Ljava/util/List;
2: aload 0
new io.vertx.config.impl.ConfigRetrieverImpl$ConfigStreamImpl
dup
aload 0
invokespecial io.vertx.config.impl.ConfigRetrieverImpl$ConfigStreamImpl.<init>:(Lio/vertx/config/impl/ConfigRetrieverImpl;)V
putfield io.vertx.config.impl.ConfigRetrieverImpl.streamOfConfiguration:Lio/vertx/config/impl/ConfigRetrieverImpl$ConfigStreamImpl;
3: aload 0
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
putfield io.vertx.config.impl.ConfigRetrieverImpl.current:Lio/vertx/core/json/JsonObject;
4: aload 0
aload 1
putfield io.vertx.config.impl.ConfigRetrieverImpl.vertx:Lio/vertx/core/Vertx;
5: aload 0
aload 2
putfield io.vertx.config.impl.ConfigRetrieverImpl.options:Lio/vertx/config/ConfigRetrieverOptions;
6: ldc Lio/vertx/config/spi/ConfigStoreFactory;
7: ldc Lio/vertx/config/spi/ConfigStoreFactory;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
8: invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader;
9: astore 3
start local 3 10: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 4
start local 4 11: aload 3
invokevirtual java.util.ServiceLoader.iterator:()Ljava/util/Iterator;
aload 4
invokedynamic accept(Ljava/util/Map;)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/config/impl/ConfigRetrieverImpl.lambda$0(Ljava/util/Map;Lio/vertx/config/spi/ConfigStoreFactory;)V (6)
(Lio/vertx/config/spi/ConfigStoreFactory;)V
invokeinterface java.util.Iterator.forEachRemaining:(Ljava/util/function/Consumer;)V
12: aload 4
invokeinterface java.util.Map.isEmpty:()Z
ifeq 14
13: new java.lang.IllegalStateException
dup
ldc "No configuration store implementations found on the classpath"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals: io.vertx.config.impl.ConfigRetrieverImpl io.vertx.core.Vertx io.vertx.config.ConfigRetrieverOptions java.util.ServiceLoader java.util.Map
StackMap stack:
aload 2
invokevirtual io.vertx.config.ConfigRetrieverOptions.getStores:()Ljava/util/List;
astore 5
start local 5 15: aload 2
invokevirtual io.vertx.config.ConfigRetrieverOptions.isIncludeDefaultStores:()Z
ifeq 33
16: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
17: aload 5
18: new io.vertx.config.ConfigStoreOptions
dup
invokespecial io.vertx.config.ConfigStoreOptions.<init>:()V
ldc "json"
invokevirtual io.vertx.config.ConfigStoreOptions.setType:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
19: aload 1
invokeinterface io.vertx.core.Vertx.getOrCreateContext:()Lio/vertx/core/Context;
invokeinterface io.vertx.core.Context.config:()Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.config.ConfigStoreOptions.setConfig:(Lio/vertx/core/json/JsonObject;)Lio/vertx/config/ConfigStoreOptions;
20: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
21: aload 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;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
22: aload 5
new io.vertx.config.ConfigStoreOptions
dup
invokespecial io.vertx.config.ConfigStoreOptions.<init>:()V
ldc "env"
invokevirtual io.vertx.config.ConfigStoreOptions.setType:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
23: aload 0
invokevirtual io.vertx.config.impl.ConfigRetrieverImpl.getDefaultConfigPath:()Ljava/lang/String;
astore 6
start local 6 24: aload 6
ifnull 32
aload 6
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifne 32
25: aload 6
invokestatic io.vertx.config.impl.ConfigRetrieverImpl.extractFormatFromFileExtension:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 26: getstatic io.vertx.config.impl.ConfigRetrieverImpl.LOGGER:Lio/vertx/core/logging/Logger;
new java.lang.StringBuilder
dup
ldc "Config file path: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", format:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.vertx.core.logging.Logger.info:(Ljava/lang/Object;)V
27: aload 5
new io.vertx.config.ConfigStoreOptions
dup
invokespecial io.vertx.config.ConfigStoreOptions.<init>:()V
28: ldc "file"
invokevirtual io.vertx.config.ConfigStoreOptions.setType:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
aload 7
invokevirtual io.vertx.config.ConfigStoreOptions.setFormat:(Ljava/lang/String;)Lio/vertx/config/ConfigStoreOptions;
29: iconst_1
invokevirtual io.vertx.config.ConfigStoreOptions.setOptional:(Z)Lio/vertx/config/ConfigStoreOptions;
30: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
ldc "path"
aload 6
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.config.ConfigStoreOptions.setConfig:(Lio/vertx/core/json/JsonObject;)Lio/vertx/config/ConfigStoreOptions;
31: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 32: StackMap locals: java.util.List java.lang.String
StackMap stack:
aload 5
aload 2
invokevirtual io.vertx.config.ConfigRetrieverOptions.getStores:()Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
end local 6 33: StackMap locals:
StackMap stack:
aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield io.vertx.config.impl.ConfigRetrieverImpl.providers:Ljava/util/List;
34: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 59
StackMap locals: io.vertx.config.impl.ConfigRetrieverImpl io.vertx.core.Vertx io.vertx.config.ConfigRetrieverOptions java.util.ServiceLoader java.util.Map java.util.List top java.util.Iterator
StackMap stack:
35: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.config.ConfigStoreOptions
astore 6
start local 6 36: aload 6
invokevirtual io.vertx.config.ConfigStoreOptions.getType:()Ljava/lang/String;
astore 8
start local 8 37: aload 8
ifnonnull 41
38: new java.lang.IllegalArgumentException
dup
39: ldc "the `type` entry is mandatory in a configuration store configuration"
40: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
41: StackMap locals: io.vertx.config.impl.ConfigRetrieverImpl io.vertx.core.Vertx io.vertx.config.ConfigRetrieverOptions java.util.ServiceLoader java.util.Map java.util.List io.vertx.config.ConfigStoreOptions java.util.Iterator java.lang.String
StackMap stack:
aload 4
aload 8
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.config.spi.ConfigStoreFactory
astore 9
start local 9 42: aload 9
ifnonnull 46
43: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "unknown configuration store implementation: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
44: aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " (known implementations are: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
45: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
46: StackMap locals: io.vertx.config.spi.ConfigStoreFactory
StackMap stack:
aload 6
invokevirtual io.vertx.config.ConfigStoreOptions.getConfig:()Lio/vertx/core/json/JsonObject;
astore 10
start local 10 47: aload 10
ifnonnull 49
48: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
astore 10
49: StackMap locals: io.vertx.core.json.JsonObject
StackMap stack:
aload 9
aload 1
aload 10
invokeinterface io.vertx.config.spi.ConfigStoreFactory.create:(Lio/vertx/core/Vertx;Lio/vertx/core/json/JsonObject;)Lio/vertx/config/spi/ConfigStore;
astore 11
start local 11 50: aload 6
invokevirtual io.vertx.config.ConfigStoreOptions.getFormat:()Ljava/lang/String;
ifnull 51
aload 6
invokevirtual io.vertx.config.ConfigStoreOptions.getFormat:()Ljava/lang/String;
goto 52
StackMap locals: io.vertx.config.spi.ConfigStore
StackMap stack:
51: ldc "json"
StackMap locals:
StackMap stack: java.lang.String
52: astore 12
start local 12 53: aload 12
invokestatic io.vertx.config.spi.utils.Processors.get:(Ljava/lang/String;)Lio/vertx/config/spi/ConfigProcessor;
astore 13
start local 13 54: aload 13
ifnonnull 58
55: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "unknown configuration format: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 12
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " (supported formats are: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
56: invokestatic io.vertx.config.spi.utils.Processors.getSupportedFormats:()Ljava/util/Set;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
57: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
58: StackMap locals: java.lang.String io.vertx.config.spi.ConfigProcessor
StackMap stack:
aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.providers:Ljava/util/List;
new io.vertx.config.impl.ConfigurationProvider
dup
aload 11
aload 13
aload 6
invokevirtual io.vertx.config.ConfigStoreOptions.getConfig:()Lio/vertx/core/json/JsonObject;
aload 6
invokevirtual io.vertx.config.ConfigStoreOptions.isOptional:()Z
invokespecial io.vertx.config.impl.ConfigurationProvider.<init>:(Lio/vertx/config/spi/ConfigStore;Lio/vertx/config/spi/ConfigProcessor;Lio/vertx/core/json/JsonObject;Z)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 6 59: StackMap locals: io.vertx.config.impl.ConfigRetrieverImpl io.vertx.core.Vertx io.vertx.config.ConfigRetrieverOptions java.util.ServiceLoader java.util.Map java.util.List top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 35
60: 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 61 0 this Lio/vertx/config/impl/ConfigRetrieverImpl;
0 61 1 vertx Lio/vertx/core/Vertx;
0 61 2 options Lio/vertx/config/ConfigRetrieverOptions;
10 61 3 storeImpl Ljava/util/ServiceLoader<Lio/vertx/config/spi/ConfigStoreFactory;>;
11 61 4 nameToImplMap Ljava/util/Map<Ljava/lang/String;Lio/vertx/config/spi/ConfigStoreFactory;>;
15 61 5 stores Ljava/util/List<Lio/vertx/config/ConfigStoreOptions;>;
24 33 6 defaultConfigPath Ljava/lang/String;
26 32 7 format Ljava/lang/String;
36 59 6 option Lio/vertx/config/ConfigStoreOptions;
37 59 8 type Ljava/lang/String;
42 59 9 factory Lio/vertx/config/spi/ConfigStoreFactory;
47 59 10 config Lio/vertx/core/json/JsonObject;
50 59 11 store Lio/vertx/config/spi/ConfigStore;
53 59 12 format Ljava/lang/String;
54 59 13 processor Lio/vertx/config/spi/ConfigProcessor;
MethodParameters:
Name Flags
vertx
options
static java.lang.String (java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
ldc "."
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpne 3
2: ldc "json"
areturn
3: StackMap locals: int
StackMap stack:
aload 0
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
start local 2 4: aload 2
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 6
5: ldc "json"
areturn
6: StackMap locals: java.lang.String
StackMap stack:
ldc "yml"
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
7: ldc "yaml"
astore 2
8: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 path Ljava/lang/String;
1 9 1 index I
4 9 2 ext Ljava/lang/String;
MethodParameters:
Name Flags
path
private java.lang.String getDefaultConfigPath();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: ldc "VERTX_CONFIG_PATH"
invokestatic java.lang.System.getenv:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 3
2: StackMap locals: java.lang.String
StackMap stack:
ldc "vertx-config-path"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
3: StackMap locals:
StackMap stack:
aload 1
ifnull 5
aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifne 5
4: aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
areturn
5: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.vertx:Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.fileSystem:()Lio/vertx/core/file/FileSystem;
getstatic io.vertx.config.impl.ConfigRetrieverImpl.DEFAULT_CONFIG_PATH:Ljava/lang/String;
invokeinterface io.vertx.core.file.FileSystem.existsBlocking:(Ljava/lang/String;)Z
istore 2
start local 2 6: iload 2
ifeq 8
7: getstatic io.vertx.config.impl.ConfigRetrieverImpl.DEFAULT_CONFIG_PATH:Ljava/lang/String;
areturn
8: StackMap locals: int
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/vertx/config/impl/ConfigRetrieverImpl;
1 9 1 value Ljava/lang/String;
6 9 2 exists Z
public synchronized void initializePeriodicScan();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.options:Lio/vertx/config/ConfigRetrieverOptions;
invokevirtual io.vertx.config.ConfigRetrieverOptions.getScanPeriod:()J
lconst_0
lcmp
ifle 3
1: aload 0
aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.vertx:Lio/vertx/core/Vertx;
aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.options:Lio/vertx/config/ConfigRetrieverOptions;
invokevirtual io.vertx.config.ConfigRetrieverOptions.getScanPeriod:()J
aload 0
invokedynamic handle(Lio/vertx/config/impl/ConfigRetrieverImpl;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/config/impl/ConfigRetrieverImpl.lambda$1(Ljava/lang/Long;)V (7)
(Ljava/lang/Long;)V
invokeinterface io.vertx.core.Vertx.setPeriodic:(JLio/vertx/core/Handler;)J
putfield io.vertx.config.impl.ConfigRetrieverImpl.scan:J
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
ldc -1
putfield io.vertx.config.impl.ConfigRetrieverImpl.scan:J
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/config/impl/ConfigRetrieverImpl;
public void getConfig(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 0
aload 1
invokedynamic handle(Lio/vertx/config/impl/ConfigRetrieverImpl;Lio/vertx/core/Handler;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/config/impl/ConfigRetrieverImpl.lambda$2(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.vertx.config.impl.ConfigRetrieverImpl.compute:(Lio/vertx/core/Handler;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/config/impl/ConfigRetrieverImpl;
0 3 1 completionHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/json/JsonObject;>;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/json/JsonObject;>;>;)V
MethodParameters:
Name Flags
completionHandler
public synchronized void close();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.scan:J
ldc -1
lcmp
ifeq 2
1: aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.vertx:Lio/vertx/core/Vertx;
aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.scan:J
invokeinterface io.vertx.core.Vertx.cancelTimer:(J)Z
pop
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.streamOfConfiguration:Lio/vertx/config/impl/ConfigRetrieverImpl$ConfigStreamImpl;
invokevirtual io.vertx.config.impl.ConfigRetrieverImpl$ConfigStreamImpl.close:()V
3: aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.providers:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 6
StackMap locals: io.vertx.config.impl.ConfigRetrieverImpl top java.util.Iterator
StackMap stack:
4: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.config.impl.ConfigurationProvider
astore 1
start local 1 5: 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
io/vertx/config/impl/ConfigRetrieverImpl.lambda$3(Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokevirtual io.vertx.config.impl.ConfigurationProvider.close:(Lio/vertx/core/Handler;)V
end local 1 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/config/impl/ConfigRetrieverImpl;
5 6 1 provider Lio/vertx/config/impl/ConfigurationProvider;
public synchronized io.vertx.core.json.JsonObject getCachedConfig();
descriptor: ()Lio/vertx/core/json/JsonObject;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.current:Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.core.json.JsonObject.copy:()Lio/vertx/core/json/JsonObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/config/impl/ConfigRetrieverImpl;
public void listen(io.vertx.core.Handler<io.vertx.config.ConfigChange>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.listeners:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/config/impl/ConfigRetrieverImpl;
0 3 1 listener Lio/vertx/core/Handler<Lio/vertx/config/ConfigChange;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/config/ConfigChange;>;)V
MethodParameters:
Name Flags
listener
public io.vertx.config.ConfigRetriever setBeforeScanHandler(io.vertx.core.Handler<java.lang.Void>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/config/ConfigRetriever;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "The function must not be `null`"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.vertx.core.Handler
putfield io.vertx.config.impl.ConfigRetrieverImpl.beforeScan:Lio/vertx/core/Handler;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/config/impl/ConfigRetrieverImpl;
0 2 1 function Lio/vertx/core/Handler<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)Lio/vertx/config/ConfigRetriever;
MethodParameters:
Name Flags
function
public io.vertx.config.ConfigRetriever setConfigurationProcessor(java.util.function.Function<io.vertx.core.json.JsonObject, io.vertx.core.json.JsonObject>);
descriptor: (Ljava/util/function/Function;)Lio/vertx/config/ConfigRetriever;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "The processor must not be `null`"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.util.function.Function
putfield io.vertx.config.impl.ConfigRetrieverImpl.processor:Ljava/util/function/Function;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/config/impl/ConfigRetrieverImpl;
0 2 1 processor Ljava/util/function/Function<Lio/vertx/core/json/JsonObject;Lio/vertx/core/json/JsonObject;>;
Signature: (Ljava/util/function/Function<Lio/vertx/core/json/JsonObject;Lio/vertx/core/json/JsonObject;>;)Lio/vertx/config/ConfigRetriever;
MethodParameters:
Name Flags
processor
public io.vertx.core.streams.ReadStream<io.vertx.core.json.JsonObject> configStream();
descriptor: ()Lio/vertx/core/streams/ReadStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.streamOfConfiguration:Lio/vertx/config/impl/ConfigRetrieverImpl$ConfigStreamImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/config/impl/ConfigRetrieverImpl;
Signature: ()Lio/vertx/core/streams/ReadStream<Lio/vertx/core/json/JsonObject;>;
private void scan();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.beforeScan:Lio/vertx/core/Handler;
ifnull 2
1: aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.beforeScan:Lio/vertx/core/Handler;
aconst_null
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
aload 0
invokedynamic handle(Lio/vertx/config/impl/ConfigRetrieverImpl;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/config/impl/ConfigRetrieverImpl.lambda$4(Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.vertx.config.impl.ConfigRetrieverImpl.compute:(Lio/vertx/core/Handler;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/config/impl/ConfigRetrieverImpl;
private void compute(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.providers:Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
1: aload 0
invokedynamic apply(Lio/vertx/config/impl/ConfigRetrieverImpl;)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/config/impl/ConfigRetrieverImpl.lambda$6(Lio/vertx/config/impl/ConfigurationProvider;)Lio/vertx/core/Future; (7)
(Lio/vertx/config/impl/ConfigurationProvider;)Lio/vertx/core/Future;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
2: 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
3: astore 2
start local 2 4: aload 2
invokestatic io.vertx.core.CompositeFuture.all:(Ljava/util/List;)Lio/vertx/core/CompositeFuture;
aload 0
aload 1
aload 2
invokedynamic handle(Lio/vertx/config/impl/ConfigRetrieverImpl;Lio/vertx/core/Handler;Ljava/util/List;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/config/impl/ConfigRetrieverImpl.lambda$8(Lio/vertx/core/Handler;Ljava/util/List;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.CompositeFuture.setHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/CompositeFuture;
pop
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/config/impl/ConfigRetrieverImpl;
0 6 1 completionHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/json/JsonObject;>;>;
4 6 2 futures Ljava/util/List<Lio/vertx/core/Future;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/json/JsonObject;>;>;)V
MethodParameters:
Name Flags
completionHandler
private void processConfigurationAndReport(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>>, io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/json/JsonObject;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.processor:Ljava/util/function/Function;
aload 2
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.core.json.JsonObject
astore 3
start local 3 1: aload 1
aload 3
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: goto 5
end local 3 StackMap locals:
StackMap stack: java.lang.Throwable
3: astore 4
start local 4 4: aload 1
aload 4
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 4 5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/config/impl/ConfigRetrieverImpl;
0 6 1 completionHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/json/JsonObject;>;>;
0 6 2 json Lio/vertx/core/json/JsonObject;
1 3 3 computed Lio/vertx/core/json/JsonObject;
4 5 4 e Ljava/lang/Throwable;
Exception table:
from to target type
0 2 3 Class java.lang.Throwable
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/json/JsonObject;>;>;Lio/vertx/core/json/JsonObject;)V
MethodParameters:
Name Flags
completionHandler
json
public java.util.List<io.vertx.config.impl.ConfigurationProvider> getProviders();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.providers:Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/config/impl/ConfigRetrieverImpl;
Signature: ()Ljava/util/List<Lio/vertx/config/impl/ConfigurationProvider;>;
private static void lambda$0(java.util.Map, io.vertx.config.spi.ConfigStoreFactory);
descriptor: (Ljava/util/Map;Lio/vertx/config/spi/ConfigStoreFactory;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokeinterface io.vertx.config.spi.ConfigStoreFactory.name:()Ljava/lang/String;
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 factory Lio/vertx/config/spi/ConfigStoreFactory;
private void lambda$1(java.lang.Long);
descriptor: (Ljava/lang/Long;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.config.impl.ConfigRetrieverImpl.scan:()V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/config/impl/ConfigRetrieverImpl;
0 1 1 l Ljava/lang/Long;
private void lambda$2(io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 8
1: aload 0
dup
astore 3
monitorenter
2: aload 0
aload 2
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.json.JsonObject
putfield io.vertx.config.impl.ConfigRetrieverImpl.current:Lio/vertx/core/json/JsonObject;
3: aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.streamOfConfiguration:Lio/vertx/config/impl/ConfigRetrieverImpl$ConfigStreamImpl;
aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.current:Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.config.impl.ConfigRetrieverImpl$ConfigStreamImpl.handle:(Lio/vertx/core/json/JsonObject;)V
4: aload 3
monitorexit
5: goto 8
StackMap locals: io.vertx.config.impl.ConfigRetrieverImpl io.vertx.core.Handler io.vertx.core.AsyncResult io.vertx.config.impl.ConfigRetrieverImpl
StackMap stack: java.lang.Throwable
6: aload 3
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 1
aload 2
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
9: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/config/impl/ConfigRetrieverImpl;
0 10 2 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/json/JsonObject;>;
Exception table:
from to target type
2 5 6 any
6 7 6 any
private static void lambda$3(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 void lambda$4(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 4
1: aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.streamOfConfiguration:Lio/vertx/config/impl/ConfigRetrieverImpl$ConfigStreamImpl;
aload 1
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual io.vertx.config.impl.ConfigRetrieverImpl$ConfigStreamImpl.fail:(Ljava/lang/Throwable;)V
2: getstatic io.vertx.config.impl.ConfigRetrieverImpl.LOGGER:Lio/vertx/core/logging/Logger;
ldc "Error while scanning configuration"
aload 1
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual io.vertx.core.logging.Logger.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
3: goto 20
4: StackMap locals:
StackMap stack:
aload 0
dup
astore 2
monitorenter
5: aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.current:Lio/vertx/core/json/JsonObject;
aload 1
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
invokevirtual io.vertx.core.json.JsonObject.equals:(Ljava/lang/Object;)Z
ifne 16
6: aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.current:Lio/vertx/core/json/JsonObject;
astore 3
start local 3 7: aload 0
aload 1
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.json.JsonObject
putfield io.vertx.config.impl.ConfigRetrieverImpl.current:Lio/vertx/core/json/JsonObject;
8: aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.listeners:Ljava/util/List;
aload 0
aload 3
invokedynamic accept(Lio/vertx/config/impl/ConfigRetrieverImpl;Lio/vertx/core/json/JsonObject;)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/config/impl/ConfigRetrieverImpl.lambda$5(Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)V (7)
(Lio/vertx/core/Handler;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
9: aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.streamOfConfiguration:Lio/vertx/config/impl/ConfigRetrieverImpl$ConfigStreamImpl;
aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.current:Lio/vertx/core/json/JsonObject;
invokevirtual io.vertx.config.impl.ConfigRetrieverImpl$ConfigStreamImpl.handle:(Lio/vertx/core/json/JsonObject;)V
10: goto 16
StackMap locals: io.vertx.config.impl.ConfigRetrieverImpl io.vertx.core.AsyncResult io.vertx.config.impl.ConfigRetrieverImpl io.vertx.core.json.JsonObject
StackMap stack: java.lang.Throwable
11: astore 4
start local 4 12: aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.vertx:Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.exceptionHandler:()Lio/vertx/core/Handler;
ifnull 15
13: aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.vertx:Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.exceptionHandler:()Lio/vertx/core/Handler;
aload 4
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
14: goto 16
15: StackMap locals: java.lang.Throwable
StackMap stack:
aload 4
athrow
end local 4 end local 3 16: StackMap locals:
StackMap stack:
aload 2
monitorexit
17: goto 20
StackMap locals:
StackMap stack: java.lang.Throwable
18: aload 2
monitorexit
19: athrow
20: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lio/vertx/config/impl/ConfigRetrieverImpl;
0 21 1 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/json/JsonObject;>;
7 16 3 prev Lio/vertx/core/json/JsonObject;
12 16 4 e Ljava/lang/Throwable;
Exception table:
from to target type
9 10 11 Class java.lang.Throwable
5 17 18 any
18 19 18 any
private io.vertx.core.Future lambda$6(io.vertx.config.impl.ConfigurationProvider);
descriptor: (Lio/vertx/config/impl/ConfigurationProvider;)Lio/vertx/core/Future;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
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 1
aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.vertx:Lio/vertx/core/Vertx;
aload 2
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/config/impl/ConfigRetrieverImpl.lambda$7(Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.vertx.config.impl.ConfigurationProvider.get:(Lio/vertx/core/Vertx;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/config/impl/ConfigRetrieverImpl;
0 3 1 s Lio/vertx/config/impl/ConfigurationProvider;
1 3 2 conf Lio/vertx/core/Promise<Lio/vertx/core/json/JsonObject;>;
private void lambda$8(io.vertx.core.Handler, java.util.List, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Ljava/util/List;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 8
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: goto 21
StackMap locals:
StackMap stack: java.lang.Throwable
3: astore 4
start local 4 4: aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.vertx:Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.exceptionHandler:()Lio/vertx/core/Handler;
ifnull 7
5: aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.vertx:Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.exceptionHandler:()Lio/vertx/core/Handler;
aload 4
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
6: goto 21
7: StackMap locals: java.lang.Throwable
StackMap stack:
aload 4
athrow
end local 4 8: StackMap locals:
StackMap stack:
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
astore 4
start local 4 9: aload 2
aload 4
invokedynamic accept(Lio/vertx/core/json/JsonObject;)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/config/impl/ConfigRetrieverImpl.lambda$9(Lio/vertx/core/json/JsonObject;Lio/vertx/core/Future;)V (6)
(Lio/vertx/core/Future;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
10: aload 4
astore 5
start local 5 11: aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.processor:Ljava/util/function/Function;
ifnull 14
12: aload 0
aload 1
aload 4
invokevirtual io.vertx.config.impl.ConfigRetrieverImpl.processConfigurationAndReport:(Lio/vertx/core/Handler;Lio/vertx/core/json/JsonObject;)V
13: goto 21
14: StackMap locals: io.vertx.core.json.JsonObject io.vertx.core.json.JsonObject
StackMap stack:
aload 1
aload 5
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 5 15: goto 21
StackMap locals: io.vertx.config.impl.ConfigRetrieverImpl io.vertx.core.Handler java.util.List io.vertx.core.AsyncResult io.vertx.core.json.JsonObject
StackMap stack: java.lang.Throwable
16: astore 5
start local 5 17: aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.vertx:Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.exceptionHandler:()Lio/vertx/core/Handler;
ifnull 20
18: aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.vertx:Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.exceptionHandler:()Lio/vertx/core/Handler;
aload 5
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
19: goto 21
20: StackMap locals: java.lang.Throwable
StackMap stack:
aload 5
athrow
end local 5 end local 4 21: StackMap locals:
StackMap stack:
return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lio/vertx/config/impl/ConfigRetrieverImpl;
0 22 3 r Lio/vertx/core/AsyncResult<Lio/vertx/core/CompositeFuture;>;
4 8 4 e Ljava/lang/Throwable;
9 21 4 json Lio/vertx/core/json/JsonObject;
11 15 5 computed Lio/vertx/core/json/JsonObject;
17 21 5 e Ljava/lang/Throwable;
Exception table:
from to target type
1 2 3 Class java.lang.Throwable
10 15 16 Class java.lang.Throwable
private void lambda$5(io.vertx.core.json.JsonObject, io.vertx.core.Handler);
descriptor: (Lio/vertx/core/json/JsonObject;Lio/vertx/core/Handler;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 2 0: aload 2
new io.vertx.config.ConfigChange
dup
aload 1
aload 0
getfield io.vertx.config.impl.ConfigRetrieverImpl.current:Lio/vertx/core/json/JsonObject;
invokespecial io.vertx.config.ConfigChange.<init>:(Lio/vertx/core/json/JsonObject;Lio/vertx/core/json/JsonObject;)V
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/config/impl/ConfigRetrieverImpl;
0 1 2 l Lio/vertx/core/Handler<Lio/vertx/config/ConfigChange;>;
private static void lambda$7(io.vertx.core.Promise, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: aload 0
aload 1
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.json.JsonObject
invokeinterface io.vertx.core.Promise.tryComplete:(Ljava/lang/Object;)Z
pop
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokeinterface io.vertx.core.Promise.tryFail:(Ljava/lang/Throwable;)Z
pop
4: StackMap locals:
StackMap stack:
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 5 1 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/json/JsonObject;>;
private static void lambda$9(io.vertx.core.json.JsonObject, io.vertx.core.Future);
descriptor: (Lio/vertx/core/json/JsonObject;Lio/vertx/core/Future;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokeinterface io.vertx.core.Future.result:()Ljava/lang/Object;
checkcast io.vertx.core.json.JsonObject
iconst_1
invokevirtual io.vertx.core.json.JsonObject.mergeIn:(Lio/vertx/core/json/JsonObject;Z)Lio/vertx/core/json/JsonObject;
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 future Lio/vertx/core/Future;
}
SourceFile: "ConfigRetrieverImpl.java"
NestMembers:
io.vertx.config.impl.ConfigRetrieverImpl$ConfigStreamImpl
InnerClasses:
private ConfigStreamImpl = io.vertx.config.impl.ConfigRetrieverImpl$ConfigStreamImpl of io.vertx.config.impl.ConfigRetrieverImpl
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles