public class io.vertx.redis.client.impl.RedisStandaloneConnection implements io.vertx.redis.client.RedisConnection, io.vertx.redis.client.impl.ParserHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.redis.client.impl.RedisStandaloneConnection
super_class: java.lang.Object
{
private static final java.lang.String BASE_ADDRESS;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "io.vertx.redis"
private static final io.vertx.core.impl.logging.Logger LOG;
descriptor: Lio/vertx/core/impl/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final io.vertx.redis.client.impl.types.ErrorType CONNECTION_CLOSED;
descriptor: Lio/vertx/redis/client/impl/types/ErrorType;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final io.vertx.core.net.impl.clientconnection.ConnectionListener<io.vertx.redis.client.RedisConnection> listener;
descriptor: Lio/vertx/core/net/impl/clientconnection/ConnectionListener;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lio/vertx/core/net/impl/clientconnection/ConnectionListener<Lio/vertx/redis/client/RedisConnection;>;
private final io.vertx.core.impl.VertxInternal vertx;
descriptor: Lio/vertx/core/impl/VertxInternal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.impl.ContextInternal context;
descriptor: Lio/vertx/core/impl/ContextInternal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.eventbus.EventBus eventBus;
descriptor: Lio/vertx/core/eventbus/EventBus;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.net.NetSocket netSocket;
descriptor: Lio/vertx/core/net/NetSocket;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.redis.client.impl.ArrayQueue waiting;
descriptor: Lio/vertx/redis/client/impl/ArrayQueue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int recycleTimeout;
descriptor: I
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 long expirationTimestamp;
descriptor: J
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/vertx/redis/client/impl/RedisStandaloneConnection;
invokestatic io.vertx.core.impl.logging.LoggerFactory.getLogger:(Ljava/lang/Class;)Lio/vertx/core/impl/logging/Logger;
putstatic io.vertx.redis.client.impl.RedisStandaloneConnection.LOG:Lio/vertx/core/impl/logging/Logger;
1: ldc "CONNECTION_CLOSED"
invokestatic io.vertx.redis.client.impl.types.ErrorType.create:(Ljava/lang/String;)Lio/vertx/redis/client/impl/types/ErrorType;
putstatic io.vertx.redis.client.impl.RedisStandaloneConnection.CONNECTION_CLOSED:Lio/vertx/redis/client/impl/types/ErrorType;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(io.vertx.core.Vertx, io.vertx.core.impl.ContextInternal, io.vertx.core.net.impl.clientconnection.ConnectionListener<io.vertx.redis.client.RedisConnection>, io.vertx.core.net.NetSocket, io.vertx.redis.client.RedisOptions);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/net/impl/clientconnection/ConnectionListener;Lio/vertx/core/net/NetSocket;Lio/vertx/redis/client/RedisOptions;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 3
putfield io.vertx.redis.client.impl.RedisStandaloneConnection.listener:Lio/vertx/core/net/impl/clientconnection/ConnectionListener;
2: aload 0
aload 1
checkcast io.vertx.core.impl.VertxInternal
putfield io.vertx.redis.client.impl.RedisStandaloneConnection.vertx:Lio/vertx/core/impl/VertxInternal;
3: aload 0
aload 1
invokeinterface io.vertx.core.Vertx.eventBus:()Lio/vertx/core/eventbus/EventBus;
putfield io.vertx.redis.client.impl.RedisStandaloneConnection.eventBus:Lio/vertx/core/eventbus/EventBus;
4: aload 0
aload 2
putfield io.vertx.redis.client.impl.RedisStandaloneConnection.context:Lio/vertx/core/impl/ContextInternal;
5: aload 0
aload 4
putfield io.vertx.redis.client.impl.RedisStandaloneConnection.netSocket:Lio/vertx/core/net/NetSocket;
6: aload 0
new io.vertx.redis.client.impl.ArrayQueue
dup
aload 5
invokevirtual io.vertx.redis.client.RedisOptions.getMaxWaitingHandlers:()I
invokespecial io.vertx.redis.client.impl.ArrayQueue.<init>:(I)V
putfield io.vertx.redis.client.impl.RedisStandaloneConnection.waiting:Lio/vertx/redis/client/impl/ArrayQueue;
7: aload 0
aload 5
invokevirtual io.vertx.redis.client.RedisOptions.getPoolRecycleTimeout:()I
putfield io.vertx.redis.client.impl.RedisStandaloneConnection.recycleTimeout:I
8: 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 9 0 this Lio/vertx/redis/client/impl/RedisStandaloneConnection;
0 9 1 vertx Lio/vertx/core/Vertx;
0 9 2 context Lio/vertx/core/impl/ContextInternal;
0 9 3 connectionListener Lio/vertx/core/net/impl/clientconnection/ConnectionListener<Lio/vertx/redis/client/RedisConnection;>;
0 9 4 netSocket Lio/vertx/core/net/NetSocket;
0 9 5 options Lio/vertx/redis/client/RedisOptions;
Signature: (Lio/vertx/core/Vertx;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/net/impl/clientconnection/ConnectionListener<Lio/vertx/redis/client/RedisConnection;>;Lio/vertx/core/net/NetSocket;Lio/vertx/redis/client/RedisOptions;)V
MethodParameters:
Name Flags
vertx
context
connectionListener
netSocket
options
void forceClose();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.listener:Lio/vertx/core/net/impl/clientconnection/ConnectionListener;
invokeinterface io.vertx.core.net.impl.clientconnection.ConnectionListener.onEvict:()V
1: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.netSocket:Lio/vertx/core/net/NetSocket;
invokeinterface io.vertx.core.net.NetSocket.close:()Lio/vertx/core/Future;
pop
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/redis/client/impl/RedisStandaloneConnection;
public boolean isValid();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.expirationTimestamp:J
lconst_0
lcmp
ifle 1
invokestatic java.lang.System.currentTimeMillis:()J
aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.expirationTimestamp:J
lcmp
ifgt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/redis/client/impl/RedisStandaloneConnection;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.recycleTimeout:I
ifle 1
invokestatic java.lang.System.currentTimeMillis:()J
aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.recycleTimeout:I
i2l
ladd
goto 2
StackMap locals:
StackMap stack: io.vertx.redis.client.impl.RedisStandaloneConnection
1: lconst_0
StackMap locals: io.vertx.redis.client.impl.RedisStandaloneConnection
StackMap stack: io.vertx.redis.client.impl.RedisStandaloneConnection long
2: putfield io.vertx.redis.client.impl.RedisStandaloneConnection.expirationTimestamp:J
3: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.listener:Lio/vertx/core/net/impl/clientconnection/ConnectionListener;
invokeinterface io.vertx.core.net.impl.clientconnection.ConnectionListener.onRecycle:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/redis/client/impl/RedisStandaloneConnection;
public boolean pendingQueueFull();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.waiting:Lio/vertx/redis/client/impl/ArrayQueue;
invokevirtual io.vertx.redis.client.impl.ArrayQueue.isFull:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/redis/client/impl/RedisStandaloneConnection;
public io.vertx.redis.client.RedisConnection exceptionHandler(io.vertx.core.Handler<java.lang.Throwable>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/redis/client/RedisConnection;
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.RedisStandaloneConnection.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/RedisStandaloneConnection;
0 2 1 handler Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
Signature: (Lio/vertx/core/Handler<Ljava/lang/Throwable;>;)Lio/vertx/redis/client/RedisConnection;
MethodParameters:
Name Flags
handler
public io.vertx.redis.client.RedisConnection endHandler(io.vertx.core.Handler<java.lang.Void>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/redis/client/RedisConnection;
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.RedisStandaloneConnection.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/RedisStandaloneConnection;
0 2 1 handler Lio/vertx/core/Handler<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)Lio/vertx/redis/client/RedisConnection;
MethodParameters:
Name Flags
handler
public io.vertx.redis.client.RedisConnection handler(io.vertx.core.Handler<io.vertx.redis.client.Response>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/redis/client/RedisConnection;
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.RedisStandaloneConnection.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/RedisStandaloneConnection;
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/RedisConnection;
MethodParameters:
Name Flags
handler
public io.vertx.redis.client.RedisConnection pause();
descriptor: ()Lio/vertx/redis/client/RedisConnection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.netSocket:Lio/vertx/core/net/NetSocket;
invokeinterface io.vertx.core.net.NetSocket.pause:()Lio/vertx/core/net/NetSocket;
pop
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/redis/client/impl/RedisStandaloneConnection;
public io.vertx.redis.client.RedisConnection resume();
descriptor: ()Lio/vertx/redis/client/RedisConnection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.netSocket:Lio/vertx/core/net/NetSocket;
invokeinterface io.vertx.core.net.NetSocket.resume:()Lio/vertx/core/net/NetSocket;
pop
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/redis/client/impl/RedisStandaloneConnection;
public io.vertx.redis.client.RedisConnection fetch(long);
descriptor: (J)Lio/vertx/redis/client/RedisConnection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/redis/client/impl/RedisStandaloneConnection;
0 1 1 size J
MethodParameters:
Name Flags
size
public io.vertx.core.Future<io.vertx.redis.client.Response> send(io.vertx.redis.client.Request);
descriptor: (Lio/vertx/redis/client/Request;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.promise:()Lio/vertx/core/impl/future/PromiseInternal;
astore 2
start local 2 1: aload 1
invokeinterface io.vertx.redis.client.Request.command:()Lio/vertx/redis/client/Command;
invokeinterface io.vertx.redis.client.Command.isVoid:()Z
istore 3
start local 3 2: iload 3
ifne 5
aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.waiting:Lio/vertx/redis/client/impl/ArrayQueue;
invokevirtual io.vertx.redis.client.impl.ArrayQueue.isFull:()Z
ifeq 5
3: aload 2
ldc "Redis waiting Queue is full"
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/String;)V
4: aload 2
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
5: StackMap locals: io.vertx.core.Promise int
StackMap stack:
aload 1
checkcast io.vertx.redis.client.impl.RequestImpl
invokevirtual io.vertx.redis.client.impl.RequestImpl.encode:()Lio/vertx/core/buffer/Buffer;
astore 4
start local 4 6: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.context:Lio/vertx/core/impl/ContextInternal;
aload 0
iload 3
aload 2
aload 4
invokedynamic handle(Lio/vertx/redis/client/impl/RedisStandaloneConnection;ZLio/vertx/core/Promise;Lio/vertx/core/buffer/Buffer;)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/RedisStandaloneConnection.lambda$0(ZLio/vertx/core/Promise;Lio/vertx/core/buffer/Buffer;Ljava/lang/Void;)V (7)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.impl.ContextInternal.execute:(Lio/vertx/core/Handler;)V
7: aload 2
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
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/RedisStandaloneConnection;
0 8 1 request Lio/vertx/redis/client/Request;
1 8 2 promise Lio/vertx/core/Promise<Lio/vertx/redis/client/Response;>;
2 8 3 voidCmd Z
6 8 4 message Lio/vertx/core/buffer/Buffer;
Signature: (Lio/vertx/redis/client/Request;)Lio/vertx/core/Future<Lio/vertx/redis/client/Response;>;
MethodParameters:
Name Flags
request final
public io.vertx.core.Future<java.util.List<io.vertx.redis.client.Response>> batch(java.util.List<io.vertx.redis.client.Request>);
descriptor: (Ljava/util/List;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=11, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.promise:()Lio/vertx/core/impl/future/PromiseInternal;
astore 2
start local 2 1: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.waiting:Lio/vertx/redis/client/impl/ArrayQueue;
invokevirtual io.vertx.redis.client.impl.ArrayQueue.freeSlots:()I
aload 1
invokeinterface java.util.List.size:()I
if_icmpge 4
2: aload 2
ldc "Redis waiting Queue is full"
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/String;)V
3: aload 2
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
4: StackMap locals: io.vertx.core.Promise
StackMap stack:
new java.util.ArrayList
dup
aload 1
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 5: new java.util.ArrayList
dup
aload 1
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 4
start local 4 6: new java.util.concurrent.atomic.AtomicInteger
dup
aload 1
invokeinterface java.util.List.size:()I
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
astore 5
start local 5 7: new java.util.concurrent.atomic.AtomicBoolean
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:(Z)V
astore 6
start local 6 8: invokestatic io.vertx.core.buffer.Buffer.buffer:()Lio/vertx/core/buffer/Buffer;
astore 7
start local 7 9: iconst_0
istore 8
start local 8 10: goto 16
11: StackMap locals: io.vertx.redis.client.impl.RedisStandaloneConnection java.util.List io.vertx.core.Promise java.util.List java.util.List java.util.concurrent.atomic.AtomicInteger java.util.concurrent.atomic.AtomicBoolean io.vertx.core.buffer.Buffer int
StackMap stack:
iload 8
istore 9
start local 9 12: aload 1
iload 9
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast io.vertx.redis.client.impl.RequestImpl
astore 10
start local 10 13: aload 10
aload 7
invokevirtual io.vertx.redis.client.impl.RequestImpl.encode:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/buffer/Buffer;
pop
14: aload 3
iload 9
aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.vertx:Lio/vertx/core/impl/VertxInternal;
aload 6
aload 2
aload 4
iload 9
aload 5
invokedynamic handle(Ljava/util/concurrent/atomic/AtomicBoolean;Lio/vertx/core/Promise;Ljava/util/List;ILjava/util/concurrent/atomic/AtomicInteger;)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/RedisStandaloneConnection.lambda$2(Ljava/util/concurrent/atomic/AtomicBoolean;Lio/vertx/core/Promise;Ljava/util/List;ILjava/util/concurrent/atomic/AtomicInteger;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.impl.VertxInternal.promise:(Lio/vertx/core/Handler;)Lio/vertx/core/impl/future/PromiseInternal;
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
end local 10 end local 9 15: iinc 8 1
StackMap locals:
StackMap stack:
16: iload 8
aload 1
invokeinterface java.util.List.size:()I
if_icmplt 11
end local 8 17: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.context:Lio/vertx/core/impl/ContextInternal;
aload 0
aload 3
aload 2
aload 7
invokedynamic handle(Lio/vertx/redis/client/impl/RedisStandaloneConnection;Ljava/util/List;Lio/vertx/core/Promise;Lio/vertx/core/buffer/Buffer;)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/RedisStandaloneConnection.lambda$3(Ljava/util/List;Lio/vertx/core/Promise;Lio/vertx/core/buffer/Buffer;Ljava/lang/Void;)V (7)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.impl.ContextInternal.execute:(Lio/vertx/core/Handler;)V
18: aload 2
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
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 19 0 this Lio/vertx/redis/client/impl/RedisStandaloneConnection;
0 19 1 commands Ljava/util/List<Lio/vertx/redis/client/Request;>;
1 19 2 promise Lio/vertx/core/Promise<Ljava/util/List<Lio/vertx/redis/client/Response;>;>;
5 19 3 callbacks Ljava/util/List<Lio/vertx/core/Promise<Lio/vertx/redis/client/Response;>;>;
6 19 4 replies Ljava/util/List<Lio/vertx/redis/client/Response;>;
7 19 5 count Ljava/util/concurrent/atomic/AtomicInteger;
8 19 6 failed Ljava/util/concurrent/atomic/AtomicBoolean;
9 19 7 messages Lio/vertx/core/buffer/Buffer;
10 17 8 i I
12 15 9 index I
13 15 10 req Lio/vertx/redis/client/impl/RequestImpl;
Signature: (Ljava/util/List<Lio/vertx/redis/client/Request;>;)Lio/vertx/core/Future<Ljava/util/List<Lio/vertx/redis/client/Response;>;>;
MethodParameters:
Name Flags
commands
public void handle(io.vertx.redis.client.Response);
descriptor: (Lio/vertx/redis/client/Response;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokeinterface io.vertx.redis.client.Response.type:()Lio/vertx/redis/client/ResponseType;
getstatic io.vertx.redis.client.ResponseType.PUSH:Lio/vertx/redis/client/ResponseType;
if_acmpeq 2
StackMap locals:
StackMap stack:
1: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.waiting:Lio/vertx/redis/client/impl/ArrayQueue;
invokevirtual io.vertx.redis.client.impl.ArrayQueue.isEmpty:()Z
ifeq 31
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.onMessage:Lio/vertx/core/Handler;
ifnull 5
3: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.context:Lio/vertx/core/impl/ContextInternal;
aload 1
aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.onMessage:Lio/vertx/core/Handler;
invokeinterface io.vertx.core.impl.ContextInternal.execute:(Ljava/lang/Object;Lio/vertx/core/Handler;)V
4: goto 30
5: StackMap locals:
StackMap stack:
aload 1
instanceof io.vertx.redis.client.impl.types.Multi
ifeq 29
6: aload 1
invokeinterface io.vertx.redis.client.Response.size:()I
iconst_3
if_icmpne 17
ldc "message"
aload 1
iconst_0
invokeinterface io.vertx.redis.client.Response.get:(I)Lio/vertx/redis/client/Response;
invokeinterface io.vertx.redis.client.Response.toString:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
7: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.eventBus:Lio/vertx/core/eventbus/EventBus;
8: new java.lang.StringBuilder
dup
ldc "io.vertx.redis."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
iconst_1
invokeinterface io.vertx.redis.client.Response.get:(I)Lio/vertx/redis/client/Response;
invokeinterface io.vertx.redis.client.Response.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
10: ldc "status"
ldc "OK"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
11: ldc "value"
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
12: ldc "channel"
aload 1
iconst_1
invokeinterface io.vertx.redis.client.Response.get:(I)Lio/vertx/redis/client/Response;
invokeinterface io.vertx.redis.client.Response.toString:()Ljava/lang/String;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
13: ldc "message"
aload 1
iconst_2
invokeinterface io.vertx.redis.client.Response.get:(I)Lio/vertx/redis/client/Response;
invokeinterface io.vertx.redis.client.Response.toString:()Ljava/lang/String;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
14: invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
15: invokeinterface io.vertx.core.eventbus.EventBus.send:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/eventbus/EventBus;
pop
16: return
17: StackMap locals:
StackMap stack:
aload 1
invokeinterface io.vertx.redis.client.Response.size:()I
iconst_4
if_icmpne 29
ldc "pmessage"
aload 1
iconst_0
invokeinterface io.vertx.redis.client.Response.get:(I)Lio/vertx/redis/client/Response;
invokeinterface io.vertx.redis.client.Response.toString:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 29
18: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.eventBus:Lio/vertx/core/eventbus/EventBus;
19: new java.lang.StringBuilder
dup
ldc "io.vertx.redis."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
iconst_1
invokeinterface io.vertx.redis.client.Response.get:(I)Lio/vertx/redis/client/Response;
invokeinterface io.vertx.redis.client.Response.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
20: new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
21: ldc "status"
ldc "OK"
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
22: ldc "value"
new io.vertx.core.json.JsonObject
dup
invokespecial io.vertx.core.json.JsonObject.<init>:()V
23: ldc "pattern"
aload 1
iconst_1
invokeinterface io.vertx.redis.client.Response.get:(I)Lio/vertx/redis/client/Response;
invokeinterface io.vertx.redis.client.Response.toString:()Ljava/lang/String;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
24: ldc "channel"
aload 1
iconst_2
invokeinterface io.vertx.redis.client.Response.get:(I)Lio/vertx/redis/client/Response;
invokeinterface io.vertx.redis.client.Response.toString:()Ljava/lang/String;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
25: ldc "message"
aload 1
iconst_3
invokeinterface io.vertx.redis.client.Response.get:(I)Lio/vertx/redis/client/Response;
invokeinterface io.vertx.redis.client.Response.toString:()Ljava/lang/String;
invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
26: invokevirtual io.vertx.core.json.JsonObject.put:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/json/JsonObject;
27: invokeinterface io.vertx.core.eventbus.EventBus.send:(Ljava/lang/String;Ljava/lang/Object;)Lio/vertx/core/eventbus/EventBus;
pop
28: return
29: StackMap locals:
StackMap stack:
getstatic io.vertx.redis.client.impl.RedisStandaloneConnection.LOG:Lio/vertx/core/impl/logging/Logger;
new java.lang.StringBuilder
dup
ldc "No handler waiting for message: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface io.vertx.core.impl.logging.Logger.warn:(Ljava/lang/Object;)V
30: StackMap locals:
StackMap stack:
return
31: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.context:Lio/vertx/core/impl/ContextInternal;
aload 0
aload 1
invokedynamic handle(Lio/vertx/redis/client/impl/RedisStandaloneConnection;Lio/vertx/redis/client/Response;)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/RedisStandaloneConnection.lambda$5(Lio/vertx/redis/client/Response;Ljava/lang/Void;)V (7)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.impl.ContextInternal.execute:(Lio/vertx/core/Handler;)V
32: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lio/vertx/redis/client/impl/RedisStandaloneConnection;
0 33 1 reply Lio/vertx/redis/client/Response;
MethodParameters:
Name Flags
reply
public void end(java.lang.Void);
descriptor: (Ljava/lang/Void;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic io.vertx.redis.client.impl.RedisStandaloneConnection.CONNECTION_CLOSED:Lio/vertx/redis/client/impl/types/ErrorType;
invokevirtual io.vertx.redis.client.impl.RedisStandaloneConnection.cleanupQueue:(Ljava/lang/Throwable;)V
1: aload 0
invokevirtual io.vertx.redis.client.impl.RedisStandaloneConnection.evict:()V
2: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.onEnd:Lio/vertx/core/Handler;
ifnull 4
3: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.context:Lio/vertx/core/impl/ContextInternal;
aload 1
aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.onEnd:Lio/vertx/core/Handler;
invokeinterface io.vertx.core.impl.ContextInternal.execute:(Ljava/lang/Object;Lio/vertx/core/Handler;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/redis/client/impl/RedisStandaloneConnection;
0 5 1 v Ljava/lang/Void;
MethodParameters:
Name Flags
v
public void fail(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.redis.client.impl.RedisStandaloneConnection.evict:()V
1: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.onException:Lio/vertx/core/Handler;
ifnull 3
2: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.context:Lio/vertx/core/impl/ContextInternal;
aload 1
aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.onException:Lio/vertx/core/Handler;
invokeinterface io.vertx.core.impl.ContextInternal.execute:(Ljava/lang/Object;Lio/vertx/core/Handler;)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/RedisStandaloneConnection;
0 4 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public void fatal(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual io.vertx.redis.client.impl.RedisStandaloneConnection.cleanupQueue:(Ljava/lang/Throwable;)V
1: aload 0
invokevirtual io.vertx.redis.client.impl.RedisStandaloneConnection.evict:()V
2: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.onException:Lio/vertx/core/Handler;
ifnull 4
3: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.context:Lio/vertx/core/impl/ContextInternal;
aload 1
aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.onException:Lio/vertx/core/Handler;
invokeinterface io.vertx.core.impl.ContextInternal.execute:(Ljava/lang/Object;Lio/vertx/core/Handler;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/redis/client/impl/RedisStandaloneConnection;
0 5 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
private void evict();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.listener:Lio/vertx/core/net/impl/clientconnection/ConnectionListener;
invokeinterface io.vertx.core.net.impl.clientconnection.ConnectionListener.onEvict:()V
1: goto 5
StackMap locals:
StackMap stack: java.util.concurrent.RejectedExecutionException
2: astore 1
start local 1 3: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.onException:Lio/vertx/core/Handler;
ifnull 5
4: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.context:Lio/vertx/core/impl/ContextInternal;
aload 1
aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.onException:Lio/vertx/core/Handler;
invokeinterface io.vertx.core.impl.ContextInternal.execute:(Ljava/lang/Object;Lio/vertx/core/Handler;)V
end local 1 5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/redis/client/impl/RedisStandaloneConnection;
3 5 1 e Ljava/util/concurrent/RejectedExecutionException;
Exception table:
from to target type
0 1 2 Class java.util.concurrent.RejectedExecutionException
private void cleanupQueue(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.context:Lio/vertx/core/impl/ContextInternal;
aload 0
aload 1
invokedynamic handle(Lio/vertx/redis/client/impl/RedisStandaloneConnection;Ljava/lang/Throwable;)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/RedisStandaloneConnection.lambda$6(Ljava/lang/Throwable;Ljava/lang/Void;)V (7)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.impl.ContextInternal.execute:(Lio/vertx/core/Handler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/redis/client/impl/RedisStandaloneConnection;
0 2 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
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.RedisStandaloneConnection.pause:()Lio/vertx/redis/client/RedisConnection;
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.RedisStandaloneConnection.handler:(Lio/vertx/core/Handler;)Lio/vertx/redis/client/RedisConnection;
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.RedisStandaloneConnection.endHandler:(Lio/vertx/core/Handler;)Lio/vertx/redis/client/RedisConnection;
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.RedisStandaloneConnection.resume:()Lio/vertx/redis/client/RedisConnection;
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.RedisStandaloneConnection.fetch:(J)Lio/vertx/redis/client/RedisConnection;
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.RedisStandaloneConnection.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/redis/client/RedisConnection;
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.RedisStandaloneConnection.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/redis/client/RedisConnection;
areturn
LocalVariableTable:
Start End Slot Name Signature
private void lambda$0(boolean, io.vertx.core.Promise, io.vertx.core.buffer.Buffer, java.lang.Void);
descriptor: (ZLio/vertx/core/Promise;Lio/vertx/core/buffer/Buffer;Ljava/lang/Void;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 4 0: iload 1
ifne 5
1: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.waiting:Lio/vertx/redis/client/impl/ArrayQueue;
invokevirtual io.vertx.redis.client.impl.ArrayQueue.isFull:()Z
ifeq 4
2: aload 2
ldc "Redis waiting Queue is full"
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/String;)V
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.waiting:Lio/vertx/redis/client/impl/ArrayQueue;
aload 2
invokevirtual io.vertx.redis.client.impl.ArrayQueue.offer:(Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.netSocket:Lio/vertx/core/net/NetSocket;
aload 3
aload 0
iload 1
aload 2
invokedynamic handle(Lio/vertx/redis/client/impl/RedisStandaloneConnection;ZLio/vertx/core/Promise;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/redis/client/impl/RedisStandaloneConnection.lambda$1(ZLio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.net.NetSocket.write:(Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)V
6: return
end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/redis/client/impl/RedisStandaloneConnection;
0 7 4 v Ljava/lang/Void;
private static void lambda$2(java.util.concurrent.atomic.AtomicBoolean, io.vertx.core.Promise, java.util.List, int, java.util.concurrent.atomic.AtomicInteger, io.vertx.core.AsyncResult);
descriptor: (Ljava/util/concurrent/atomic/AtomicBoolean;Lio/vertx/core/Promise;Ljava/util/List;ILjava/util/concurrent/atomic/AtomicInteger;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=6, args_size=6
start local 5 0: aload 0
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifne 5
1: aload 5
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 5
2: aload 0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.set:(Z)V
3: aload 1
aload 5
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
4: return
5: StackMap locals:
StackMap stack:
aload 2
iload 3
aload 5
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.redis.client.Response
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
6: aload 4
invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
ifne 8
7: aload 1
aload 2
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
8: StackMap locals:
StackMap stack:
return
end local 5 LocalVariableTable:
Start End Slot Name Signature
0 9 5 command Lio/vertx/core/AsyncResult<Lio/vertx/redis/client/Response;>;
private void lambda$3(java.util.List, io.vertx.core.Promise, io.vertx.core.buffer.Buffer, java.lang.Void);
descriptor: (Ljava/util/List;Lio/vertx/core/Promise;Lio/vertx/core/buffer/Buffer;Ljava/lang/Void;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=7, args_size=5
start local 0 start local 4 0: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.waiting:Lio/vertx/redis/client/impl/ArrayQueue;
invokevirtual io.vertx.redis.client.impl.ArrayQueue.freeSlots:()I
aload 1
invokeinterface java.util.List.size:()I
if_icmpge 3
1: aload 2
ldc "Redis waiting Queue is full"
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 6
StackMap locals: io.vertx.redis.client.impl.RedisStandaloneConnection java.util.List io.vertx.core.Promise io.vertx.core.buffer.Buffer java.lang.Void top java.util.Iterator
StackMap stack:
4: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.vertx.core.Promise
astore 5
start local 5 5: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.waiting:Lio/vertx/redis/client/impl/ArrayQueue;
aload 5
invokevirtual io.vertx.redis.client.impl.ArrayQueue.offer:(Ljava/lang/Object;)V
end local 5 6: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.netSocket:Lio/vertx/core/net/NetSocket;
aload 3
aload 0
invokedynamic handle(Lio/vertx/redis/client/impl/RedisStandaloneConnection;)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/RedisStandaloneConnection.lambda$4(Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.net.NetSocket.write:(Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)V
8: return
end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/vertx/redis/client/impl/RedisStandaloneConnection;
0 9 4 v Ljava/lang/Void;
5 6 5 callback Lio/vertx/core/Promise<Lio/vertx/redis/client/Response;>;
private void lambda$5(io.vertx.redis.client.Response, java.lang.Void);
descriptor: (Lio/vertx/redis/client/Response;Ljava/lang/Void;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 2 0: aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.waiting:Lio/vertx/redis/client/impl/ArrayQueue;
invokevirtual io.vertx.redis.client.impl.ArrayQueue.poll:()Ljava/lang/Object;
checkcast io.vertx.core.Promise
astore 3
start local 3 1: aload 3
ifnull 19
2: aload 1
ifnonnull 8
3: aload 3
invokeinterface io.vertx.core.Promise.complete:()V
4: goto 7
StackMap locals: io.vertx.redis.client.impl.RedisStandaloneConnection io.vertx.redis.client.Response java.lang.Void io.vertx.core.Promise
StackMap stack: java.lang.RuntimeException
5: astore 4
start local 4 6: aload 0
aload 4
invokevirtual io.vertx.redis.client.impl.RedisStandaloneConnection.fail:(Ljava/lang/Throwable;)V
end local 4 7: StackMap locals:
StackMap stack:
return
8: StackMap locals:
StackMap stack:
aload 1
invokeinterface io.vertx.redis.client.Response.type:()Lio/vertx/redis/client/ResponseType;
getstatic io.vertx.redis.client.ResponseType.ERROR:Lio/vertx/redis/client/ResponseType;
if_acmpne 14
9: aload 3
aload 1
checkcast io.vertx.redis.client.impl.types.ErrorType
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
10: goto 13
StackMap locals:
StackMap stack: java.lang.RuntimeException
11: astore 4
start local 4 12: aload 0
aload 4
invokevirtual io.vertx.redis.client.impl.RedisStandaloneConnection.fail:(Ljava/lang/Throwable;)V
end local 4 13: StackMap locals:
StackMap stack:
return
14: StackMap locals:
StackMap stack:
aload 3
aload 1
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
15: goto 20
StackMap locals:
StackMap stack: java.lang.RuntimeException
16: astore 4
start local 4 17: aload 0
aload 4
invokevirtual io.vertx.redis.client.impl.RedisStandaloneConnection.fail:(Ljava/lang/Throwable;)V
end local 4 18: goto 20
19: StackMap locals:
StackMap stack:
getstatic io.vertx.redis.client.impl.RedisStandaloneConnection.LOG:Lio/vertx/core/impl/logging/Logger;
new java.lang.StringBuilder
dup
ldc "No handler waiting for message: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface io.vertx.core.impl.logging.Logger.error:(Ljava/lang/Object;)V
end local 3 20: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lio/vertx/redis/client/impl/RedisStandaloneConnection;
0 21 2 v Ljava/lang/Void;
1 20 3 req Lio/vertx/core/Promise<Lio/vertx/redis/client/Response;>;
6 7 4 e Ljava/lang/RuntimeException;
12 13 4 e Ljava/lang/RuntimeException;
17 18 4 e Ljava/lang/RuntimeException;
Exception table:
from to target type
3 4 5 Class java.lang.RuntimeException
9 10 11 Class java.lang.RuntimeException
14 15 16 Class java.lang.RuntimeException
private void lambda$6(java.lang.Throwable, java.lang.Void);
descriptor: (Ljava/lang/Throwable;Ljava/lang/Void;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 2 0: goto 6
start local 3 1: StackMap locals: io.vertx.core.Promise
StackMap stack:
aload 1
ifnull 6
2: aload 3
aload 1
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
3: goto 6
StackMap locals:
StackMap stack: java.lang.RuntimeException
4: astore 4
start local 4 5: getstatic io.vertx.redis.client.impl.RedisStandaloneConnection.LOG:Lio/vertx/core/impl/logging/Logger;
ldc "Exception during cleanup"
aload 4
invokeinterface io.vertx.core.impl.logging.Logger.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 4 end local 3 6: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.RedisStandaloneConnection.waiting:Lio/vertx/redis/client/impl/ArrayQueue;
invokevirtual io.vertx.redis.client.impl.ArrayQueue.poll:()Ljava/lang/Object;
checkcast io.vertx.core.Promise
dup
astore 3
start local 3 7: ifnonnull 1
end local 3 8: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/vertx/redis/client/impl/RedisStandaloneConnection;
0 9 2 v Ljava/lang/Void;
1 6 3 req Lio/vertx/core/Promise<Lio/vertx/redis/client/Response;>;
7 8 3 req Lio/vertx/core/Promise<Lio/vertx/redis/client/Response;>;
5 6 4 e Ljava/lang/RuntimeException;
Exception table:
from to target type
2 3 4 Class java.lang.RuntimeException
private void lambda$1(boolean, io.vertx.core.Promise, io.vertx.core.AsyncResult);
descriptor: (ZLio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 3 0: aload 3
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 3
1: aload 0
aload 3
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual io.vertx.redis.client.impl.RedisStandaloneConnection.fatal:(Ljava/lang/Throwable;)V
2: goto 5
3: StackMap locals:
StackMap stack:
iload 1
ifeq 5
4: aload 2
invokeinterface io.vertx.core.Promise.complete:()V
5: StackMap locals:
StackMap stack:
return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/redis/client/impl/RedisStandaloneConnection;
0 6 3 write Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
private void lambda$4(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.AsyncResult.failed:()Z
ifeq 2
1: aload 0
aload 1
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual io.vertx.redis.client.impl.RedisStandaloneConnection.fatal:(Ljava/lang/Throwable;)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/RedisStandaloneConnection;
0 3 1 write Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
}
SourceFile: "RedisStandaloneConnection.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles