public interface io.vertx.redis.client.Redis
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: io.vertx.redis.client.Redis
super_class: java.lang.Object
{
public static final int[] $SWITCH_TABLE$io$vertx$redis$client$RedisClientType;
descriptor: [I
flags: (0x1019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
public static io.vertx.redis.client.Redis createClient(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)Lio/vertx/redis/client/Redis;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
new io.vertx.redis.client.RedisOptions
dup
invokespecial io.vertx.redis.client.RedisOptions.<init>:()V
invokestatic io.vertx.redis.client.Redis.createClient:(Lio/vertx/core/Vertx;Lio/vertx/redis/client/RedisOptions;)Lio/vertx/redis/client/Redis;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public static io.vertx.redis.client.Redis createClient(io.vertx.core.Vertx, java.lang.String);
descriptor: (Lio/vertx/core/Vertx;Ljava/lang/String;)Lio/vertx/redis/client/Redis;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new io.vertx.redis.client.RedisOptions
dup
invokespecial io.vertx.redis.client.RedisOptions.<init>:()V
aload 1
invokevirtual io.vertx.redis.client.RedisOptions.setConnectionString:(Ljava/lang/String;)Lio/vertx/redis/client/RedisOptions;
invokestatic io.vertx.redis.client.Redis.createClient:(Lio/vertx/core/Vertx;Lio/vertx/redis/client/RedisOptions;)Lio/vertx/redis/client/Redis;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 vertx Lio/vertx/core/Vertx;
0 1 1 connectionString Ljava/lang/String;
MethodParameters:
Name Flags
vertx
connectionString
public static io.vertx.redis.client.Redis createClient(io.vertx.core.Vertx, io.vertx.redis.client.RedisOptions);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/redis/client/RedisOptions;)Lio/vertx/redis/client/Redis;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: invokestatic io.vertx.redis.client.Redis.$SWITCH_TABLE$io$vertx$redis$client$RedisClientType:()[I
aload 1
invokevirtual io.vertx.redis.client.RedisOptions.getType:()Lio/vertx/redis/client/RedisClientType;
invokevirtual io.vertx.redis.client.RedisClientType.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 1
2: 2
3: 3
default: 4
}
1: StackMap locals:
StackMap stack:
new io.vertx.redis.client.impl.RedisClient
dup
aload 0
aload 1
invokespecial io.vertx.redis.client.impl.RedisClient.<init>:(Lio/vertx/core/Vertx;Lio/vertx/redis/client/RedisOptions;)V
areturn
2: StackMap locals:
StackMap stack:
new io.vertx.redis.client.impl.RedisSentinelClient
dup
aload 0
aload 1
invokespecial io.vertx.redis.client.impl.RedisSentinelClient.<init>:(Lio/vertx/core/Vertx;Lio/vertx/redis/client/RedisOptions;)V
areturn
3: StackMap locals:
StackMap stack:
new io.vertx.redis.client.impl.RedisClusterClient
dup
aload 0
aload 1
invokespecial io.vertx.redis.client.impl.RedisClusterClient.<init>:(Lio/vertx/core/Vertx;Lio/vertx/redis/client/RedisOptions;)V
areturn
4: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Unknown Redis Client type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual io.vertx.redis.client.RedisOptions.getType:()Lio/vertx/redis/client/RedisClientType;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 vertx Lio/vertx/core/Vertx;
0 5 1 options Lio/vertx/redis/client/RedisOptions;
MethodParameters:
Name Flags
vertx
options
public io.vertx.redis.client.Redis connect(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.redis.client.RedisConnection>>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/redis/client/Redis;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface io.vertx.redis.client.Redis.connect:()Lio/vertx/core/Future;
aload 1
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/redis/client/Redis;
0 2 1 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/redis/client/RedisConnection;>;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/redis/client/RedisConnection;>;>;)Lio/vertx/redis/client/Redis;
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.Fluent()
MethodParameters:
Name Flags
handler
public abstract io.vertx.core.Future<io.vertx.redis.client.RedisConnection> connect();
descriptor: ()Lio/vertx/core/Future;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()Lio/vertx/core/Future<Lio/vertx/redis/client/RedisConnection;>;
public abstract void close();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public io.vertx.redis.client.Redis send(io.vertx.redis.client.Request, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.redis.client.Response>>);
descriptor: (Lio/vertx/redis/client/Request;Lio/vertx/core/Handler;)Lio/vertx/redis/client/Redis;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokeinterface io.vertx.redis.client.Redis.send:(Lio/vertx/redis/client/Request;)Lio/vertx/core/Future;
aload 2
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/redis/client/Redis;
0 2 1 command Lio/vertx/redis/client/Request;
0 2 2 onSend Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/redis/client/Response;>;>;
Signature: (Lio/vertx/redis/client/Request;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/redis/client/Response;>;>;)Lio/vertx/redis/client/Redis;
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.Fluent()
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER, location=[TYPE_ARGUMENT(0), TYPE_ARGUMENT(0)]
io.vertx.codegen.annotations.Nullable()
MethodParameters:
Name Flags
command
onSend
public abstract io.vertx.core.Future<io.vertx.redis.client.Response> send(io.vertx.redis.client.Request);
descriptor: (Lio/vertx/redis/client/Request;)Lio/vertx/core/Future;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Lio/vertx/redis/client/Request;)Lio/vertx/core/Future<Lio/vertx/redis/client/Response;>;
RuntimeVisibleTypeAnnotations:
METHOD_RETURN, location=[TYPE_ARGUMENT(0)]
io.vertx.codegen.annotations.Nullable()
MethodParameters:
Name Flags
command
public io.vertx.redis.client.Redis batch(java.util.List<io.vertx.redis.client.Request>, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.List<io.vertx.redis.client.Response>>>);
descriptor: (Ljava/util/List;Lio/vertx/core/Handler;)Lio/vertx/redis/client/Redis;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokeinterface io.vertx.redis.client.Redis.batch:(Ljava/util/List;)Lio/vertx/core/Future;
aload 2
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/redis/client/Redis;
0 2 1 commands Ljava/util/List<Lio/vertx/redis/client/Request;>;
0 2 2 onSend Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/util/List<Lio/vertx/redis/client/Response;>;>;>;
Signature: (Ljava/util/List<Lio/vertx/redis/client/Request;>;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/util/List<Lio/vertx/redis/client/Response;>;>;>;)Lio/vertx/redis/client/Redis;
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.Fluent()
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER, location=[TYPE_ARGUMENT(0), TYPE_ARGUMENT(0), TYPE_ARGUMENT(0)]
io.vertx.codegen.annotations.Nullable()
MethodParameters:
Name Flags
commands
onSend
public abstract io.vertx.core.Future<java.util.List<io.vertx.redis.client.Response>> batch(java.util.List<io.vertx.redis.client.Request>);
descriptor: (Ljava/util/List;)Lio/vertx/core/Future;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/util/List<Lio/vertx/redis/client/Request;>;)Lio/vertx/core/Future<Ljava/util/List<Lio/vertx/redis/client/Response;>;>;
RuntimeVisibleTypeAnnotations:
METHOD_RETURN, location=[TYPE_ARGUMENT(0), TYPE_ARGUMENT(0)]
io.vertx.codegen.annotations.Nullable()
MethodParameters:
Name Flags
commands
public static int[] $SWITCH_TABLE$io$vertx$redis$client$RedisClientType();
descriptor: ()[I
flags: (0x1009) ACC_PUBLIC, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic io.vertx.redis.client.Redis.$SWITCH_TABLE$io$vertx$redis$client$RedisClientType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic io.vertx.redis.client.RedisClientType.values:()[Lio/vertx/redis/client/RedisClientType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic io.vertx.redis.client.RedisClientType.CLUSTER:Lio/vertx/redis/client/RedisClientType;
invokevirtual io.vertx.redis.client.RedisClientType.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic io.vertx.redis.client.RedisClientType.SENTINEL:Lio/vertx/redis/client/RedisClientType;
invokevirtual io.vertx.redis.client.RedisClientType.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic io.vertx.redis.client.RedisClientType.STANDALONE:Lio/vertx/redis/client/RedisClientType;
invokevirtual io.vertx.redis.client.RedisClientType.ordinal:()I
iconst_1
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
}
SourceFile: "Redis.java"
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.VertxGen()