public interface io.vertx.redis.client.Redis extends io.vertx.core.streams.ReadStream<io.vertx.redis.client.Response>
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, io.vertx.core.net.SocketAddress);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/core/net/SocketAddress;)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.setEndpoint:(Lio/vertx/core/net/SocketAddress;)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 address Lio/vertx/core/net/SocketAddress;
MethodParameters:
Name Flags
vertx
address
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:
aload 0
aload 1
invokestatic io.vertx.redis.client.impl.RedisClient.create:(Lio/vertx/core/Vertx;Lio/vertx/redis/client/RedisOptions;)Lio/vertx/redis/client/Redis;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic io.vertx.redis.client.impl.RedisSentinelClient.create:(Lio/vertx/core/Vertx;Lio/vertx/redis/client/RedisOptions;)Lio/vertx/redis/client/Redis;
areturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic io.vertx.redis.client.impl.RedisClusterClient.create:(Lio/vertx/core/Vertx;Lio/vertx/redis/client/RedisOptions;)Lio/vertx/redis/client/Redis;
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 abstract io.vertx.redis.client.Redis connect(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.redis.client.Redis>>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/redis/client/Redis;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/redis/client/Redis;>;>;)Lio/vertx/redis/client/Redis;
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.Fluent()
MethodParameters:
Name Flags
handler
public abstract io.vertx.redis.client.Redis exceptionHandler(io.vertx.core.Handler<java.lang.Throwable>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/redis/client/Redis;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Lio/vertx/core/Handler<Ljava/lang/Throwable;>;)Lio/vertx/redis/client/Redis;
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.Fluent()
MethodParameters:
Name Flags
handler
public abstract io.vertx.redis.client.Redis handler(io.vertx.core.Handler<io.vertx.redis.client.Response>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/redis/client/Redis;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Lio/vertx/core/Handler<Lio/vertx/redis/client/Response;>;)Lio/vertx/redis/client/Redis;
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.Fluent()
MethodParameters:
Name Flags
handler
public abstract io.vertx.redis.client.Redis pause();
descriptor: ()Lio/vertx/redis/client/Redis;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.Fluent()
public abstract io.vertx.redis.client.Redis resume();
descriptor: ()Lio/vertx/redis/client/Redis;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.Fluent()
public abstract io.vertx.redis.client.Redis fetch(long);
descriptor: (J)Lio/vertx/redis/client/Redis;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.Fluent()
MethodParameters:
Name Flags
amount
public abstract io.vertx.redis.client.Redis endHandler(io.vertx.core.Handler<java.lang.Void>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/redis/client/Redis;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)Lio/vertx/redis/client/Redis;
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.Fluent()
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
io.vertx.codegen.annotations.Nullable()
MethodParameters:
Name Flags
endHandler
public abstract 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: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
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.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: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
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
handler
public abstract io.vertx.core.net.SocketAddress socketAddress();
descriptor: ()Lio/vertx/core/net/SocketAddress;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void close();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public io.vertx.core.streams.ReadStream pause();
descriptor: ()Lio/vertx/core/streams/ReadStream;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokeinterface io.vertx.redis.client.Redis.pause:()Lio/vertx/redis/client/Redis;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.streams.ReadStream handler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.vertx.core.Handler
invokeinterface io.vertx.redis.client.Redis.handler:(Lio/vertx/core/Handler;)Lio/vertx/redis/client/Redis;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.streams.ReadStream endHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokeinterface io.vertx.redis.client.Redis.endHandler:(Lio/vertx/core/Handler;)Lio/vertx/redis/client/Redis;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.streams.ReadStream resume();
descriptor: ()Lio/vertx/core/streams/ReadStream;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokeinterface io.vertx.redis.client.Redis.resume:()Lio/vertx/redis/client/Redis;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.streams.ReadStream fetch(long);
descriptor: (J)Lio/vertx/core/streams/ReadStream;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
0: aload 0
lload 1
invokeinterface io.vertx.redis.client.Redis.fetch:(J)Lio/vertx/redis/client/Redis;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.streams.StreamBase exceptionHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/StreamBase;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokeinterface io.vertx.redis.client.Redis.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/redis/client/Redis;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.streams.ReadStream exceptionHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokeinterface io.vertx.redis.client.Redis.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/redis/client/Redis;
areturn
LocalVariableTable:
Start End Slot Name Signature
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
}
Signature: Ljava/lang/Object;Lio/vertx/core/streams/ReadStream<Lio/vertx/redis/client/Response;>;
SourceFile: "Redis.java"
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.VertxGen()