public class io.vertx.config.redis.RedisConfigStore implements io.vertx.config.spi.ConfigStore
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.config.redis.RedisConfigStore
super_class: java.lang.Object
{
private final io.vertx.core.impl.VertxInternal vertx;
descriptor: Lio/vertx/core/impl/VertxInternal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.redis.client.Redis redis;
descriptor: Lio/vertx/redis/client/Redis;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String field;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean closed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(io.vertx.core.Vertx, io.vertx.core.json.JsonObject);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/core/json/JsonObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
checkcast io.vertx.core.impl.VertxInternal
putfield io.vertx.config.redis.RedisConfigStore.vertx:Lio/vertx/core/impl/VertxInternal;
2: aload 0
aload 2
ldc "key"
ldc "configuration"
invokevirtual io.vertx.core.json.JsonObject.getString:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
putfield io.vertx.config.redis.RedisConfigStore.field:Ljava/lang/String;
3: aload 0
aload 1
new io.vertx.redis.client.RedisOptions
dup
aload 2
invokespecial io.vertx.redis.client.RedisOptions.<init>:(Lio/vertx/core/json/JsonObject;)V
invokestatic io.vertx.redis.client.Redis.createClient:(Lio/vertx/core/Vertx;Lio/vertx/redis/client/RedisOptions;)Lio/vertx/redis/client/Redis;
putfield io.vertx.config.redis.RedisConfigStore.redis:Lio/vertx/redis/client/Redis;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/config/redis/RedisConfigStore;
0 5 1 vertx Lio/vertx/core/Vertx;
0 5 2 config Lio/vertx/core/json/JsonObject;
MethodParameters:
Name Flags
vertx
config
public io.vertx.core.Future<java.lang.Void> close();
descriptor: ()Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.config.redis.RedisConfigStore.redis:Lio/vertx/redis/client/Redis;
invokeinterface io.vertx.redis.client.Redis.close:()V
1: aload 0
getfield io.vertx.config.redis.RedisConfigStore.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.getOrCreateContext:()Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.succeededFuture:()Lio/vertx/core/Future;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/config/redis/RedisConfigStore;
Signature: ()Lio/vertx/core/Future<Ljava/lang/Void;>;
public io.vertx.core.Future<io.vertx.core.buffer.Buffer> get();
descriptor: ()Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.config.redis.RedisConfigStore.redis:Lio/vertx/redis/client/Redis;
getstatic io.vertx.redis.client.Command.HGETALL:Lio/vertx/redis/client/Command;
invokestatic io.vertx.redis.client.Request.cmd:(Lio/vertx/redis/client/Command;)Lio/vertx/redis/client/Request;
aload 0
getfield io.vertx.config.redis.RedisConfigStore.field:Ljava/lang/String;
invokeinterface io.vertx.redis.client.Request.arg:(Ljava/lang/String;)Lio/vertx/redis/client/Request;
invokeinterface io.vertx.redis.client.Redis.send:(Lio/vertx/redis/client/Request;)Lio/vertx/core/Future;
1: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
io/vertx/config/redis/RedisConfigStore.lambda$0(Lio/vertx/redis/client/Response;)Lio/vertx/core/buffer/Buffer; (6)
(Lio/vertx/redis/client/Response;)Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.core.Future.map:(Ljava/util/function/Function;)Lio/vertx/core/Future;
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/config/redis/RedisConfigStore;
Signature: ()Lio/vertx/core/Future<Lio/vertx/core/buffer/Buffer;>;
private static io.vertx.core.buffer.Buffer lambda$0(io.vertx.redis.client.Response);
descriptor: (Lio/vertx/redis/client/Response;)Lio/vertx/core/buffer/Buffer;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
astore 1
start local 1 1: aload 0
invokeinterface io.vertx.redis.client.Response.iterator:()Ljava/util/Iterator;
astore 2
start local 2 2: goto 6
3: StackMap locals: io.vertx.core.json.JsonObject java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.redis.client.Response
invokeinterface io.vertx.redis.client.Response.toString:()Ljava/lang/String;
astore 3
start local 3 4: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.redis.client.Response
invokeinterface io.vertx.redis.client.Response.toString:()Ljava/lang/String;
astore 4
start local 4 5: aload 1
aload 3
aload 4
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
pop
end local 4 end local 3 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: aload 1
invokevirtual io.vertx.core.json.JsonObject.toBuffer:()Lio/vertx/core/buffer/Buffer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 resp Lio/vertx/redis/client/Response;
1 8 1 result Lio/vertx/core/json/JsonObject;
2 8 2 it Ljava/util/Iterator<Lio/vertx/redis/client/Response;>;
4 6 3 key Ljava/lang/String;
5 6 4 value Ljava/lang/String;
}
SourceFile: "RedisConfigStore.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles