public class io.vertx.redis.client.impl.RedisClusterClient implements io.vertx.redis.client.Redis
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.redis.client.impl.RedisClusterClient
super_class: java.lang.Object
{
private static final int RETRIES;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 16
private static final io.vertx.core.logging.Logger LOG;
descriptor: Lio/vertx/core/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Random RANDOM;
descriptor: Ljava/util/Random;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Map<io.vertx.redis.client.Command, java.util.function.Function<java.util.List<io.vertx.redis.client.Response>, io.vertx.redis.client.Response>> REDUCERS;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Lio/vertx/redis/client/Command;Ljava/util/function/Function<Ljava/util/List<Lio/vertx/redis/client/Response;>;Lio/vertx/redis/client/Response;>;>;
private static final java.util.Map<io.vertx.redis.client.Command, java.lang.String> UNSUPPORTEDCOMMANDS;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Lio/vertx/redis/client/Command;Ljava/lang/String;>;
private final io.vertx.core.Vertx vertx;
descriptor: Lio/vertx/core/Vertx;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.redis.client.RedisSlaves slaves;
descriptor: Lio/vertx/redis/client/RedisSlaves;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.redis.client.RedisOptions options;
descriptor: Lio/vertx/redis/client/RedisOptions;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<io.vertx.core.net.SocketAddress, io.vertx.redis.client.Redis> connections;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lio/vertx/core/net/SocketAddress;Lio/vertx/redis/client/Redis;>;
private final io.vertx.redis.client.Redis[][] slots;
descriptor: [[Lio/vertx/redis/client/Redis;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private io.vertx.core.Handler<java.lang.Throwable> onException;
descriptor: Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
private io.vertx.core.Handler<java.lang.Void> onEnd;
descriptor: Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Handler<Ljava/lang/Void;>;
private io.vertx.core.Handler<io.vertx.redis.client.Response> onMessage;
descriptor: Lio/vertx/core/Handler;
flags: (0x0002) ACC_PRIVATE
Signature: Lio/vertx/core/Handler<Lio/vertx/redis/client/Response;>;
private int slotNumber;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: ldc Lio/vertx/redis/client/impl/RedisClusterClient;
invokestatic io.vertx.core.logging.LoggerFactory.getLogger:(Ljava/lang/Class;)Lio/vertx/core/logging/Logger;
putstatic io.vertx.redis.client.impl.RedisClusterClient.LOG:Lio/vertx/core/logging/Logger;
1: new java.util.Random
dup
invokespecial java.util.Random.<init>:()V
putstatic io.vertx.redis.client.impl.RedisClusterClient.RANDOM:Ljava/util/Random;
2: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putstatic io.vertx.redis.client.impl.RedisClusterClient.REDUCERS:Ljava/util/Map;
3: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putstatic io.vertx.redis.client.impl.RedisClusterClient.UNSUPPORTEDCOMMANDS:Ljava/util/Map;
4: getstatic io.vertx.redis.client.Command.MSET:Lio/vertx/redis/client/Command;
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/redis/client/impl/RedisClusterClient.lambda$0(Ljava/util/List;)Lio/vertx/redis/client/Response; (6)
(Ljava/util/List;)Lio/vertx/redis/client/Response;
invokestatic io.vertx.redis.client.impl.RedisClusterClient.addReducer:(Lio/vertx/redis/client/Command;Ljava/util/function/Function;)V
5: getstatic io.vertx.redis.client.Command.DEL:Lio/vertx/redis/client/Command;
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/redis/client/impl/RedisClusterClient.lambda$1(Ljava/util/List;)Lio/vertx/redis/client/Response; (6)
(Ljava/util/List;)Lio/vertx/redis/client/Response;
invokestatic io.vertx.redis.client.impl.RedisClusterClient.addReducer:(Lio/vertx/redis/client/Command;Ljava/util/function/Function;)V
6: getstatic io.vertx.redis.client.Command.MGET:Lio/vertx/redis/client/Command;
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/redis/client/impl/RedisClusterClient.lambda$3(Ljava/util/List;)Lio/vertx/redis/client/Response; (6)
(Ljava/util/List;)Lio/vertx/redis/client/Response;
invokestatic io.vertx.redis.client.impl.RedisClusterClient.addReducer:(Lio/vertx/redis/client/Command;Ljava/util/function/Function;)V
7: getstatic io.vertx.redis.client.Command.KEYS:Lio/vertx/redis/client/Command;
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/redis/client/impl/RedisClusterClient.lambda$4(Ljava/util/List;)Lio/vertx/redis/client/Response; (6)
(Ljava/util/List;)Lio/vertx/redis/client/Response;
invokestatic io.vertx.redis.client.impl.RedisClusterClient.addReducer:(Lio/vertx/redis/client/Command;Ljava/util/function/Function;)V
8: getstatic io.vertx.redis.client.Command.FLUSHDB:Lio/vertx/redis/client/Command;
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/redis/client/impl/RedisClusterClient.lambda$5(Ljava/util/List;)Lio/vertx/redis/client/Response; (6)
(Ljava/util/List;)Lio/vertx/redis/client/Response;
invokestatic io.vertx.redis.client.impl.RedisClusterClient.addReducer:(Lio/vertx/redis/client/Command;Ljava/util/function/Function;)V
9: getstatic io.vertx.redis.client.Command.DBSIZE:Lio/vertx/redis/client/Command;
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/redis/client/impl/RedisClusterClient.lambda$6(Ljava/util/List;)Lio/vertx/redis/client/Response; (6)
(Ljava/util/List;)Lio/vertx/redis/client/Response;
invokestatic io.vertx.redis.client.impl.RedisClusterClient.addReducer:(Lio/vertx/redis/client/Command;Ljava/util/function/Function;)V
10: bipush 36
anewarray io.vertx.redis.client.Command
dup
iconst_0
getstatic io.vertx.redis.client.Command.ASKING:Lio/vertx/redis/client/Command;
aastore
dup
iconst_1
getstatic io.vertx.redis.client.Command.AUTH:Lio/vertx/redis/client/Command;
aastore
dup
iconst_2
getstatic io.vertx.redis.client.Command.BGREWRITEAOF:Lio/vertx/redis/client/Command;
aastore
dup
iconst_3
getstatic io.vertx.redis.client.Command.BGSAVE:Lio/vertx/redis/client/Command;
aastore
dup
iconst_4
getstatic io.vertx.redis.client.Command.CLIENT:Lio/vertx/redis/client/Command;
aastore
dup
iconst_5
getstatic io.vertx.redis.client.Command.CLUSTER:Lio/vertx/redis/client/Command;
aastore
dup
bipush 6
getstatic io.vertx.redis.client.Command.COMMAND:Lio/vertx/redis/client/Command;
aastore
dup
bipush 7
getstatic io.vertx.redis.client.Command.CONFIG:Lio/vertx/redis/client/Command;
aastore
dup
bipush 8
11: getstatic io.vertx.redis.client.Command.DEBUG:Lio/vertx/redis/client/Command;
aastore
dup
bipush 9
getstatic io.vertx.redis.client.Command.DISCARD:Lio/vertx/redis/client/Command;
aastore
dup
bipush 10
getstatic io.vertx.redis.client.Command.HOST:Lio/vertx/redis/client/Command;
aastore
dup
bipush 11
getstatic io.vertx.redis.client.Command.INFO:Lio/vertx/redis/client/Command;
aastore
dup
bipush 12
getstatic io.vertx.redis.client.Command.LASTSAVE:Lio/vertx/redis/client/Command;
aastore
dup
bipush 13
getstatic io.vertx.redis.client.Command.LATENCY:Lio/vertx/redis/client/Command;
aastore
dup
bipush 14
getstatic io.vertx.redis.client.Command.LOLWUT:Lio/vertx/redis/client/Command;
aastore
dup
bipush 15
getstatic io.vertx.redis.client.Command.MEMORY:Lio/vertx/redis/client/Command;
aastore
dup
bipush 16
getstatic io.vertx.redis.client.Command.MODULE:Lio/vertx/redis/client/Command;
aastore
dup
bipush 17
getstatic io.vertx.redis.client.Command.MONITOR:Lio/vertx/redis/client/Command;
aastore
dup
bipush 18
getstatic io.vertx.redis.client.Command.PFDEBUG:Lio/vertx/redis/client/Command;
aastore
dup
bipush 19
getstatic io.vertx.redis.client.Command.PFSELFTEST:Lio/vertx/redis/client/Command;
aastore
dup
bipush 20
12: getstatic io.vertx.redis.client.Command.PING:Lio/vertx/redis/client/Command;
aastore
dup
bipush 21
getstatic io.vertx.redis.client.Command.READONLY:Lio/vertx/redis/client/Command;
aastore
dup
bipush 22
getstatic io.vertx.redis.client.Command.READWRITE:Lio/vertx/redis/client/Command;
aastore
dup
bipush 23
getstatic io.vertx.redis.client.Command.REPLCONF:Lio/vertx/redis/client/Command;
aastore
dup
bipush 24
getstatic io.vertx.redis.client.Command.REPLICAOF:Lio/vertx/redis/client/Command;
aastore
dup
bipush 25
getstatic io.vertx.redis.client.Command.ROLE:Lio/vertx/redis/client/Command;
aastore
dup
bipush 26
getstatic io.vertx.redis.client.Command.SAVE:Lio/vertx/redis/client/Command;
aastore
dup
bipush 27
getstatic io.vertx.redis.client.Command.SCAN:Lio/vertx/redis/client/Command;
aastore
dup
bipush 28
getstatic io.vertx.redis.client.Command.SCRIPT:Lio/vertx/redis/client/Command;
aastore
dup
bipush 29
getstatic io.vertx.redis.client.Command.SELECT:Lio/vertx/redis/client/Command;
aastore
dup
bipush 30
getstatic io.vertx.redis.client.Command.SHUTDOWN:Lio/vertx/redis/client/Command;
aastore
dup
bipush 31
getstatic io.vertx.redis.client.Command.SLAVEOF:Lio/vertx/redis/client/Command;
aastore
dup
bipush 32
getstatic io.vertx.redis.client.Command.SLOWLOG:Lio/vertx/redis/client/Command;
aastore
dup
bipush 33
getstatic io.vertx.redis.client.Command.SWAPDB:Lio/vertx/redis/client/Command;
aastore
dup
bipush 34
13: getstatic io.vertx.redis.client.Command.SYNC:Lio/vertx/redis/client/Command;
aastore
dup
bipush 35
getstatic io.vertx.redis.client.Command.SENTINEL:Lio/vertx/redis/client/Command;
aastore
14: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
15: invokedynamic accept()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/redis/client/impl/RedisClusterClient.lambda$8(Lio/vertx/redis/client/Command;)V (6)
(Lio/vertx/redis/client/Command;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
16: getstatic io.vertx.redis.client.Command.FLUSHALL:Lio/vertx/redis/client/Command;
ldc "RedisClusterClient does not handle command FLUSHALL, use FLUSHDB"
invokestatic io.vertx.redis.client.impl.RedisClusterClient.addUnSupportedCommand:(Lio/vertx/redis/client/Command;Ljava/lang/String;)V
17: return
LocalVariableTable:
Start End Slot Name Signature
public static void addReducer(io.vertx.redis.client.Command, java.util.function.Function<java.util.List<io.vertx.redis.client.Response>, io.vertx.redis.client.Response>);
descriptor: (Lio/vertx/redis/client/Command;Ljava/util/function/Function;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic io.vertx.redis.client.impl.RedisClusterClient.REDUCERS:Ljava/util/Map;
aload 0
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 command Lio/vertx/redis/client/Command;
0 2 1 fn Ljava/util/function/Function<Ljava/util/List<Lio/vertx/redis/client/Response;>;Lio/vertx/redis/client/Response;>;
Signature: (Lio/vertx/redis/client/Command;Ljava/util/function/Function<Ljava/util/List<Lio/vertx/redis/client/Response;>;Lio/vertx/redis/client/Response;>;)V
MethodParameters:
Name Flags
command
fn
public static void addUnSupportedCommand(io.vertx.redis.client.Command, java.lang.String);
descriptor: (Lio/vertx/redis/client/Command;Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifeq 5
1: StackMap locals:
StackMap stack:
getstatic io.vertx.redis.client.impl.RedisClusterClient.UNSUPPORTEDCOMMANDS:Ljava/util/Map;
aload 0
new java.lang.StringBuilder
dup
ldc "RedisClusterClient does not handle command "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: new java.lang.String
dup
aload 0
invokeinterface io.vertx.redis.client.Command.getBytes:()[B
getstatic java.nio.charset.StandardCharsets.ISO_8859_1:Ljava/nio/charset/Charset;
invokespecial java.lang.String.<init>:([BLjava/nio/charset/Charset;)V
ldc "\r\n"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
iconst_1
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", use non cluster client on the right node."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: goto 6
5: StackMap locals:
StackMap stack:
getstatic io.vertx.redis.client.impl.RedisClusterClient.UNSUPPORTEDCOMMANDS:Ljava/util/Map;
aload 0
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 command Lio/vertx/redis/client/Command;
0 7 1 error Ljava/lang/String;
MethodParameters:
Name Flags
command
error
public static io.vertx.redis.client.Redis create(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=4, locals=2, args_size=2
start local 0 start local 1 0: 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
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 vertx Lio/vertx/core/Vertx;
0 1 1 options Lio/vertx/redis/client/RedisOptions;
MethodParameters:
Name Flags
vertx
options
private void <init>(io.vertx.core.Vertx, io.vertx.redis.client.RedisOptions);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/redis/client/RedisOptions;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, 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
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield io.vertx.redis.client.impl.RedisClusterClient.connections:Ljava/util/Map;
2: aload 0
sipush 16384
anewarray io.vertx.redis.client.Redis[]
putfield io.vertx.redis.client.impl.RedisClusterClient.slots:[[Lio/vertx/redis/client/Redis;
3: aload 0
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/redis/client/impl/RedisClusterClient.lambda$9(Ljava/lang/Throwable;)V (6)
(Ljava/lang/Throwable;)V
putfield io.vertx.redis.client.impl.RedisClusterClient.onException:Lio/vertx/core/Handler;
4: aload 0
aload 1
putfield io.vertx.redis.client.impl.RedisClusterClient.vertx:Lio/vertx/core/Vertx;
5: aload 0
aload 2
invokevirtual io.vertx.redis.client.RedisOptions.getUseSlave:()Lio/vertx/redis/client/RedisSlaves;
putfield io.vertx.redis.client.impl.RedisClusterClient.slaves:Lio/vertx/redis/client/RedisSlaves;
6: aload 0
aload 2
putfield io.vertx.redis.client.impl.RedisClusterClient.options:Lio/vertx/redis/client/RedisOptions;
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 8 1 vertx Lio/vertx/core/Vertx;
0 8 2 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.Redis>>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/redis/client/Redis;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.options:Lio/vertx/redis/client/RedisOptions;
invokevirtual io.vertx.redis.client.RedisOptions.getEndpoints:()Ljava/util/List;
astore 2
start local 2 1: new java.util.concurrent.atomic.AtomicInteger
dup
aload 2
invokeinterface java.util.List.size:()I
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
astore 3
start local 3 2: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 5
StackMap locals: io.vertx.redis.client.impl.RedisClusterClient io.vertx.core.Handler java.util.List java.util.concurrent.atomic.AtomicInteger top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.core.net.SocketAddress
astore 4
start local 4 4: aload 0
aload 4
aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.options:Lio/vertx/redis/client/RedisOptions;
aload 0
aload 3
aload 4
aload 1
invokedynamic handle(Lio/vertx/redis/client/impl/RedisClusterClient;Ljava/util/concurrent/atomic/AtomicInteger;Lio/vertx/core/net/SocketAddress;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/redis/client/impl/RedisClusterClient.lambda$10(Ljava/util/concurrent/atomic/AtomicInteger;Lio/vertx/core/net/SocketAddress;Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.getClient:(Lio/vertx/core/net/SocketAddress;Lio/vertx/redis/client/RedisOptions;Lio/vertx/core/Handler;)V
end local 4 5: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 7 1 onCreate Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/redis/client/Redis;>;>;
1 7 2 endpoints Ljava/util/List<Lio/vertx/core/net/SocketAddress;>;
2 7 3 counter Ljava/util/concurrent/atomic/AtomicInteger;
4 5 4 endpoint Lio/vertx/core/net/SocketAddress;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/redis/client/Redis;>;>;)Lio/vertx/redis/client/Redis;
MethodParameters:
Name Flags
onCreate
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.connections:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokedynamic test()Ljava/util/function/Predicate;
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;)Z
io/vertx/redis/client/impl/RedisClusterClient.lambda$12(Ljava/util/Map$Entry;)Z (6)
(Ljava/util/Map$Entry;)Z
invokeinterface java.util.Set.removeIf:(Ljava/util/function/Predicate;)Z
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
public io.vertx.redis.client.Redis exceptionHandler(io.vertx.core.Handler<java.lang.Throwable>);
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
aload 1
putfield io.vertx.redis.client.impl.RedisClusterClient.onException: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/redis/client/impl/RedisClusterClient;
0 2 1 handler Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
Signature: (Lio/vertx/core/Handler<Ljava/lang/Throwable;>;)Lio/vertx/redis/client/Redis;
MethodParameters:
Name Flags
handler
public io.vertx.redis.client.Redis endHandler(io.vertx.core.Handler<java.lang.Void>);
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
aload 1
putfield io.vertx.redis.client.impl.RedisClusterClient.onEnd: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/redis/client/impl/RedisClusterClient;
0 2 1 handler Lio/vertx/core/Handler<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)Lio/vertx/redis/client/Redis;
MethodParameters:
Name Flags
handler
public 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: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.vertx.redis.client.impl.RedisClusterClient.onMessage: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/redis/client/impl/RedisClusterClient;
0 2 1 handler Lio/vertx/core/Handler<Lio/vertx/redis/client/Response;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/redis/client/Response;>;)Lio/vertx/redis/client/Redis;
MethodParameters:
Name Flags
handler
public io.vertx.redis.client.Redis pause();
descriptor: ()Lio/vertx/redis/client/Redis;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.connections:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokedynamic accept()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/redis/client/impl/RedisClusterClient.lambda$13(Lio/vertx/redis/client/Redis;)V (6)
(Lio/vertx/redis/client/Redis;)V
invokeinterface java.util.Collection.forEach:(Ljava/util/function/Consumer;)V
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
public io.vertx.redis.client.Redis resume();
descriptor: ()Lio/vertx/redis/client/Redis;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.connections:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokedynamic accept()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/redis/client/impl/RedisClusterClient.lambda$14(Lio/vertx/redis/client/Redis;)V (6)
(Lio/vertx/redis/client/Redis;)V
invokeinterface java.util.Collection.forEach:(Ljava/util/function/Consumer;)V
1: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
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=6, locals=17, args_size=3
start local 0 start local 1 start local 2 0: aload 1
checkcast io.vertx.redis.client.impl.RequestImpl
astore 3
start local 3 1: aload 3
invokevirtual io.vertx.redis.client.impl.RequestImpl.command:()Lio/vertx/redis/client/Command;
astore 4
start local 4 2: getstatic io.vertx.redis.client.impl.RedisClusterClient.UNSUPPORTEDCOMMANDS:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 8
3: aload 2
getstatic io.vertx.redis.client.impl.RedisClusterClient.UNSUPPORTEDCOMMANDS:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
4: goto 7
StackMap locals: io.vertx.redis.client.impl.RedisClusterClient io.vertx.redis.client.Request io.vertx.core.Handler io.vertx.redis.client.impl.RequestImpl io.vertx.redis.client.Command
StackMap stack: java.lang.RuntimeException
5: astore 5
start local 5 6: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.onException:Lio/vertx/core/Handler;
aload 5
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 5 7: StackMap locals:
StackMap stack:
aload 0
areturn
8: StackMap locals:
StackMap stack:
aload 4
invokeinterface io.vertx.redis.client.Command.isMovable:()Z
ifeq 14
9: aload 2
ldc "RedisClusterClient does not handle movable keys commands, use non cluster client on the right node."
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
10: goto 13
StackMap locals:
StackMap stack: java.lang.RuntimeException
11: astore 5
start local 5 12: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.onException:Lio/vertx/core/Handler;
aload 5
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 5 13: StackMap locals:
StackMap stack:
aload 0
areturn
14: StackMap locals:
StackMap stack:
aload 4
invokeinterface io.vertx.redis.client.Command.isKeyless:()Z
ifeq 26
getstatic io.vertx.redis.client.impl.RedisClusterClient.REDUCERS:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 26
15: new java.util.ArrayList
dup
aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.slotNumber:I
invokespecial java.util.ArrayList.<init>:(I)V
astore 5
start local 5 16: iconst_1
istore 6
start local 6 17: goto 23
18: StackMap locals: java.util.List int
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.slots:[[Lio/vertx/redis/client/Redis;
aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.slots:[[Lio/vertx/redis/client/Redis;
arraylength
aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.slotNumber:I
idiv
iconst_1
isub
iload 6
imul
aaload
astore 7
start local 7 19: invokestatic io.vertx.core.Future.future:()Lio/vertx/core/Future;
astore 8
start local 8 20: aload 0
aload 0
aload 3
invokevirtual io.vertx.redis.client.impl.RequestImpl.command:()Lio/vertx/redis/client/Command;
invokeinterface io.vertx.redis.client.Command.isReadOnly:()Z
aload 7
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.selectMasterOrSlave:(Z[Lio/vertx/redis/client/Redis;)Lio/vertx/redis/client/Redis;
aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.options:Lio/vertx/redis/client/RedisOptions;
bipush 16
aload 3
aload 8
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.send:(Lio/vertx/redis/client/Redis;Lio/vertx/redis/client/RedisOptions;ILio/vertx/redis/client/Request;Lio/vertx/core/Handler;)V
21: aload 5
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 7 22: iinc 6 1
StackMap locals:
StackMap stack:
23: iload 6
aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.slotNumber:I
if_icmple 18
end local 6 24: aload 5
invokestatic io.vertx.core.CompositeFuture.all:(Ljava/util/List;)Lio/vertx/core/CompositeFuture;
aload 0
aload 2
aload 4
invokedynamic handle(Lio/vertx/redis/client/impl/RedisClusterClient;Lio/vertx/core/Handler;Lio/vertx/redis/client/Command;)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/redis/client/impl/RedisClusterClient.lambda$15(Lio/vertx/core/Handler;Lio/vertx/redis/client/Command;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
25: aload 0
areturn
end local 5 26: StackMap locals:
StackMap stack:
aload 4
invokeinterface io.vertx.redis.client.Command.isKeyless:()Z
ifeq 29
27: aload 0
aload 0
iconst_m1
aload 4
invokeinterface io.vertx.redis.client.Command.isReadOnly:()Z
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.selectClient:(IZ)Lio/vertx/redis/client/Redis;
aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.options:Lio/vertx/redis/client/RedisOptions;
bipush 16
aload 3
aload 2
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.send:(Lio/vertx/redis/client/Redis;Lio/vertx/redis/client/RedisOptions;ILio/vertx/redis/client/Request;Lio/vertx/core/Handler;)V
28: aload 0
areturn
29: StackMap locals:
StackMap stack:
aload 3
invokevirtual io.vertx.redis.client.impl.RequestImpl.getArgs:()Ljava/util/List;
astore 5
start local 5 30: aload 4
invokeinterface io.vertx.redis.client.Command.isMultiKey:()Z
ifeq 66
31: iconst_m1
istore 6
start local 6 32: aload 4
invokeinterface io.vertx.redis.client.Command.getFirstKey:()I
iconst_1
isub
istore 7
start local 7 33: aload 4
invokeinterface io.vertx.redis.client.Command.getLastKey:()I
istore 8
start local 8 34: iload 8
ifle 36
35: iinc 8 -1
36: StackMap locals: io.vertx.redis.client.impl.RedisClusterClient io.vertx.redis.client.Request io.vertx.core.Handler io.vertx.redis.client.impl.RequestImpl io.vertx.redis.client.Command java.util.List int int int
StackMap stack:
iload 8
ifge 38
37: aload 5
invokeinterface java.util.List.size:()I
iload 8
iconst_1
iadd
iadd
istore 8
38: StackMap locals:
StackMap stack:
aload 4
invokeinterface io.vertx.redis.client.Command.getInterval:()I
istore 9
start local 9 39: iload 7
istore 10
start local 10 40: goto 63
41: StackMap locals: int int
StackMap stack:
aload 5
iload 10
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast byte[]
invokestatic io.vertx.redis.client.impl.ZModem.generate:([B)I
istore 11
start local 11 42: iload 6
iconst_m1
if_icmpne 45
43: iload 11
istore 6
44: goto 62
45: StackMap locals: int
StackMap stack:
iload 6
iload 11
if_icmpeq 62
46: getstatic io.vertx.redis.client.impl.RedisClusterClient.REDUCERS:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 52
47: aload 2
new java.lang.StringBuilder
dup
ldc "No Reducer available for: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
48: goto 51
StackMap locals:
StackMap stack: java.lang.RuntimeException
49: astore 12
start local 12 50: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.onException:Lio/vertx/core/Handler;
aload 12
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 12 51: StackMap locals:
StackMap stack:
aload 0
areturn
52: StackMap locals:
StackMap stack:
aload 0
aload 4
aload 5
iload 7
iload 8
iload 9
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.splitRequest:(Lio/vertx/redis/client/Command;Ljava/util/List;III)Ljava/util/Map;
astore 12
start local 12 53: new java.util.ArrayList
dup
aload 12
invokeinterface java.util.Map.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 13
start local 13 54: aload 12
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 15
goto 59
StackMap locals: io.vertx.redis.client.impl.RedisClusterClient io.vertx.redis.client.Request io.vertx.core.Handler io.vertx.redis.client.impl.RequestImpl io.vertx.redis.client.Command java.util.List int int int int int int java.util.Map java.util.List top java.util.Iterator
StackMap stack:
55: aload 15
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 14
start local 14 56: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 16
start local 16 57: aload 0
aload 0
aload 14
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
aload 4
invokeinterface io.vertx.redis.client.Command.isReadOnly:()Z
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.selectClient:(IZ)Lio/vertx/redis/client/Redis;
aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.options:Lio/vertx/redis/client/RedisOptions;
bipush 16
aload 14
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast io.vertx.redis.client.Request
aload 16
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.send:(Lio/vertx/redis/client/Redis;Lio/vertx/redis/client/RedisOptions;ILio/vertx/redis/client/Request;Lio/vertx/core/Handler;)V
58: aload 13
aload 16
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 16 end local 14 59: StackMap locals:
StackMap stack:
aload 15
invokeinterface java.util.Iterator.hasNext:()Z
ifne 55
60: aload 13
invokestatic io.vertx.core.CompositeFuture.all:(Ljava/util/List;)Lio/vertx/core/CompositeFuture;
aload 0
aload 2
aload 4
invokedynamic handle(Lio/vertx/redis/client/impl/RedisClusterClient;Lio/vertx/core/Handler;Lio/vertx/redis/client/Command;)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/redis/client/impl/RedisClusterClient.lambda$16(Lio/vertx/core/Handler;Lio/vertx/redis/client/Command;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
61: aload 0
areturn
end local 13 end local 12 end local 11 62: StackMap locals: io.vertx.redis.client.impl.RedisClusterClient io.vertx.redis.client.Request io.vertx.core.Handler io.vertx.redis.client.impl.RequestImpl io.vertx.redis.client.Command java.util.List int int int int int
StackMap stack:
iload 10
iload 9
iadd
istore 10
StackMap locals:
StackMap stack:
63: iload 10
iload 8
if_icmplt 41
end local 10 64: aload 0
aload 0
iload 6
aload 4
invokeinterface io.vertx.redis.client.Command.isReadOnly:()Z
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.selectClient:(IZ)Lio/vertx/redis/client/Redis;
aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.options:Lio/vertx/redis/client/RedisOptions;
bipush 16
aload 3
aload 2
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.send:(Lio/vertx/redis/client/Redis;Lio/vertx/redis/client/RedisOptions;ILio/vertx/redis/client/Request;Lio/vertx/core/Handler;)V
65: aload 0
areturn
end local 9 end local 8 end local 7 end local 6 66: StackMap locals: io.vertx.redis.client.impl.RedisClusterClient io.vertx.redis.client.Request io.vertx.core.Handler io.vertx.redis.client.impl.RequestImpl io.vertx.redis.client.Command java.util.List
StackMap stack:
aload 4
invokeinterface io.vertx.redis.client.Command.getFirstKey:()I
iconst_1
isub
istore 6
start local 6 67: aload 0
aload 0
aload 5
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast byte[]
invokestatic io.vertx.redis.client.impl.ZModem.generate:([B)I
aload 4
invokeinterface io.vertx.redis.client.Command.isReadOnly:()Z
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.selectClient:(IZ)Lio/vertx/redis/client/Redis;
aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.options:Lio/vertx/redis/client/RedisOptions;
bipush 16
aload 3
aload 2
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.send:(Lio/vertx/redis/client/Redis;Lio/vertx/redis/client/RedisOptions;ILio/vertx/redis/client/Request;Lio/vertx/core/Handler;)V
68: aload 0
areturn
end local 6 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 69 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 69 1 request Lio/vertx/redis/client/Request;
0 69 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/redis/client/Response;>;>;
1 69 3 req Lio/vertx/redis/client/impl/RequestImpl;
2 69 4 cmd Lio/vertx/redis/client/Command;
6 7 5 e Ljava/lang/RuntimeException;
12 13 5 e Ljava/lang/RuntimeException;
16 26 5 responses Ljava/util/List<Lio/vertx/core/Future;>;
17 24 6 i I
19 22 7 clients [Lio/vertx/redis/client/Redis;
20 22 8 f Lio/vertx/core/Future<Lio/vertx/redis/client/Response;>;
30 69 5 args Ljava/util/List<[B>;
32 66 6 currentSlot I
33 66 7 start I
34 66 8 end I
39 66 9 step I
40 64 10 i I
42 62 11 slot I
50 51 12 e Ljava/lang/RuntimeException;
53 62 12 requests Ljava/util/Map<Ljava/lang/Integer;Lio/vertx/redis/client/Request;>;
54 62 13 responses Ljava/util/List<Lio/vertx/core/Future;>;
56 59 14 kv Ljava/util/Map$Entry<Ljava/lang/Integer;Lio/vertx/redis/client/Request;>;
57 59 16 p Lio/vertx/core/Promise<Lio/vertx/redis/client/Response;>;
67 69 6 start I
Exception table:
from to target type
3 4 5 Class java.lang.RuntimeException
9 10 11 Class java.lang.RuntimeException
47 48 49 Class java.lang.RuntimeException
Signature: (Lio/vertx/redis/client/Request;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/redis/client/Response;>;>;)Lio/vertx/redis/client/Redis;
MethodParameters:
Name Flags
request
handler
private java.util.Map<java.lang.Integer, io.vertx.redis.client.Request> splitRequest(io.vertx.redis.client.Command, java.util.List<byte[]>, int, int, int);
descriptor: (Lio/vertx/redis/client/Command;Ljava/util/List;III)Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=11, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: new java.util.IdentityHashMap
dup
invokespecial java.util.IdentityHashMap.<init>:()V
astore 6
start local 6 1: iload 3
istore 7
start local 7 2: goto 20
3: StackMap locals: java.util.Map int
StackMap stack:
aload 2
iload 7
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast byte[]
invokestatic io.vertx.redis.client.impl.ZModem.generate:([B)I
istore 8
start local 8 4: aload 6
iload 8
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.redis.client.Request
astore 9
start local 9 5: aload 9
ifnonnull 13
6: aload 1
invokestatic io.vertx.redis.client.Request.cmd:(Lio/vertx/redis/client/Command;)Lio/vertx/redis/client/Request;
astore 9
7: iconst_0
istore 10
start local 10 8: goto 11
9: StackMap locals: int io.vertx.redis.client.Request int
StackMap stack:
aload 9
aload 2
iload 10
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast byte[]
invokeinterface io.vertx.redis.client.Request.arg:([B)Lio/vertx/redis/client/Request;
pop
10: iinc 10 1
StackMap locals:
StackMap stack:
11: iload 10
iload 3
if_icmplt 9
end local 10 12: aload 6
iload 8
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 9
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: StackMap locals:
StackMap stack:
aload 9
aload 2
iload 7
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast byte[]
invokeinterface io.vertx.redis.client.Request.arg:([B)Lio/vertx/redis/client/Request;
pop
14: iload 7
iconst_1
iadd
istore 10
start local 10 15: goto 18
16: StackMap locals: int
StackMap stack:
aload 9
aload 2
iload 10
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast byte[]
invokeinterface io.vertx.redis.client.Request.arg:([B)Lio/vertx/redis/client/Request;
pop
17: iinc 10 1
StackMap locals:
StackMap stack:
18: iload 10
iload 7
iload 5
iadd
if_icmplt 16
end local 10 end local 9 end local 8 19: iload 7
iload 5
iadd
istore 7
StackMap locals:
StackMap stack:
20: iload 7
iload 4
if_icmplt 3
end local 7 21: aload 6
invokeinterface java.util.Map.values:()Ljava/util/Collection;
astore 7
start local 7 22: aload 7
iload 4
aload 2
invokedynamic accept(ILjava/util/List;)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/redis/client/impl/RedisClusterClient.lambda$17(ILjava/util/List;Lio/vertx/redis/client/Request;)V (6)
(Lio/vertx/redis/client/Request;)V
invokeinterface java.util.Collection.forEach:(Ljava/util/function/Consumer;)V
23: aload 6
areturn
end local 7 end local 6 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 24 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 24 1 cmd Lio/vertx/redis/client/Command;
0 24 2 args Ljava/util/List<[B>;
0 24 3 start I
0 24 4 end I
0 24 5 step I
1 24 6 map Ljava/util/Map<Ljava/lang/Integer;Lio/vertx/redis/client/Request;>;
2 21 7 i I
4 19 8 slot I
5 19 9 request Lio/vertx/redis/client/Request;
8 12 10 j I
15 19 10 j I
22 24 7 col Ljava/util/Collection<Lio/vertx/redis/client/Request;>;
Signature: (Lio/vertx/redis/client/Command;Ljava/util/List<[B>;III)Ljava/util/Map<Ljava/lang/Integer;Lio/vertx/redis/client/Request;>;
MethodParameters:
Name Flags
cmd
args
start
end
step
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=6, locals=14, args_size=3
start local 0 start local 1 start local 2 0: iconst_m1
istore 3
start local 3 1: iconst_0
istore 4
start local 4 2: iconst_0
istore 5
start local 5 3: goto 48
4: StackMap locals: int int int
StackMap stack:
aload 1
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast io.vertx.redis.client.impl.RequestImpl
astore 6
start local 6 5: aload 6
invokevirtual io.vertx.redis.client.impl.RequestImpl.command:()Lio/vertx/redis/client/Command;
astore 7
start local 7 6: getstatic io.vertx.redis.client.impl.RedisClusterClient.UNSUPPORTEDCOMMANDS:Ljava/util/Map;
aload 7
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 12
7: aload 2
getstatic io.vertx.redis.client.impl.RedisClusterClient.UNSUPPORTEDCOMMANDS:Ljava/util/Map;
aload 7
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
8: goto 11
StackMap locals: io.vertx.redis.client.impl.RedisClusterClient java.util.List io.vertx.core.Handler int int int io.vertx.redis.client.impl.RequestImpl io.vertx.redis.client.Command
StackMap stack: java.lang.RuntimeException
9: astore 8
start local 8 10: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.onException:Lio/vertx/core/Handler;
aload 8
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 8 11: StackMap locals:
StackMap stack:
aload 0
areturn
12: StackMap locals:
StackMap stack:
iload 4
aload 7
invokeinterface io.vertx.redis.client.Command.isReadOnly:()Z
ior
istore 4
13: aload 7
invokeinterface io.vertx.redis.client.Command.isKeyless:()Z
ifeq 15
14: goto 47
15: StackMap locals:
StackMap stack:
aload 7
invokeinterface io.vertx.redis.client.Command.isMovable:()Z
ifeq 18
16: aload 2
ldc "RedisClusterClient does not handle movable keys commands, use non cluster client on the right node."
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
17: aload 0
areturn
18: StackMap locals:
StackMap stack:
aload 6
invokevirtual io.vertx.redis.client.impl.RequestImpl.getArgs:()Ljava/util/List;
astore 8
start local 8 19: aload 7
invokeinterface io.vertx.redis.client.Command.isMultiKey:()Z
ifeq 39
20: aload 7
invokeinterface io.vertx.redis.client.Command.getFirstKey:()I
iconst_1
isub
istore 9
start local 9 21: aload 7
invokeinterface io.vertx.redis.client.Command.getLastKey:()I
istore 10
start local 10 22: iload 10
ifle 24
23: iinc 10 -1
24: StackMap locals: java.util.List int int
StackMap stack:
iload 10
ifge 26
25: aload 8
invokeinterface java.util.List.size:()I
iload 10
iconst_1
iadd
iadd
istore 10
26: StackMap locals:
StackMap stack:
aload 7
invokeinterface io.vertx.redis.client.Command.getInterval:()I
istore 11
start local 11 27: iload 9
istore 12
start local 12 28: goto 37
29: StackMap locals: int int
StackMap stack:
aload 8
iload 12
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast byte[]
invokestatic io.vertx.redis.client.impl.ZModem.generate:([B)I
istore 13
start local 13 30: iload 3
iconst_m1
if_icmpne 33
31: iload 13
istore 3
32: goto 36
33: StackMap locals: int
StackMap stack:
iload 3
iload 13
if_icmpeq 36
34: aload 2
ldc "RedisClusterClient does not handle batching commands with keys across different slots. TODO: Split the command into slots and then batch."
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
35: aload 0
areturn
end local 13 36: StackMap locals:
StackMap stack:
iload 12
iload 11
iadd
istore 12
StackMap locals:
StackMap stack:
37: iload 12
iload 10
if_icmplt 29
end local 12 38: goto 47
end local 11 end local 10 end local 9 39: StackMap locals: io.vertx.redis.client.impl.RedisClusterClient java.util.List io.vertx.core.Handler int int int io.vertx.redis.client.impl.RequestImpl io.vertx.redis.client.Command java.util.List
StackMap stack:
aload 7
invokeinterface io.vertx.redis.client.Command.getFirstKey:()I
iconst_1
isub
istore 9
start local 9 40: aload 8
iload 9
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast byte[]
invokestatic io.vertx.redis.client.impl.ZModem.generate:([B)I
istore 10
start local 10 41: iload 3
iconst_m1
if_icmpne 44
42: iload 10
istore 3
43: goto 47
44: StackMap locals: int int
StackMap stack:
iload 3
iload 10
if_icmpeq 47
45: aload 2
ldc "RedisClusterClient does not handle batching commands with keys across different slots. TODO: Split the command into slots and then batch."
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
46: aload 0
areturn
end local 10 end local 9 end local 8 end local 7 end local 6 47: StackMap locals: io.vertx.redis.client.impl.RedisClusterClient java.util.List io.vertx.core.Handler int int int
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
48: iload 5
aload 1
invokeinterface java.util.List.size:()I
if_icmplt 4
end local 5 49: aload 0
aload 0
iload 3
iload 4
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.selectClient:(IZ)Lio/vertx/redis/client/Redis;
aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.options:Lio/vertx/redis/client/RedisOptions;
bipush 16
aload 1
aload 2
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.batch:(Lio/vertx/redis/client/Redis;Lio/vertx/redis/client/RedisOptions;ILjava/util/List;Lio/vertx/core/Handler;)V
50: aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 51 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 51 1 requests Ljava/util/List<Lio/vertx/redis/client/Request;>;
0 51 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/util/List<Lio/vertx/redis/client/Response;>;>;>;
1 51 3 currentSlot I
2 51 4 readOnly Z
3 49 5 i I
5 47 6 req Lio/vertx/redis/client/impl/RequestImpl;
6 47 7 cmd Lio/vertx/redis/client/Command;
10 11 8 e Ljava/lang/RuntimeException;
19 47 8 args Ljava/util/List<[B>;
21 39 9 start I
22 39 10 end I
27 39 11 step I
28 38 12 j I
30 36 13 slot I
40 47 9 start I
41 47 10 slot I
Exception table:
from to target type
7 8 9 Class java.lang.RuntimeException
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;
MethodParameters:
Name Flags
requests
handler
public io.vertx.core.net.SocketAddress socketAddress();
descriptor: ()Lio/vertx/core/net/SocketAddress;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "Cluster Connection is not bound to a socket"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
public io.vertx.redis.client.Redis fetch(long);
descriptor: (J)Lio/vertx/redis/client/Redis;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.connections:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
lload 1
invokedynamic accept(J)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/redis/client/impl/RedisClusterClient.lambda$18(JLio/vertx/redis/client/Redis;)V (6)
(Lio/vertx/redis/client/Redis;)V
invokeinterface java.util.Collection.forEach:(Ljava/util/function/Consumer;)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 2 1 amount J
MethodParameters:
Name Flags
amount
private void getClient(io.vertx.core.net.SocketAddress, io.vertx.redis.client.RedisOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.redis.client.Redis>>);
descriptor: (Lio/vertx/core/net/SocketAddress;Lio/vertx/redis/client/RedisOptions;Lio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.connections:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.redis.client.Redis
astore 4
start local 4 1: aload 4
ifnull 4
2: aload 3
aload 4
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
3: return
4: StackMap locals: io.vertx.redis.client.Redis
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.vertx:Lio/vertx/core/Vertx;
aload 2
aload 1
invokestatic io.vertx.redis.client.impl.RedisClient.create:(Lio/vertx/core/Vertx;Lio/vertx/redis/client/RedisOptions;Lio/vertx/core/net/SocketAddress;)Lio/vertx/redis/client/Redis;
aload 0
aload 3
aload 1
aload 2
invokedynamic handle(Lio/vertx/redis/client/impl/RedisClusterClient;Lio/vertx/core/Handler;Lio/vertx/core/net/SocketAddress;Lio/vertx/redis/client/RedisOptions;)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/redis/client/impl/RedisClusterClient.lambda$19(Lio/vertx/core/Handler;Lio/vertx/core/net/SocketAddress;Lio/vertx/redis/client/RedisOptions;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.redis.client.Redis.connect:(Lio/vertx/core/Handler;)Lio/vertx/redis/client/Redis;
pop
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 6 1 address Lio/vertx/core/net/SocketAddress;
0 6 2 options Lio/vertx/redis/client/RedisOptions;
0 6 3 onClient Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/redis/client/Redis;>;>;
1 6 4 cli Lio/vertx/redis/client/Redis;
Signature: (Lio/vertx/core/net/SocketAddress;Lio/vertx/redis/client/RedisOptions;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/redis/client/Redis;>;>;)V
MethodParameters:
Name Flags
address
options
onClient
private void getSlots(io.vertx.redis.client.RedisOptions, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/redis/client/RedisOptions;Lio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 3
start local 3 1: new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
astore 4
start local 4 2: new io.vertx.redis.client.impl.RedisClusterClient$1
dup
aload 0
aload 3
aload 2
aload 4
aload 1
invokespecial io.vertx.redis.client.impl.RedisClusterClient$1.<init>:(Lio/vertx/redis/client/impl/RedisClusterClient;Ljava/util/Set;Lio/vertx/core/Handler;Ljava/util/concurrent/atomic/AtomicReference;Lio/vertx/redis/client/RedisOptions;)V
astore 5
start local 5 3: aload 5
invokeinterface java.lang.Runnable.run:()V
4: 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 5 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 5 1 options Lio/vertx/redis/client/RedisOptions;
0 5 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
1 5 3 exclude Ljava/util/Set<Lio/vertx/core/net/SocketAddress;>;
2 5 4 cause Ljava/util/concurrent/atomic/AtomicReference<Ljava/lang/Throwable;>;
3 5 5 tryClient Ljava/lang/Runnable;
Signature: (Lio/vertx/redis/client/RedisOptions;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
options
handler
private io.vertx.redis.client.Redis getRandomConnection(java.util.Set<io.vertx.core.net.SocketAddress>);
descriptor: (Ljava/util/Set;)Lio/vertx/redis/client/Redis;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.connections:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
1: aload 1
invokedynamic test(Ljava/util/Set;)Ljava/util/function/Predicate;
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;)Z
io/vertx/redis/client/impl/RedisClusterClient.lambda$24(Ljava/util/Set;Ljava/util/Map$Entry;)Z (6)
(Ljava/util/Map$Entry;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
2: 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;
java/util/Map$Entry.getValue()Ljava/lang/Object; (9 itf)
(Ljava/util/Map$Entry;)Lio/vertx/redis/client/Redis;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
3: 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
4: astore 2
start local 2 5: aload 2
invokeinterface java.util.List.size:()I
ifne 7
6: aconst_null
areturn
7: StackMap locals: java.util.List
StackMap stack:
aload 2
getstatic io.vertx.redis.client.impl.RedisClusterClient.RANDOM:Ljava/util/Random;
aload 2
invokeinterface java.util.List.size:()I
invokevirtual java.util.Random.nextInt:(I)I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast io.vertx.redis.client.Redis
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 8 1 exclude Ljava/util/Set<Lio/vertx/core/net/SocketAddress;>;
5 8 2 available Ljava/util/List<Lio/vertx/redis/client/Redis;>;
Signature: (Ljava/util/Set<Lio/vertx/core/net/SocketAddress;>;)Lio/vertx/redis/client/Redis;
MethodParameters:
Name Flags
exclude
private void loadSlot(int, int, java.util.List<io.vertx.core.net.SocketAddress>, io.vertx.redis.client.RedisOptions, io.vertx.core.Handler<java.lang.Void>);
descriptor: (IILjava/util/List;Lio/vertx/redis/client/RedisOptions;Lio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=12, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 3
invokeinterface java.util.List.size:()I
anewarray io.vertx.redis.client.Redis
astore 6
start local 6 1: new java.util.concurrent.atomic.AtomicInteger
dup
aload 3
invokeinterface java.util.List.size:()I
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
astore 7
start local 7 2: iconst_0
istore 8
start local 8 3: goto 11
4: StackMap locals: io.vertx.redis.client.Redis[] java.util.concurrent.atomic.AtomicInteger int
StackMap stack:
iload 8
istore 9
start local 9 5: aload 3
iload 9
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast io.vertx.core.net.SocketAddress
astore 10
start local 10 6: invokestatic io.vertx.core.Future.future:()Lio/vertx/core/Future;
astore 11
start local 11 7: aload 0
aload 10
aload 4
aload 11
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.getClient:(Lio/vertx/core/net/SocketAddress;Lio/vertx/redis/client/RedisOptions;Lio/vertx/core/Handler;)V
8: aload 11
aload 4
invokedynamic apply(Lio/vertx/redis/client/RedisOptions;)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/redis/client/impl/RedisClusterClient.lambda$26(Lio/vertx/redis/client/RedisOptions;Lio/vertx/redis/client/Redis;)Lio/vertx/core/Future; (6)
(Lio/vertx/redis/client/Redis;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.compose:(Ljava/util/function/Function;)Lio/vertx/core/Future;
9: aload 0
aload 10
aload 6
iload 9
aload 7
iload 1
iload 2
aload 5
invokedynamic handle(Lio/vertx/redis/client/impl/RedisClusterClient;Lio/vertx/core/net/SocketAddress;[Lio/vertx/redis/client/Redis;ILjava/util/concurrent/atomic/AtomicInteger;IILio/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/redis/client/impl/RedisClusterClient.lambda$27(Lio/vertx/core/net/SocketAddress;[Lio/vertx/redis/client/Redis;ILjava/util/concurrent/atomic/AtomicInteger;IILio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.Future.setHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
end local 11 end local 10 end local 9 10: iinc 8 1
StackMap locals:
StackMap stack:
11: iload 8
aload 3
invokeinterface java.util.List.size:()I
if_icmplt 4
end local 8 12: return
end local 7 end local 6 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 13 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 13 1 start I
0 13 2 end I
0 13 3 addresses Ljava/util/List<Lio/vertx/core/net/SocketAddress;>;
0 13 4 options Lio/vertx/redis/client/RedisOptions;
0 13 5 onLoad Lio/vertx/core/Handler<Ljava/lang/Void;>;
1 13 6 connections [Lio/vertx/redis/client/Redis;
2 13 7 counter Ljava/util/concurrent/atomic/AtomicInteger;
3 12 8 i I
5 10 9 idx I
6 10 10 address Lio/vertx/core/net/SocketAddress;
7 10 11 getClientFuture Lio/vertx/core/Future<Lio/vertx/redis/client/Redis;>;
Signature: (IILjava/util/List<Lio/vertx/core/net/SocketAddress;>;Lio/vertx/redis/client/RedisOptions;Lio/vertx/core/Handler<Ljava/lang/Void;>;)V
MethodParameters:
Name Flags
start
end
addresses
options
onLoad
private void send(io.vertx.redis.client.Redis, io.vertx.redis.client.RedisOptions, int, io.vertx.redis.client.Request, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.redis.client.Response>>);
descriptor: (Lio/vertx/redis/client/Redis;Lio/vertx/redis/client/RedisOptions;ILio/vertx/redis/client/Request;Lio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
ifnonnull 6
1: aload 5
ldc "No connection available."
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: goto 5
StackMap locals:
StackMap stack: java.lang.RuntimeException
3: astore 6
start local 6 4: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.onException:Lio/vertx/core/Handler;
aload 6
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 6 5: StackMap locals:
StackMap stack:
return
6: StackMap locals:
StackMap stack:
aload 1
aload 4
aload 0
iload 3
aload 5
aload 2
aload 4
aload 1
invokedynamic handle(Lio/vertx/redis/client/impl/RedisClusterClient;ILio/vertx/core/Handler;Lio/vertx/redis/client/RedisOptions;Lio/vertx/redis/client/Request;Lio/vertx/redis/client/Redis;)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/redis/client/impl/RedisClusterClient.lambda$28(ILio/vertx/core/Handler;Lio/vertx/redis/client/RedisOptions;Lio/vertx/redis/client/Request;Lio/vertx/redis/client/Redis;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.redis.client.Redis.send:(Lio/vertx/redis/client/Request;Lio/vertx/core/Handler;)Lio/vertx/redis/client/Redis;
pop
7: 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 8 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 8 1 client Lio/vertx/redis/client/Redis;
0 8 2 options Lio/vertx/redis/client/RedisOptions;
0 8 3 retries I
0 8 4 command Lio/vertx/redis/client/Request;
0 8 5 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/redis/client/Response;>;>;
4 5 6 e Ljava/lang/RuntimeException;
Exception table:
from to target type
1 2 3 Class java.lang.RuntimeException
Signature: (Lio/vertx/redis/client/Redis;Lio/vertx/redis/client/RedisOptions;ILio/vertx/redis/client/Request;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/redis/client/Response;>;>;)V
MethodParameters:
Name Flags
client final
options final
retries final
command
handler
private void batch(io.vertx.redis.client.Redis, io.vertx.redis.client.RedisOptions, int, 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: (Lio/vertx/redis/client/Redis;Lio/vertx/redis/client/RedisOptions;ILjava/util/List;Lio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
ifnonnull 6
1: aload 5
ldc "No connection available."
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: goto 5
StackMap locals:
StackMap stack: java.lang.RuntimeException
3: astore 6
start local 6 4: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.onException:Lio/vertx/core/Handler;
aload 6
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 6 5: StackMap locals:
StackMap stack:
return
6: StackMap locals:
StackMap stack:
aload 1
aload 4
aload 0
iload 3
aload 5
aload 2
aload 4
aload 1
invokedynamic handle(Lio/vertx/redis/client/impl/RedisClusterClient;ILio/vertx/core/Handler;Lio/vertx/redis/client/RedisOptions;Ljava/util/List;Lio/vertx/redis/client/Redis;)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/redis/client/impl/RedisClusterClient.lambda$33(ILio/vertx/core/Handler;Lio/vertx/redis/client/RedisOptions;Ljava/util/List;Lio/vertx/redis/client/Redis;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.redis.client.Redis.batch:(Ljava/util/List;Lio/vertx/core/Handler;)Lio/vertx/redis/client/Redis;
pop
7: 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 8 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 8 1 client Lio/vertx/redis/client/Redis;
0 8 2 options Lio/vertx/redis/client/RedisOptions;
0 8 3 retries I
0 8 4 commands Ljava/util/List<Lio/vertx/redis/client/Request;>;
0 8 5 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/util/List<Lio/vertx/redis/client/Response;>;>;>;
4 5 6 e Ljava/lang/RuntimeException;
Exception table:
from to target type
1 2 3 Class java.lang.RuntimeException
Signature: (Lio/vertx/redis/client/Redis;Lio/vertx/redis/client/RedisOptions;ILjava/util/List<Lio/vertx/redis/client/Request;>;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/util/List<Lio/vertx/redis/client/Response;>;>;>;)V
MethodParameters:
Name Flags
client final
options final
retries final
commands
handler
private io.vertx.redis.client.Redis selectClient(int, boolean);
descriptor: (IZ)Lio/vertx/redis/client/Redis;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iconst_m1
if_icmpne 2
1: aload 0
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.getRandomConnection:(Ljava/util/Set;)Lio/vertx/redis/client/Redis;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.slots:[[Lio/vertx/redis/client/Redis;
iload 1
aaload
astore 3
start local 3 3: aload 3
ifnull 4
aload 3
arraylength
ifne 5
4: StackMap locals: io.vertx.redis.client.Redis[]
StackMap stack:
aload 0
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.getRandomConnection:(Ljava/util/Set;)Lio/vertx/redis/client/Redis;
areturn
5: StackMap locals:
StackMap stack:
aload 0
iload 2
aload 3
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.selectMasterOrSlave:(Z[Lio/vertx/redis/client/Redis;)Lio/vertx/redis/client/Redis;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 6 1 keySlot I
0 6 2 readOnly Z
3 6 3 clients [Lio/vertx/redis/client/Redis;
MethodParameters:
Name Flags
keySlot
readOnly
private io.vertx.redis.client.Redis selectMasterOrSlave(boolean, io.vertx.redis.client.Redis[]);
descriptor: (Z[Lio/vertx/redis/client/Redis;)Lio/vertx/redis/client/Redis;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: iload 1
ifeq 6
aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.slaves:Lio/vertx/redis/client/RedisSlaves;
getstatic io.vertx.redis.client.RedisSlaves.NEVER:Lio/vertx/redis/client/RedisSlaves;
if_acmpeq 6
aload 2
arraylength
iconst_1
if_icmple 6
2: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.slaves:Lio/vertx/redis/client/RedisSlaves;
getstatic io.vertx.redis.client.RedisSlaves.ALWAYS:Lio/vertx/redis/client/RedisSlaves;
if_acmpne 4
3: getstatic io.vertx.redis.client.impl.RedisClusterClient.RANDOM:Ljava/util/Random;
aload 2
arraylength
iconst_1
isub
invokevirtual java.util.Random.nextInt:(I)I
iconst_1
iadd
istore 3
4: StackMap locals: int
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.slaves:Lio/vertx/redis/client/RedisSlaves;
getstatic io.vertx.redis.client.RedisSlaves.SHARE:Lio/vertx/redis/client/RedisSlaves;
if_acmpne 6
5: getstatic io.vertx.redis.client.impl.RedisClusterClient.RANDOM:Ljava/util/Random;
aload 2
arraylength
invokevirtual java.util.Random.nextInt:(I)I
istore 3
6: StackMap locals:
StackMap stack:
aload 2
iload 3
aaload
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 7 1 readOnly Z
0 7 2 clients [Lio/vertx/redis/client/Redis;
1 7 3 index I
MethodParameters:
Name Flags
readOnly
clients
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
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.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
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.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
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.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
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.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
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.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
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.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
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/redis/client/Redis;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static io.vertx.redis.client.Response lambda$0(java.util.List);
descriptor: (Ljava/util/List;)Lio/vertx/redis/client/Response;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic io.vertx.redis.client.impl.types.SimpleStringType.OK:Lio/vertx/redis/client/impl/types/SimpleStringType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 list Ljava/util/List<Lio/vertx/redis/client/Response;>;
private static io.vertx.redis.client.Response lambda$1(java.util.List);
descriptor: (Ljava/util/List;)Lio/vertx/redis/client/Response;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
invokedynamic applyAsLong()Ljava/util/function/ToLongFunction;
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;)J
io/vertx/redis/client/Response.toLong()Ljava/lang/Long; (9 itf)
(Lio/vertx/redis/client/Response;)J
invokeinterface java.util.stream.Stream.mapToLong:(Ljava/util/function/ToLongFunction;)Ljava/util/stream/LongStream;
invokeinterface java.util.stream.LongStream.sum:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokestatic io.vertx.redis.client.impl.types.IntegerType.create:(Ljava/lang/Long;)Lio/vertx/redis/client/impl/types/IntegerType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 list Ljava/util/List<Lio/vertx/redis/client/Response;>;
private static io.vertx.redis.client.Response lambda$3(java.util.List);
descriptor: (Ljava/util/List;)Lio/vertx/redis/client/Response;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=7, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: java.util.List int top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.redis.client.Response
astore 2
start local 2 3: iload 1
aload 2
invokeinterface io.vertx.redis.client.Response.size:()I
iadd
istore 1
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: iload 1
invokestatic io.vertx.redis.client.impl.types.MultiType.create:(I)Lio/vertx/redis/client/impl/types/MultiType;
astore 2
start local 2 6: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 12
StackMap locals: java.util.List int io.vertx.redis.client.impl.types.MultiType top java.util.Iterator
StackMap stack:
7: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.redis.client.Response
astore 3
start local 3 8: aload 3
invokeinterface io.vertx.redis.client.Response.iterator:()Ljava/util/Iterator;
astore 6
goto 11
StackMap locals: java.util.List int io.vertx.redis.client.impl.types.MultiType io.vertx.redis.client.Response java.util.Iterator top java.util.Iterator
StackMap stack:
9: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.redis.client.Response
astore 5
start local 5 10: aload 2
aload 5
invokevirtual io.vertx.redis.client.impl.types.MultiType.add:(Lio/vertx/redis/client/Response;)V
end local 5 11: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
end local 3 12: StackMap locals: java.util.List int io.vertx.redis.client.impl.types.MultiType top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
13: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 list Ljava/util/List<Lio/vertx/redis/client/Response;>;
1 14 1 total I
3 4 2 resp Lio/vertx/redis/client/Response;
6 14 2 multi Lio/vertx/redis/client/impl/types/MultiType;
8 12 3 resp Lio/vertx/redis/client/Response;
10 11 5 child Lio/vertx/redis/client/Response;
private static io.vertx.redis.client.Response lambda$4(java.util.List);
descriptor: (Ljava/util/List;)Lio/vertx/redis/client/Response;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=7, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: java.util.List int top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.redis.client.Response
astore 2
start local 2 3: iload 1
aload 2
invokeinterface io.vertx.redis.client.Response.size:()I
iadd
istore 1
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: iload 1
invokestatic io.vertx.redis.client.impl.types.MultiType.create:(I)Lio/vertx/redis/client/impl/types/MultiType;
astore 2
start local 2 6: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 12
StackMap locals: java.util.List int io.vertx.redis.client.impl.types.MultiType top java.util.Iterator
StackMap stack:
7: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.redis.client.Response
astore 3
start local 3 8: aload 3
invokeinterface io.vertx.redis.client.Response.iterator:()Ljava/util/Iterator;
astore 6
goto 11
StackMap locals: java.util.List int io.vertx.redis.client.impl.types.MultiType io.vertx.redis.client.Response java.util.Iterator top java.util.Iterator
StackMap stack:
9: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.redis.client.Response
astore 5
start local 5 10: aload 2
aload 5
invokevirtual io.vertx.redis.client.impl.types.MultiType.add:(Lio/vertx/redis/client/Response;)V
end local 5 11: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
end local 3 12: StackMap locals: java.util.List int io.vertx.redis.client.impl.types.MultiType top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
13: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 list Ljava/util/List<Lio/vertx/redis/client/Response;>;
1 14 1 total I
3 4 2 resp Lio/vertx/redis/client/Response;
6 14 2 multi Lio/vertx/redis/client/impl/types/MultiType;
8 12 3 resp Lio/vertx/redis/client/Response;
10 11 5 child Lio/vertx/redis/client/Response;
private static io.vertx.redis.client.Response lambda$5(java.util.List);
descriptor: (Ljava/util/List;)Lio/vertx/redis/client/Response;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic io.vertx.redis.client.impl.types.SimpleStringType.OK:Lio/vertx/redis/client/impl/types/SimpleStringType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 list Ljava/util/List<Lio/vertx/redis/client/Response;>;
private static io.vertx.redis.client.Response lambda$6(java.util.List);
descriptor: (Ljava/util/List;)Lio/vertx/redis/client/Response;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
invokedynamic applyAsLong()Ljava/util/function/ToLongFunction;
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;)J
io/vertx/redis/client/Response.toLong()Ljava/lang/Long; (9 itf)
(Lio/vertx/redis/client/Response;)J
invokeinterface java.util.stream.Stream.mapToLong:(Ljava/util/function/ToLongFunction;)Ljava/util/stream/LongStream;
invokeinterface java.util.stream.LongStream.sum:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokestatic io.vertx.redis.client.impl.types.IntegerType.create:(Ljava/lang/Long;)Lio/vertx/redis/client/impl/types/IntegerType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 list Ljava/util/List<Lio/vertx/redis/client/Response;>;
private static void lambda$8(io.vertx.redis.client.Command);
descriptor: (Lio/vertx/redis/client/Command;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokestatic io.vertx.redis.client.impl.RedisClusterClient.addUnSupportedCommand:(Lio/vertx/redis/client/Command;Ljava/lang/String;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 command Lio/vertx/redis/client/Command;
private static void lambda$9(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic io.vertx.redis.client.impl.RedisClusterClient.LOG:Lio/vertx/core/logging/Logger;
ldc "Unhandled Error"
aload 0
invokevirtual io.vertx.core.logging.Logger.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 t Ljava/lang/Throwable;
private void lambda$10(java.util.concurrent.atomic.AtomicInteger, io.vertx.core.net.SocketAddress, io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Ljava/util/concurrent/atomic/AtomicInteger;Lio/vertx/core/net/SocketAddress;Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=6, args_size=5
start local 0 start local 4 0: aload 1
invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
istore 5
start local 5 1: aload 4
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 3
2: getstatic io.vertx.redis.client.impl.RedisClusterClient.LOG:Lio/vertx/core/logging/Logger;
new java.lang.StringBuilder
dup
ldc "Failed to connect to: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual io.vertx.core.logging.Logger.warn:(Ljava/lang/Object;)V
3: StackMap locals: int
StackMap stack:
iload 5
ifne 5
4: aload 0
aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.options:Lio/vertx/redis/client/RedisOptions;
aload 0
aload 3
invokedynamic handle(Lio/vertx/redis/client/impl/RedisClusterClient;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/redis/client/impl/RedisClusterClient.lambda$11(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.getSlots:(Lio/vertx/redis/client/RedisOptions;Lio/vertx/core/Handler;)V
end local 5 5: StackMap locals:
StackMap stack:
return
end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 6 4 ar Lio/vertx/core/AsyncResult<Lio/vertx/redis/client/Redis;>;
1 5 5 total I
private static boolean lambda$12(java.util.Map$Entry);
descriptor: (Ljava/util/Map$Entry;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
ifnull 2
1: aload 0
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast io.vertx.redis.client.Redis
invokeinterface io.vertx.redis.client.Redis.close:()V
2: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 kv Ljava/util/Map$Entry<Lio/vertx/core/net/SocketAddress;Lio/vertx/redis/client/Redis;>;
private static void lambda$13(io.vertx.redis.client.Redis);
descriptor: (Lio/vertx/redis/client/Redis;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 2
1: aload 0
invokeinterface io.vertx.redis.client.Redis.pause:()Lio/vertx/redis/client/Redis;
pop
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 conn Lio/vertx/redis/client/Redis;
private static void lambda$14(io.vertx.redis.client.Redis);
descriptor: (Lio/vertx/redis/client/Redis;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 2
1: aload 0
invokeinterface io.vertx.redis.client.Redis.resume:()Lio/vertx/redis/client/Redis;
pop
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 conn Lio/vertx/redis/client/Redis;
private void lambda$15(io.vertx.core.Handler, io.vertx.redis.client.Command, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/redis/client/Command;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 3 0: aload 3
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 6
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 10
StackMap locals:
StackMap stack: java.lang.RuntimeException
3: astore 4
start local 4 4: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.onException:Lio/vertx/core/Handler;
aload 4
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 4 5: goto 10
6: StackMap locals:
StackMap stack:
aload 1
getstatic io.vertx.redis.client.impl.RedisClusterClient.REDUCERS:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.function.Function
aload 3
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.CompositeFuture
invokeinterface io.vertx.core.CompositeFuture.list:()Ljava/util/List;
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.redis.client.Response
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
7: goto 10
StackMap locals:
StackMap stack: java.lang.RuntimeException
8: astore 4
start local 4 9: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.onException:Lio/vertx/core/Handler;
aload 4
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 4 10: StackMap locals:
StackMap stack:
return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 11 3 composite Lio/vertx/core/AsyncResult<Lio/vertx/core/CompositeFuture;>;
4 5 4 e Ljava/lang/RuntimeException;
9 10 4 e Ljava/lang/RuntimeException;
Exception table:
from to target type
1 2 3 Class java.lang.RuntimeException
6 7 8 Class java.lang.RuntimeException
private void lambda$16(io.vertx.core.Handler, io.vertx.redis.client.Command, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/redis/client/Command;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 3 0: aload 3
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 6
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 10
StackMap locals:
StackMap stack: java.lang.RuntimeException
3: astore 4
start local 4 4: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.onException:Lio/vertx/core/Handler;
aload 4
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 4 5: goto 10
6: StackMap locals:
StackMap stack:
aload 1
getstatic io.vertx.redis.client.impl.RedisClusterClient.REDUCERS:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.function.Function
aload 3
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.CompositeFuture
invokeinterface io.vertx.core.CompositeFuture.list:()Ljava/util/List;
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.redis.client.Response
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
7: goto 10
StackMap locals:
StackMap stack: java.lang.RuntimeException
8: astore 4
start local 4 9: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.onException:Lio/vertx/core/Handler;
aload 4
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 4 10: StackMap locals:
StackMap stack:
return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 11 3 composite Lio/vertx/core/AsyncResult<Lio/vertx/core/CompositeFuture;>;
4 5 4 e Ljava/lang/RuntimeException;
9 10 4 e Ljava/lang/RuntimeException;
Exception table:
from to target type
1 2 3 Class java.lang.RuntimeException
6 7 8 Class java.lang.RuntimeException
private static void lambda$17(int, java.util.List, io.vertx.redis.client.Request);
descriptor: (ILjava/util/List;Lio/vertx/redis/client/Request;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=4, args_size=3
start local 2 0: iload 0
istore 3
start local 3 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 2
aload 1
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast byte[]
invokeinterface io.vertx.redis.client.Request.arg:([B)Lio/vertx/redis/client/Request;
pop
3: iinc 3 1
StackMap locals:
StackMap stack:
4: iload 3
aload 1
invokeinterface java.util.List.size:()I
if_icmplt 2
end local 3 5: return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 6 2 req Lio/vertx/redis/client/Request;
1 5 3 j I
private static void lambda$18(long, io.vertx.redis.client.Redis);
descriptor: (JLio/vertx/redis/client/Redis;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
start local 2 0: aload 2
ifnull 2
1: aload 2
lload 0
invokeinterface io.vertx.redis.client.Redis.fetch:(J)Lio/vertx/redis/client/Redis;
pop
2: StackMap locals:
StackMap stack:
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 3 2 conn Lio/vertx/redis/client/Redis;
private void lambda$19(io.vertx.core.Handler, io.vertx.core.net.SocketAddress, io.vertx.redis.client.RedisOptions, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/net/SocketAddress;Lio/vertx/redis/client/RedisOptions;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=6, args_size=5
start local 0 start local 4 0: aload 4
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 3
1: aload 1
aload 4
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: return
3: StackMap locals:
StackMap stack:
aload 4
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.redis.client.Redis
astore 5
start local 5 4: aload 5
aload 0
aload 2
aload 3
invokedynamic handle(Lio/vertx/redis/client/impl/RedisClusterClient;Lio/vertx/core/net/SocketAddress;Lio/vertx/redis/client/RedisOptions;)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/redis/client/impl/RedisClusterClient.lambda$20(Lio/vertx/core/net/SocketAddress;Lio/vertx/redis/client/RedisOptions;Ljava/lang/Throwable;)V (7)
(Ljava/lang/Throwable;)V
invokeinterface io.vertx.redis.client.Redis.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/redis/client/Redis;
pop
5: aload 5
aload 0
aload 2
invokedynamic handle(Lio/vertx/redis/client/impl/RedisClusterClient;Lio/vertx/core/net/SocketAddress;)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/redis/client/impl/RedisClusterClient.lambda$22(Lio/vertx/core/net/SocketAddress;Ljava/lang/Void;)V (7)
(Ljava/lang/Void;)V
invokeinterface io.vertx.redis.client.Redis.endHandler:(Lio/vertx/core/Handler;)Lio/vertx/redis/client/Redis;
pop
6: aload 5
aload 0
invokedynamic handle(Lio/vertx/redis/client/impl/RedisClusterClient;)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/redis/client/impl/RedisClusterClient.lambda$23(Lio/vertx/redis/client/Response;)V (7)
(Lio/vertx/redis/client/Response;)V
invokeinterface io.vertx.redis.client.Redis.handler:(Lio/vertx/core/Handler;)Lio/vertx/redis/client/Redis;
pop
7: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.connections:Ljava/util/Map;
aload 2
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: 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 9: return
end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 10 4 create Lio/vertx/core/AsyncResult<Lio/vertx/redis/client/Redis;>;
4 9 5 conn Lio/vertx/redis/client/Redis;
private static boolean lambda$24(java.util.Set, java.util.Map$Entry);
descriptor: (Ljava/util/Set;Ljava/util/Map$Entry;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 1
aload 1
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
ifnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 kv Ljava/util/Map$Entry<Lio/vertx/core/net/SocketAddress;Lio/vertx/redis/client/Redis;>;
private static io.vertx.core.Future lambda$26(io.vertx.redis.client.RedisOptions, io.vertx.redis.client.Redis);
descriptor: (Lio/vertx/redis/client/RedisOptions;Lio/vertx/redis/client/Redis;)Lio/vertx/core/Future;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
start local 1 0: getstatic io.vertx.redis.client.RedisSlaves.NEVER:Lio/vertx/redis/client/RedisSlaves;
aload 0
invokevirtual io.vertx.redis.client.RedisOptions.getUseSlave:()Lio/vertx/redis/client/RedisSlaves;
if_acmpeq 4
1: invokestatic io.vertx.core.Future.future:()Lio/vertx/core/Future;
astore 2
start local 2 2: aload 1
getstatic io.vertx.redis.client.Command.READONLY:Lio/vertx/redis/client/Command;
invokestatic io.vertx.redis.client.Request.cmd:(Lio/vertx/redis/client/Command;)Lio/vertx/redis/client/Request;
aload 2
invokeinterface io.vertx.redis.client.Redis.send:(Lio/vertx/redis/client/Request;Lio/vertx/core/Handler;)Lio/vertx/redis/client/Redis;
pop
3: aload 2
aload 1
invokeinterface io.vertx.core.Future.map:(Ljava/lang/Object;)Lio/vertx/core/Future;
areturn
end local 2 4: StackMap locals:
StackMap stack:
aload 1
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 5 1 getClient Lio/vertx/redis/client/Redis;
2 4 2 readOnlyFuture Lio/vertx/core/Future<Lio/vertx/redis/client/Response;>;
private void lambda$27(io.vertx.core.net.SocketAddress, io.vertx.redis.client.Redis[], int, java.util.concurrent.atomic.AtomicInteger, int, int, io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/net/SocketAddress;[Lio/vertx/redis/client/Redis;ILjava/util/concurrent/atomic/AtomicInteger;IILio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=10, args_size=9
start local 0 start local 8 0: aload 8
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 3
1: getstatic io.vertx.redis.client.impl.RedisClusterClient.LOG:Lio/vertx/core/logging/Logger;
new java.lang.StringBuilder
dup
ldc "Could not get a connection to node ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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;
invokevirtual io.vertx.core.logging.Logger.warn:(Ljava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 2
iload 3
aload 8
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.redis.client.Redis
aastore
4: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
ifne 11
5: iload 5
istore 9
start local 9 6: goto 9
7: StackMap locals: int
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.slots:[[Lio/vertx/redis/client/Redis;
iload 9
aload 2
aastore
8: iinc 9 1
StackMap locals:
StackMap stack:
9: iload 9
iload 6
if_icmple 7
end local 9 10: aload 7
aconst_null
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
11: StackMap locals:
StackMap stack:
return
end local 8 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 12 8 getClient Lio/vertx/core/AsyncResult<Lio/vertx/redis/client/Redis;>;
6 10 9 j I
private void lambda$28(int, io.vertx.core.Handler, io.vertx.redis.client.RedisOptions, io.vertx.redis.client.Request, io.vertx.redis.client.Redis, io.vertx.core.AsyncResult);
descriptor: (ILio/vertx/core/Handler;Lio/vertx/redis/client/RedisOptions;Lio/vertx/redis/client/Request;Lio/vertx/redis/client/Redis;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=9, locals=12, args_size=7
start local 0 start local 6 0: aload 6
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 17
aload 6
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
instanceof io.vertx.redis.client.impl.types.ErrorType
ifeq 17
iload 1
iflt 17
1: aload 6
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
checkcast io.vertx.redis.client.impl.types.ErrorType
astore 7
start local 7 2: aload 7
ldc "ASK"
invokevirtual io.vertx.redis.client.impl.types.ErrorType.is:(Ljava/lang/String;)Z
istore 8
start local 8 3: iload 8
ifne 4
aload 7
ldc "MOVED"
invokevirtual io.vertx.redis.client.impl.types.ErrorType.is:(Ljava/lang/String;)Z
ifeq 4
iconst_1
goto 5
StackMap locals: io.vertx.redis.client.impl.types.ErrorType int
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 9
start local 9 6: iload 9
ifne 7
iload 8
ifeq 13
7: StackMap locals: int
StackMap stack:
aload 0
aload 7
aload 2
aload 3
iload 1
aload 4
invokedynamic run(Lio/vertx/redis/client/impl/RedisClusterClient;Lio/vertx/redis/client/impl/types/ErrorType;Lio/vertx/core/Handler;Lio/vertx/redis/client/RedisOptions;ILio/vertx/redis/client/Request;)Ljava/lang/Runnable;
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:
()V
io/vertx/redis/client/impl/RedisClusterClient.lambda$29(Lio/vertx/redis/client/impl/types/ErrorType;Lio/vertx/core/Handler;Lio/vertx/redis/client/RedisOptions;ILio/vertx/redis/client/Request;)V (7)
()V
astore 10
start local 10 8: iload 9
ifeq 11
9: aload 0
aload 3
aload 10
invokedynamic handle(Ljava/lang/Runnable;)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/redis/client/impl/RedisClusterClient.lambda$31(Ljava/lang/Runnable;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.getSlots:(Lio/vertx/redis/client/RedisOptions;Lio/vertx/core/Handler;)V
10: goto 12
11: StackMap locals: java.lang.Runnable
StackMap stack:
aload 10
invokeinterface java.lang.Runnable.run:()V
12: StackMap locals:
StackMap stack:
return
end local 10 13: StackMap locals:
StackMap stack:
aload 7
ldc "TRYAGAIN"
invokevirtual io.vertx.redis.client.impl.types.ErrorType.is:(Ljava/lang/String;)Z
ifne 14
aload 7
ldc "CLUSTERDOWN"
invokevirtual io.vertx.redis.client.impl.types.ErrorType.is:(Ljava/lang/String;)Z
ifeq 17
14: StackMap locals:
StackMap stack:
ldc 2.0
bipush 16
iload 1
bipush 9
invokestatic java.lang.Math.max:(II)I
isub
i2d
invokestatic java.lang.Math.pow:(DD)D
ldc 10.0
dmul
d2l
lstore 10
start local 10 15: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.vertx:Lio/vertx/core/Vertx;
lload 10
aload 0
aload 5
aload 3
iload 1
aload 4
aload 2
invokedynamic handle(Lio/vertx/redis/client/impl/RedisClusterClient;Lio/vertx/redis/client/Redis;Lio/vertx/redis/client/RedisOptions;ILio/vertx/redis/client/Request;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/redis/client/impl/RedisClusterClient.lambda$32(Lio/vertx/redis/client/Redis;Lio/vertx/redis/client/RedisOptions;ILio/vertx/redis/client/Request;Lio/vertx/core/Handler;Ljava/lang/Long;)V (7)
(Ljava/lang/Long;)V
invokeinterface io.vertx.core.Vertx.setTimer:(JLio/vertx/core/Handler;)J
pop2
16: return
end local 10 end local 9 end local 8 end local 7 17: StackMap locals:
StackMap stack:
aload 2
aload 6
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
18: goto 21
StackMap locals:
StackMap stack: java.lang.RuntimeException
19: astore 7
start local 7 20: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.onException:Lio/vertx/core/Handler;
aload 7
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 7 21: StackMap locals:
StackMap stack:
return
end local 6 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 22 6 send Lio/vertx/core/AsyncResult<Lio/vertx/redis/client/Response;>;
2 17 7 cause Lio/vertx/redis/client/impl/types/ErrorType;
3 17 8 ask Z
6 17 9 moved Z
8 13 10 andThen Ljava/lang/Runnable;
15 17 10 backoff J
20 21 7 e Ljava/lang/RuntimeException;
Exception table:
from to target type
17 18 19 Class java.lang.RuntimeException
private void lambda$33(int, io.vertx.core.Handler, io.vertx.redis.client.RedisOptions, java.util.List, io.vertx.redis.client.Redis, io.vertx.core.AsyncResult);
descriptor: (ILio/vertx/core/Handler;Lio/vertx/redis/client/RedisOptions;Ljava/util/List;Lio/vertx/redis/client/Redis;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=9, locals=12, args_size=7
start local 0 start local 6 0: aload 6
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 17
aload 6
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
instanceof io.vertx.redis.client.impl.types.ErrorType
ifeq 17
iload 1
iflt 17
1: aload 6
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
checkcast io.vertx.redis.client.impl.types.ErrorType
astore 7
start local 7 2: aload 7
ldc "ASK"
invokevirtual io.vertx.redis.client.impl.types.ErrorType.is:(Ljava/lang/String;)Z
istore 8
start local 8 3: iload 8
ifne 4
aload 7
ldc "MOVED"
invokevirtual io.vertx.redis.client.impl.types.ErrorType.is:(Ljava/lang/String;)Z
ifeq 4
iconst_1
goto 5
StackMap locals: io.vertx.redis.client.impl.types.ErrorType int
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 9
start local 9 6: iload 9
ifne 7
iload 8
ifeq 13
7: StackMap locals: int
StackMap stack:
aload 0
aload 7
aload 2
aload 3
iload 1
aload 4
invokedynamic run(Lio/vertx/redis/client/impl/RedisClusterClient;Lio/vertx/redis/client/impl/types/ErrorType;Lio/vertx/core/Handler;Lio/vertx/redis/client/RedisOptions;ILjava/util/List;)Ljava/lang/Runnable;
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:
()V
io/vertx/redis/client/impl/RedisClusterClient.lambda$34(Lio/vertx/redis/client/impl/types/ErrorType;Lio/vertx/core/Handler;Lio/vertx/redis/client/RedisOptions;ILjava/util/List;)V (7)
()V
astore 10
start local 10 8: iload 9
ifeq 11
9: aload 0
aload 3
aload 10
invokedynamic handle(Ljava/lang/Runnable;)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/redis/client/impl/RedisClusterClient.lambda$36(Ljava/lang/Runnable;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.getSlots:(Lio/vertx/redis/client/RedisOptions;Lio/vertx/core/Handler;)V
10: goto 12
11: StackMap locals: java.lang.Runnable
StackMap stack:
aload 10
invokeinterface java.lang.Runnable.run:()V
12: StackMap locals:
StackMap stack:
return
end local 10 13: StackMap locals:
StackMap stack:
aload 7
ldc "TRYAGAIN"
invokevirtual io.vertx.redis.client.impl.types.ErrorType.is:(Ljava/lang/String;)Z
ifne 14
aload 7
ldc "CLUSTERDOWN"
invokevirtual io.vertx.redis.client.impl.types.ErrorType.is:(Ljava/lang/String;)Z
ifeq 17
14: StackMap locals:
StackMap stack:
ldc 2.0
bipush 16
iload 1
bipush 9
invokestatic java.lang.Math.max:(II)I
isub
i2d
invokestatic java.lang.Math.pow:(DD)D
ldc 10.0
dmul
d2l
lstore 10
start local 10 15: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.vertx:Lio/vertx/core/Vertx;
lload 10
aload 0
aload 5
aload 3
iload 1
aload 4
aload 2
invokedynamic handle(Lio/vertx/redis/client/impl/RedisClusterClient;Lio/vertx/redis/client/Redis;Lio/vertx/redis/client/RedisOptions;ILjava/util/List;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/redis/client/impl/RedisClusterClient.lambda$37(Lio/vertx/redis/client/Redis;Lio/vertx/redis/client/RedisOptions;ILjava/util/List;Lio/vertx/core/Handler;Ljava/lang/Long;)V (7)
(Ljava/lang/Long;)V
invokeinterface io.vertx.core.Vertx.setTimer:(JLio/vertx/core/Handler;)J
pop2
16: return
end local 10 end local 9 end local 8 end local 7 17: StackMap locals:
StackMap stack:
aload 2
aload 6
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
18: goto 21
StackMap locals:
StackMap stack: java.lang.RuntimeException
19: astore 7
start local 7 20: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.onException:Lio/vertx/core/Handler;
aload 7
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 7 21: StackMap locals:
StackMap stack:
return
end local 6 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 22 6 send Lio/vertx/core/AsyncResult<Ljava/util/List<Lio/vertx/redis/client/Response;>;>;
2 17 7 cause Lio/vertx/redis/client/impl/types/ErrorType;
3 17 8 ask Z
6 17 9 moved Z
8 13 10 andThen Ljava/lang/Runnable;
15 17 10 backoff J
20 21 7 e Ljava/lang/RuntimeException;
Exception table:
from to target type
17 18 19 Class java.lang.RuntimeException
private void lambda$11(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=3, args_size=3
start local 0 start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 3
1: aload 1
aload 2
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 4
3: StackMap locals:
StackMap stack:
aload 1
aload 0
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 5 2 getSlots Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
private void lambda$20(io.vertx.core.net.SocketAddress, io.vertx.redis.client.RedisOptions, java.lang.Throwable);
descriptor: (Lio/vertx/core/net/SocketAddress;Lio/vertx/redis/client/RedisOptions;Ljava/lang/Throwable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 3 0: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.connections:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.onException:Lio/vertx/core/Handler;
ifnull 3
2: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.onException:Lio/vertx/core/Handler;
aload 3
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 0
invokedynamic handle(Lio/vertx/redis/client/impl/RedisClusterClient;)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/redis/client/impl/RedisClusterClient.lambda$21(Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.getSlots:(Lio/vertx/redis/client/RedisOptions;Lio/vertx/core/Handler;)V
4: return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 5 3 t Ljava/lang/Throwable;
private void lambda$22(io.vertx.core.net.SocketAddress, java.lang.Void);
descriptor: (Lio/vertx/core/net/SocketAddress;Ljava/lang/Void;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.connections:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.connections:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
ifne 4
2: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.onEnd:Lio/vertx/core/Handler;
ifnull 4
3: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.onEnd:Lio/vertx/core/Handler;
aconst_null
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 5 2 v Ljava/lang/Void;
private void lambda$23(io.vertx.redis.client.Response);
descriptor: (Lio/vertx/redis/client/Response;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.onMessage:Lio/vertx/core/Handler;
ifnull 2
1: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.onMessage:Lio/vertx/core/Handler;
aload 1
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 3 1 r Lio/vertx/redis/client/Response;
private void lambda$29(io.vertx.redis.client.impl.types.ErrorType, io.vertx.core.Handler, io.vertx.redis.client.RedisOptions, int, io.vertx.redis.client.Request);
descriptor: (Lio/vertx/redis/client/impl/types/ErrorType;Lio/vertx/core/Handler;Lio/vertx/redis/client/RedisOptions;ILio/vertx/redis/client/Request;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=8, locals=9, args_size=6
start local 0 0: aload 1
bipush 32
iconst_2
invokevirtual io.vertx.redis.client.impl.types.ErrorType.slice:(CI)Ljava/lang/String;
astore 6
start local 6 1: aload 6
ifnonnull 7
2: aload 2
aload 1
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
3: goto 6
StackMap locals: io.vertx.redis.client.impl.RedisClusterClient io.vertx.redis.client.impl.types.ErrorType io.vertx.core.Handler io.vertx.redis.client.RedisOptions int io.vertx.redis.client.Request java.lang.String
StackMap stack: java.lang.RuntimeException
4: astore 7
start local 7 5: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.onException:Lio/vertx/core/Handler;
aload 7
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 7 6: StackMap locals:
StackMap stack:
return
7: StackMap locals:
StackMap stack:
aload 6
bipush 58
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 7
start local 7 8: iload 7
iconst_m1
if_icmpeq 13
9: aload 6
iload 7
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
10: aload 6
iconst_0
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
11: invokestatic io.vertx.core.net.SocketAddress.inetSocketAddress:(ILjava/lang/String;)Lio/vertx/core/net/SocketAddress;
astore 8
start local 8 12: goto 14
end local 8 13: StackMap locals: int
StackMap stack:
aload 6
invokestatic io.vertx.core.net.SocketAddress.domainSocketAddress:(Ljava/lang/String;)Lio/vertx/core/net/SocketAddress;
astore 8
start local 8 14: StackMap locals: io.vertx.core.net.SocketAddress
StackMap stack:
aload 0
aload 8
aload 3
aload 0
aload 2
aload 3
iload 4
aload 5
invokedynamic handle(Lio/vertx/redis/client/impl/RedisClusterClient;Lio/vertx/core/Handler;Lio/vertx/redis/client/RedisOptions;ILio/vertx/redis/client/Request;)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/redis/client/impl/RedisClusterClient.lambda$30(Lio/vertx/core/Handler;Lio/vertx/redis/client/RedisOptions;ILio/vertx/redis/client/Request;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.getClient:(Lio/vertx/core/net/SocketAddress;Lio/vertx/redis/client/RedisOptions;Lio/vertx/core/Handler;)V
end local 8 end local 7 end local 6 15: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
1 15 6 addr Ljava/lang/String;
5 6 7 e Ljava/lang/RuntimeException;
8 15 7 sep I
12 13 8 socketAddress Lio/vertx/core/net/SocketAddress;
14 15 8 socketAddress Lio/vertx/core/net/SocketAddress;
Exception table:
from to target type
2 3 4 Class java.lang.RuntimeException
private static void lambda$31(java.lang.Runnable, io.vertx.core.AsyncResult);
descriptor: (Ljava/lang/Runnable;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 1 0: aload 0
invokeinterface java.lang.Runnable.run:()V
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 getSlots Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
private void lambda$32(io.vertx.redis.client.Redis, io.vertx.redis.client.RedisOptions, int, io.vertx.redis.client.Request, io.vertx.core.Handler, java.lang.Long);
descriptor: (Lio/vertx/redis/client/Redis;Lio/vertx/redis/client/RedisOptions;ILio/vertx/redis/client/Request;Lio/vertx/core/Handler;Ljava/lang/Long;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=7, args_size=7
start local 0 start local 6 0: aload 0
aload 1
aload 2
iload 3
iconst_1
isub
aload 4
aload 5
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.send:(Lio/vertx/redis/client/Redis;Lio/vertx/redis/client/RedisOptions;ILio/vertx/redis/client/Request;Lio/vertx/core/Handler;)V
return
end local 6 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 1 6 t Ljava/lang/Long;
private void lambda$34(io.vertx.redis.client.impl.types.ErrorType, io.vertx.core.Handler, io.vertx.redis.client.RedisOptions, int, java.util.List);
descriptor: (Lio/vertx/redis/client/impl/types/ErrorType;Lio/vertx/core/Handler;Lio/vertx/redis/client/RedisOptions;ILjava/util/List;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=8, locals=9, args_size=6
start local 0 0: aload 1
bipush 32
iconst_2
invokevirtual io.vertx.redis.client.impl.types.ErrorType.slice:(CI)Ljava/lang/String;
astore 6
start local 6 1: aload 6
ifnonnull 7
2: aload 2
aload 1
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
3: goto 6
StackMap locals: io.vertx.redis.client.impl.RedisClusterClient io.vertx.redis.client.impl.types.ErrorType io.vertx.core.Handler io.vertx.redis.client.RedisOptions int java.util.List java.lang.String
StackMap stack: java.lang.RuntimeException
4: astore 7
start local 7 5: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.onException:Lio/vertx/core/Handler;
aload 7
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 7 6: StackMap locals:
StackMap stack:
return
7: StackMap locals:
StackMap stack:
aload 6
bipush 58
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 7
start local 7 8: iload 7
iconst_m1
if_icmpeq 13
9: aload 6
iload 7
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
10: aload 6
iconst_0
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
11: invokestatic io.vertx.core.net.SocketAddress.inetSocketAddress:(ILjava/lang/String;)Lio/vertx/core/net/SocketAddress;
astore 8
start local 8 12: goto 14
end local 8 13: StackMap locals: int
StackMap stack:
aload 6
invokestatic io.vertx.core.net.SocketAddress.domainSocketAddress:(Ljava/lang/String;)Lio/vertx/core/net/SocketAddress;
astore 8
start local 8 14: StackMap locals: io.vertx.core.net.SocketAddress
StackMap stack:
aload 0
aload 8
aload 3
aload 0
aload 2
aload 3
iload 4
aload 5
invokedynamic handle(Lio/vertx/redis/client/impl/RedisClusterClient;Lio/vertx/core/Handler;Lio/vertx/redis/client/RedisOptions;ILjava/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/redis/client/impl/RedisClusterClient.lambda$35(Lio/vertx/core/Handler;Lio/vertx/redis/client/RedisOptions;ILjava/util/List;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.getClient:(Lio/vertx/core/net/SocketAddress;Lio/vertx/redis/client/RedisOptions;Lio/vertx/core/Handler;)V
end local 8 end local 7 end local 6 15: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
1 15 6 addr Ljava/lang/String;
5 6 7 e Ljava/lang/RuntimeException;
8 15 7 sep I
12 13 8 socketAddress Lio/vertx/core/net/SocketAddress;
14 15 8 socketAddress Lio/vertx/core/net/SocketAddress;
Exception table:
from to target type
2 3 4 Class java.lang.RuntimeException
private static void lambda$36(java.lang.Runnable, io.vertx.core.AsyncResult);
descriptor: (Ljava/lang/Runnable;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 1 0: aload 0
invokeinterface java.lang.Runnable.run:()V
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 getSlots Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
private void lambda$37(io.vertx.redis.client.Redis, io.vertx.redis.client.RedisOptions, int, java.util.List, io.vertx.core.Handler, java.lang.Long);
descriptor: (Lio/vertx/redis/client/Redis;Lio/vertx/redis/client/RedisOptions;ILjava/util/List;Lio/vertx/core/Handler;Ljava/lang/Long;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=7, args_size=7
start local 0 start local 6 0: aload 0
aload 1
aload 2
iload 3
iconst_1
isub
aload 4
aload 5
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.batch:(Lio/vertx/redis/client/Redis;Lio/vertx/redis/client/RedisOptions;ILjava/util/List;Lio/vertx/core/Handler;)V
return
end local 6 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 1 6 t Ljava/lang/Long;
private void lambda$21(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 3
1: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.onException:Lio/vertx/core/Handler;
ifnull 3
2: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.onException:Lio/vertx/core/Handler;
aload 1
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 4 1 ar Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
private void lambda$30(io.vertx.core.Handler, io.vertx.redis.client.RedisOptions, int, io.vertx.redis.client.Request, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/redis/client/RedisOptions;ILio/vertx/redis/client/Request;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=7, args_size=6
start local 0 start local 5 0: aload 5
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 6
1: aload 1
aload 5
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 5
StackMap locals:
StackMap stack: java.lang.RuntimeException
3: astore 6
start local 6 4: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.onException:Lio/vertx/core/Handler;
aload 6
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 6 5: StackMap locals:
StackMap stack:
return
6: StackMap locals:
StackMap stack:
aload 0
aload 5
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.redis.client.Redis
aload 2
iload 3
iconst_1
isub
aload 4
aload 1
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.send:(Lio/vertx/redis/client/Redis;Lio/vertx/redis/client/RedisOptions;ILio/vertx/redis/client/Request;Lio/vertx/core/Handler;)V
7: return
end local 5 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 8 5 getClient Lio/vertx/core/AsyncResult<Lio/vertx/redis/client/Redis;>;
4 5 6 e Ljava/lang/RuntimeException;
Exception table:
from to target type
1 2 3 Class java.lang.RuntimeException
private void lambda$35(io.vertx.core.Handler, io.vertx.redis.client.RedisOptions, int, java.util.List, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/redis/client/RedisOptions;ILjava/util/List;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=7, args_size=6
start local 0 start local 5 0: aload 5
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 6
1: aload 1
aload 5
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 5
StackMap locals:
StackMap stack: java.lang.RuntimeException
3: astore 6
start local 6 4: aload 0
getfield io.vertx.redis.client.impl.RedisClusterClient.onException:Lio/vertx/core/Handler;
aload 6
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 6 5: StackMap locals:
StackMap stack:
return
6: StackMap locals:
StackMap stack:
aload 0
aload 5
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.redis.client.Redis
aload 2
iload 3
iconst_1
isub
aload 4
aload 1
invokevirtual io.vertx.redis.client.impl.RedisClusterClient.batch:(Lio/vertx/redis/client/Redis;Lio/vertx/redis/client/RedisOptions;ILjava/util/List;Lio/vertx/core/Handler;)V
7: return
end local 5 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/redis/client/impl/RedisClusterClient;
0 8 5 getClient Lio/vertx/core/AsyncResult<Lio/vertx/redis/client/Redis;>;
4 5 6 e Ljava/lang/RuntimeException;
Exception table:
from to target type
1 2 3 Class java.lang.RuntimeException
}
SourceFile: "RedisClusterClient.java"
NestMembers:
io.vertx.redis.client.impl.RedisClusterClient$1
InnerClasses:
io.vertx.redis.client.impl.RedisClusterClient$1
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map