public abstract class io.vertx.sqlclient.impl.SocketConnectionBase implements io.vertx.sqlclient.impl.Connection
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: io.vertx.sqlclient.impl.SocketConnectionBase
super_class: java.lang.Object
{
private static final io.vertx.core.logging.Logger logger;
descriptor: Lio/vertx/core/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected final io.vertx.sqlclient.impl.PreparedStatementCache psCache;
descriptor: Lio/vertx/sqlclient/impl/PreparedStatementCache;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final int preparedStatementCacheSqlLimit;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.sqlclient.impl.StringLongSequence psSeq;
descriptor: Lio/vertx/sqlclient/impl/StringLongSequence;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.ArrayDeque<io.vertx.sqlclient.impl.command.CommandBase<?>> pending;
descriptor: Ljava/util/ArrayDeque;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/ArrayDeque<Lio/vertx/sqlclient/impl/command/CommandBase<*>;>;
private final io.vertx.core.Context context;
descriptor: Lio/vertx/core/Context;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int inflight;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private io.vertx.sqlclient.impl.Connection$Holder holder;
descriptor: Lio/vertx/sqlclient/impl/Connection$Holder;
flags: (0x0002) ACC_PRIVATE
private final int pipeliningLimit;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected final io.vertx.core.impl.NetSocketInternal socket;
descriptor: Lio/vertx/core/impl/NetSocketInternal;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected io.vertx.sqlclient.impl.SocketConnectionBase$Status status;
descriptor: Lio/vertx/sqlclient/impl/SocketConnectionBase$Status;
flags: (0x0004) ACC_PROTECTED
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/vertx/sqlclient/impl/SocketConnectionBase;
invokestatic io.vertx.core.logging.LoggerFactory.getLogger:(Ljava/lang/Class;)Lio/vertx/core/logging/Logger;
putstatic io.vertx.sqlclient.impl.SocketConnectionBase.logger:Lio/vertx/core/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(io.vertx.core.impl.NetSocketInternal, boolean, int, int, int, io.vertx.core.Context);
descriptor: (Lio/vertx/core/impl/NetSocketInternal;ZIIILio/vertx/core/Context;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new io.vertx.sqlclient.impl.StringLongSequence
dup
invokespecial io.vertx.sqlclient.impl.StringLongSequence.<init>:()V
putfield io.vertx.sqlclient.impl.SocketConnectionBase.psSeq:Lio/vertx/sqlclient/impl/StringLongSequence;
2: aload 0
new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
putfield io.vertx.sqlclient.impl.SocketConnectionBase.pending:Ljava/util/ArrayDeque;
3: aload 0
getstatic io.vertx.sqlclient.impl.SocketConnectionBase$Status.CONNECTED:Lio/vertx/sqlclient/impl/SocketConnectionBase$Status;
putfield io.vertx.sqlclient.impl.SocketConnectionBase.status:Lio/vertx/sqlclient/impl/SocketConnectionBase$Status;
4: aload 0
aload 1
putfield io.vertx.sqlclient.impl.SocketConnectionBase.socket:Lio/vertx/core/impl/NetSocketInternal;
5: aload 0
aload 6
putfield io.vertx.sqlclient.impl.SocketConnectionBase.context:Lio/vertx/core/Context;
6: aload 0
iload 5
putfield io.vertx.sqlclient.impl.SocketConnectionBase.pipeliningLimit:I
7: aload 0
iload 2
ifeq 8
new io.vertx.sqlclient.impl.PreparedStatementCache
dup
iload 3
aload 0
invokespecial io.vertx.sqlclient.impl.PreparedStatementCache.<init>:(ILio/vertx/sqlclient/impl/Connection;)V
goto 9
StackMap locals: io.vertx.sqlclient.impl.SocketConnectionBase io.vertx.core.impl.NetSocketInternal int int int int io.vertx.core.Context
StackMap stack: io.vertx.sqlclient.impl.SocketConnectionBase
8: aconst_null
StackMap locals: io.vertx.sqlclient.impl.SocketConnectionBase io.vertx.core.impl.NetSocketInternal int int int int io.vertx.core.Context
StackMap stack: io.vertx.sqlclient.impl.SocketConnectionBase io.vertx.sqlclient.impl.PreparedStatementCache
9: putfield io.vertx.sqlclient.impl.SocketConnectionBase.psCache:Lio/vertx/sqlclient/impl/PreparedStatementCache;
10: aload 0
iload 4
putfield io.vertx.sqlclient.impl.SocketConnectionBase.preparedStatementCacheSqlLimit:I
11: return
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 12 0 this Lio/vertx/sqlclient/impl/SocketConnectionBase;
0 12 1 socket Lio/vertx/core/impl/NetSocketInternal;
0 12 2 cachePreparedStatements Z
0 12 3 preparedStatementCacheSize I
0 12 4 preparedStatementCacheSqlLimit I
0 12 5 pipeliningLimit I
0 12 6 context Lio/vertx/core/Context;
MethodParameters:
Name Flags
socket
cachePreparedStatements
preparedStatementCacheSize
preparedStatementCacheSqlLimit
pipeliningLimit
context
public io.vertx.core.Context context();
descriptor: ()Lio/vertx/core/Context;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.context:Lio/vertx/core/Context;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/sqlclient/impl/SocketConnectionBase;
public void init();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.socket:Lio/vertx/core/impl/NetSocketInternal;
aload 0
invokedynamic handle(Lio/vertx/sqlclient/impl/SocketConnectionBase;)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/sqlclient/impl/SocketConnectionBase.handleClosed(Ljava/lang/Void;)V (7)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.impl.NetSocketInternal.closeHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/net/NetSocket;
pop
1: aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.socket:Lio/vertx/core/impl/NetSocketInternal;
aload 0
invokedynamic handle(Lio/vertx/sqlclient/impl/SocketConnectionBase;)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/sqlclient/impl/SocketConnectionBase.handleException(Ljava/lang/Throwable;)V (7)
(Ljava/lang/Throwable;)V
invokeinterface io.vertx.core.impl.NetSocketInternal.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/net/NetSocket;
pop
2: aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.socket:Lio/vertx/core/impl/NetSocketInternal;
aload 0
invokedynamic handle(Lio/vertx/sqlclient/impl/SocketConnectionBase;)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/sqlclient/impl/SocketConnectionBase.lambda$2(Ljava/lang/Object;)V (7)
(Ljava/lang/Object;)V
invokeinterface io.vertx.core.impl.NetSocketInternal.messageHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/impl/NetSocketInternal;
pop
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/sqlclient/impl/SocketConnectionBase;
public io.vertx.core.impl.NetSocketInternal socket();
descriptor: ()Lio/vertx/core/impl/NetSocketInternal;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.socket:Lio/vertx/core/impl/NetSocketInternal;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/sqlclient/impl/SocketConnectionBase;
public boolean isSsl();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.socket:Lio/vertx/core/impl/NetSocketInternal;
invokeinterface io.vertx.core.impl.NetSocketInternal.isSsl:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/sqlclient/impl/SocketConnectionBase;
public void init(io.vertx.sqlclient.impl.Connection$Holder);
descriptor: (Lio/vertx/sqlclient/impl/Connection$Holder;)V
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.sqlclient.impl.SocketConnectionBase.holder:Lio/vertx/sqlclient/impl/Connection$Holder;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/sqlclient/impl/SocketConnectionBase;
0 2 1 holder Lio/vertx/sqlclient/impl/Connection$Holder;
MethodParameters:
Name Flags
holder
public int getProcessId();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/sqlclient/impl/SocketConnectionBase;
public int getSecretKey();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/sqlclient/impl/SocketConnectionBase;
public void close(io.vertx.sqlclient.impl.Connection$Holder);
descriptor: (Lio/vertx/sqlclient/impl/Connection$Holder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic io.vertx.core.Vertx.currentContext:()Lio/vertx/core/Context;
aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.context:Lio/vertx/core/Context;
if_acmpne 6
1: aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.status:Lio/vertx/sqlclient/impl/SocketConnectionBase$Status;
getstatic io.vertx.sqlclient.impl.SocketConnectionBase$Status.CONNECTED:Lio/vertx/sqlclient/impl/SocketConnectionBase$Status;
if_acmpne 7
2: aload 0
getstatic io.vertx.sqlclient.impl.SocketConnectionBase$Status.CLOSING:Lio/vertx/sqlclient/impl/SocketConnectionBase$Status;
putfield io.vertx.sqlclient.impl.SocketConnectionBase.status:Lio/vertx/sqlclient/impl/SocketConnectionBase$Status;
3: aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.pending:Ljava/util/ArrayDeque;
getstatic io.vertx.sqlclient.impl.command.CloseConnectionCommand.INSTANCE:Lio/vertx/sqlclient/impl/command/CloseConnectionCommand;
invokevirtual java.util.ArrayDeque.add:(Ljava/lang/Object;)Z
pop
4: aload 0
invokevirtual io.vertx.sqlclient.impl.SocketConnectionBase.checkPending:()V
5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.context:Lio/vertx/core/Context;
aload 0
aload 1
invokedynamic handle(Lio/vertx/sqlclient/impl/SocketConnectionBase;Lio/vertx/sqlclient/impl/Connection$Holder;)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/sqlclient/impl/SocketConnectionBase.lambda$3(Lio/vertx/sqlclient/impl/Connection$Holder;Ljava/lang/Void;)V (7)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.Context.runOnContext:(Lio/vertx/core/Handler;)V
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/sqlclient/impl/SocketConnectionBase;
0 8 1 holder Lio/vertx/sqlclient/impl/Connection$Holder;
MethodParameters:
Name Flags
holder
public void schedule(io.vertx.sqlclient.impl.command.CommandBase<?>);
descriptor: (Lio/vertx/sqlclient/impl/command/CommandBase;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 1
getfield io.vertx.sqlclient.impl.command.CommandBase.handler:Lio/vertx/core/Handler;
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
invokestatic io.vertx.core.Vertx.currentContext:()Lio/vertx/core/Context;
aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.context:Lio/vertx/core/Context;
if_acmpeq 4
3: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.psCache:Lio/vertx/sqlclient/impl/PreparedStatementCache;
astore 2
start local 2 5: aload 2
ifnull 22
aload 1
instanceof io.vertx.sqlclient.impl.command.PrepareStatementCommand
ifeq 22
6: aload 1
checkcast io.vertx.sqlclient.impl.command.PrepareStatementCommand
astore 3
start local 3 7: aload 3
invokevirtual io.vertx.sqlclient.impl.command.PrepareStatementCommand.sql:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.preparedStatementCacheSqlLimit:I
if_icmple 9
8: return
9: StackMap locals: io.vertx.sqlclient.impl.PreparedStatementCache io.vertx.sqlclient.impl.command.PrepareStatementCommand
StackMap stack:
aload 2
aload 3
invokevirtual io.vertx.sqlclient.impl.command.PrepareStatementCommand.sql:()Ljava/lang/String;
invokevirtual io.vertx.sqlclient.impl.PreparedStatementCache.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.sqlclient.impl.SocketConnectionBase$CachedPreparedStatement
astore 4
start local 4 10: aload 4
ifnull 15
11: aload 3
aload 4
putfield io.vertx.sqlclient.impl.command.PrepareStatementCommand.cached:Ljava/lang/Object;
12: aload 3
getfield io.vertx.sqlclient.impl.command.PrepareStatementCommand.handler:Lio/vertx/core/Handler;
astore 5
start local 5 13: aload 4
aload 5
invokevirtual io.vertx.sqlclient.impl.SocketConnectionBase$CachedPreparedStatement.get:(Lio/vertx/core/Handler;)V
14: return
end local 5 15: StackMap locals: io.vertx.sqlclient.impl.SocketConnectionBase$CachedPreparedStatement
StackMap stack:
aload 2
invokevirtual io.vertx.sqlclient.impl.PreparedStatementCache.size:()I
aload 2
invokevirtual io.vertx.sqlclient.impl.PreparedStatementCache.getCapacity:()I
if_icmplt 16
aload 2
invokevirtual io.vertx.sqlclient.impl.PreparedStatementCache.isReady:()Z
ifeq 22
16: StackMap locals:
StackMap stack:
aload 3
aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.psSeq:Lio/vertx/sqlclient/impl/StringLongSequence;
invokevirtual io.vertx.sqlclient.impl.StringLongSequence.next:()J
putfield io.vertx.sqlclient.impl.command.PrepareStatementCommand.statement:J
17: aload 3
new io.vertx.sqlclient.impl.SocketConnectionBase$CachedPreparedStatement
dup
invokespecial io.vertx.sqlclient.impl.SocketConnectionBase$CachedPreparedStatement.<init>:()V
dup
astore 4
putfield io.vertx.sqlclient.impl.command.PrepareStatementCommand.cached:Ljava/lang/Object;
18: aload 2
aload 3
invokevirtual io.vertx.sqlclient.impl.command.PrepareStatementCommand.sql:()Ljava/lang/String;
aload 4
invokevirtual io.vertx.sqlclient.impl.PreparedStatementCache.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
19: aload 3
getfield io.vertx.sqlclient.impl.command.PrepareStatementCommand.handler:Lio/vertx/core/Handler;
astore 5
start local 5 20: aload 3
getfield io.vertx.sqlclient.impl.command.PrepareStatementCommand.cached:Ljava/lang/Object;
checkcast io.vertx.sqlclient.impl.SocketConnectionBase$CachedPreparedStatement
aload 5
invokevirtual io.vertx.sqlclient.impl.SocketConnectionBase$CachedPreparedStatement.get:(Lio/vertx/core/Handler;)V
21: aload 3
aload 3
getfield io.vertx.sqlclient.impl.command.PrepareStatementCommand.cached:Ljava/lang/Object;
checkcast io.vertx.core.Handler
putfield io.vertx.sqlclient.impl.command.PrepareStatementCommand.handler:Lio/vertx/core/Handler;
end local 5 end local 4 end local 3 22: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.status:Lio/vertx/sqlclient/impl/SocketConnectionBase$Status;
getstatic io.vertx.sqlclient.impl.SocketConnectionBase$Status.CONNECTED:Lio/vertx/sqlclient/impl/SocketConnectionBase$Status;
if_acmpne 26
23: aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.pending:Ljava/util/ArrayDeque;
aload 1
invokevirtual java.util.ArrayDeque.add:(Ljava/lang/Object;)Z
pop
24: aload 0
invokevirtual io.vertx.sqlclient.impl.SocketConnectionBase.checkPending:()V
25: goto 27
26: StackMap locals:
StackMap stack:
aload 1
new io.vertx.core.VertxException
dup
new java.lang.StringBuilder
dup
ldc "Connection not open "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.status:Lio/vertx/sqlclient/impl/SocketConnectionBase$Status;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial io.vertx.core.VertxException.<init>:(Ljava/lang/String;)V
invokevirtual io.vertx.sqlclient.impl.command.CommandBase.fail:(Ljava/lang/Throwable;)V
27: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lio/vertx/sqlclient/impl/SocketConnectionBase;
0 28 1 cmd Lio/vertx/sqlclient/impl/command/CommandBase<*>;
5 28 2 psCache Lio/vertx/sqlclient/impl/PreparedStatementCache;
7 22 3 psCmd Lio/vertx/sqlclient/impl/command/PrepareStatementCommand;
10 22 4 cached Lio/vertx/sqlclient/impl/SocketConnectionBase$CachedPreparedStatement;
13 15 5 handler Lio/vertx/core/Handler<-Lio/vertx/sqlclient/impl/command/CommandResponse<Lio/vertx/sqlclient/impl/PreparedStatement;>;>;
20 22 5 a Lio/vertx/core/Handler<-Lio/vertx/sqlclient/impl/command/CommandResponse<Lio/vertx/sqlclient/impl/PreparedStatement;>;>;
Signature: (Lio/vertx/sqlclient/impl/command/CommandBase<*>;)V
MethodParameters:
Name Flags
cmd
private void checkPending();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.socket:Lio/vertx/core/impl/NetSocketInternal;
invokeinterface io.vertx.core.impl.NetSocketInternal.channelHandlerContext:()Lio/netty/channel/ChannelHandlerContext;
astore 1
start local 1 1: aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.inflight:I
aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.pipeliningLimit:I
if_icmpge 8
2: goto 5
start local 2 3: StackMap locals: io.netty.channel.ChannelHandlerContext io.vertx.sqlclient.impl.command.CommandBase
StackMap stack:
aload 0
dup
getfield io.vertx.sqlclient.impl.SocketConnectionBase.inflight:I
iconst_1
iadd
putfield io.vertx.sqlclient.impl.SocketConnectionBase.inflight:I
4: aload 1
aload 2
invokeinterface io.netty.channel.ChannelHandlerContext.write:(Ljava/lang/Object;)Lio/netty/channel/ChannelFuture;
pop
end local 2 5: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.inflight:I
aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.pipeliningLimit:I
if_icmpge 7
aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.pending:Ljava/util/ArrayDeque;
invokevirtual java.util.ArrayDeque.poll:()Ljava/lang/Object;
checkcast io.vertx.sqlclient.impl.command.CommandBase
dup
astore 2
start local 2 6: ifnonnull 3
end local 2 7: StackMap locals:
StackMap stack:
aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.flush:()Lio/netty/channel/ChannelHandlerContext;
pop
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/vertx/sqlclient/impl/SocketConnectionBase;
1 9 1 ctx Lio/netty/channel/ChannelHandlerContext;
3 5 2 cmd Lio/vertx/sqlclient/impl/command/CommandBase<*>;
6 7 2 cmd Lio/vertx/sqlclient/impl/command/CommandBase<*>;
private void handleMessage(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof io.vertx.sqlclient.impl.command.CommandResponse
ifeq 6
1: aload 0
dup
getfield io.vertx.sqlclient.impl.SocketConnectionBase.inflight:I
iconst_1
isub
putfield io.vertx.sqlclient.impl.SocketConnectionBase.inflight:I
2: aload 0
invokevirtual io.vertx.sqlclient.impl.SocketConnectionBase.checkPending:()V
3: aload 1
checkcast io.vertx.sqlclient.impl.command.CommandResponse
astore 2
start local 2 4: aload 2
getfield io.vertx.sqlclient.impl.command.CommandResponse.cmd:Lio/vertx/sqlclient/impl/command/CommandBase;
getfield io.vertx.sqlclient.impl.command.CommandBase.handler:Lio/vertx/core/Handler;
aload 1
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 2 5: goto 11
StackMap locals:
StackMap stack:
6: aload 1
instanceof io.vertx.sqlclient.impl.Notification
ifeq 9
7: aload 0
aload 1
checkcast io.vertx.sqlclient.impl.Notification
invokevirtual io.vertx.sqlclient.impl.SocketConnectionBase.handleNotification:(Lio/vertx/sqlclient/impl/Notification;)V
8: goto 11
StackMap locals:
StackMap stack:
9: aload 1
instanceof io.vertx.sqlclient.impl.Notice
ifeq 11
10: aload 0
aload 1
checkcast io.vertx.sqlclient.impl.Notice
invokevirtual io.vertx.sqlclient.impl.SocketConnectionBase.handleNotice:(Lio/vertx/sqlclient/impl/Notice;)V
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/vertx/sqlclient/impl/SocketConnectionBase;
0 12 1 msg Ljava/lang/Object;
4 5 2 resp Lio/vertx/sqlclient/impl/command/CommandResponse;
MethodParameters:
Name Flags
msg
private void handleNotification(io.vertx.sqlclient.impl.Notification);
descriptor: (Lio/vertx/sqlclient/impl/Notification;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.holder:Lio/vertx/sqlclient/impl/Connection$Holder;
ifnull 2
1: aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.holder:Lio/vertx/sqlclient/impl/Connection$Holder;
aload 1
invokevirtual io.vertx.sqlclient.impl.Notification.getProcessId:()I
aload 1
invokevirtual io.vertx.sqlclient.impl.Notification.getChannel:()Ljava/lang/String;
aload 1
invokevirtual io.vertx.sqlclient.impl.Notification.getPayload:()Ljava/lang/String;
invokeinterface io.vertx.sqlclient.impl.Connection$Holder.handleNotification:(ILjava/lang/String;Ljava/lang/String;)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/sqlclient/impl/SocketConnectionBase;
0 3 1 response Lio/vertx/sqlclient/impl/Notification;
MethodParameters:
Name Flags
response
private void handleNotice(io.vertx.sqlclient.impl.Notice);
descriptor: (Lio/vertx/sqlclient/impl/Notice;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic io.vertx.sqlclient.impl.SocketConnectionBase.logger:Lio/vertx/core/logging/Logger;
invokeinterface io.vertx.sqlclient.impl.Notice.log:(Lio/vertx/core/logging/Logger;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/sqlclient/impl/SocketConnectionBase;
0 2 1 notice Lio/vertx/sqlclient/impl/Notice;
MethodParameters:
Name Flags
notice
private void handleClosed(java.lang.Void);
descriptor: (Ljava/lang/Void;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
invokevirtual io.vertx.sqlclient.impl.SocketConnectionBase.handleClose:(Ljava/lang/Throwable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/sqlclient/impl/SocketConnectionBase;
0 2 1 v Ljava/lang/Void;
MethodParameters:
Name Flags
v
private synchronized void handleException(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof io.netty.handler.codec.DecoderException
ifeq 3
1: aload 1
checkcast io.netty.handler.codec.DecoderException
astore 2
start local 2 2: aload 2
invokevirtual io.netty.handler.codec.DecoderException.getCause:()Ljava/lang/Throwable;
astore 1
end local 2 3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual io.vertx.sqlclient.impl.SocketConnectionBase.handleClose:(Ljava/lang/Throwable;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/sqlclient/impl/SocketConnectionBase;
0 5 1 t Ljava/lang/Throwable;
2 3 2 err Lio/netty/handler/codec/DecoderException;
MethodParameters:
Name Flags
t
private void handleClose(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.status:Lio/vertx/sqlclient/impl/SocketConnectionBase$Status;
getstatic io.vertx.sqlclient.impl.SocketConnectionBase$Status.CLOSED:Lio/vertx/sqlclient/impl/SocketConnectionBase$Status;
if_acmpeq 20
1: aload 0
getstatic io.vertx.sqlclient.impl.SocketConnectionBase$Status.CLOSED:Lio/vertx/sqlclient/impl/SocketConnectionBase$Status;
putfield io.vertx.sqlclient.impl.SocketConnectionBase.status:Lio/vertx/sqlclient/impl/SocketConnectionBase$Status;
2: aload 1
ifnull 10
3: aload 0
dup
astore 2
monitorenter
4: aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.holder:Lio/vertx/sqlclient/impl/Connection$Holder;
ifnull 6
5: aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.holder:Lio/vertx/sqlclient/impl/Connection$Holder;
aload 1
invokeinterface io.vertx.sqlclient.impl.Connection$Holder.handleException:(Ljava/lang/Throwable;)V
6: StackMap locals: io.vertx.sqlclient.impl.SocketConnectionBase
StackMap stack:
aload 2
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 2
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
aload 1
ifnonnull 11
new io.vertx.core.VertxException
dup
ldc "closed"
invokespecial io.vertx.core.VertxException.<init>:(Ljava/lang/String;)V
goto 12
StackMap locals:
StackMap stack:
11: aload 1
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 2
start local 2 13: goto 16
start local 3 14: StackMap locals: java.lang.Throwable io.vertx.sqlclient.impl.command.CommandBase
StackMap stack:
aload 3
astore 4
start local 4 15: aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.context:Lio/vertx/core/Context;
aload 4
aload 2
invokedynamic handle(Lio/vertx/sqlclient/impl/command/CommandBase;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/sqlclient/impl/SocketConnectionBase.lambda$4(Lio/vertx/sqlclient/impl/command/CommandBase;Ljava/lang/Throwable;Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.Context.runOnContext:(Lio/vertx/core/Handler;)V
end local 4 end local 3 16: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.pending:Ljava/util/ArrayDeque;
invokevirtual java.util.ArrayDeque.poll:()Ljava/lang/Object;
checkcast io.vertx.sqlclient.impl.command.CommandBase
dup
astore 3
start local 3 17: ifnonnull 14
18: aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.holder:Lio/vertx/sqlclient/impl/Connection$Holder;
ifnull 20
19: aload 0
getfield io.vertx.sqlclient.impl.SocketConnectionBase.holder:Lio/vertx/sqlclient/impl/Connection$Holder;
invokeinterface io.vertx.sqlclient.impl.Connection$Holder.handleClosed:()V
end local 3 end local 2 20: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lio/vertx/sqlclient/impl/SocketConnectionBase;
0 21 1 t Ljava/lang/Throwable;
13 20 2 cause Ljava/lang/Throwable;
14 16 3 cmd Lio/vertx/sqlclient/impl/command/CommandBase<*>;
17 20 3 cmd Lio/vertx/sqlclient/impl/command/CommandBase<*>;
15 16 4 c Lio/vertx/sqlclient/impl/command/CommandBase<*>;
Exception table:
from to target type
4 7 8 any
8 9 8 any
MethodParameters:
Name Flags
t
private void lambda$2(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual io.vertx.sqlclient.impl.SocketConnectionBase.handleMessage:(Ljava/lang/Object;)V
1: goto 4
StackMap locals:
StackMap stack: java.lang.Exception
2: astore 2
start local 2 3: aload 0
aload 2
invokevirtual io.vertx.sqlclient.impl.SocketConnectionBase.handleException:(Ljava/lang/Throwable;)V
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/sqlclient/impl/SocketConnectionBase;
0 5 1 msg Ljava/lang/Object;
3 4 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
private void lambda$3(io.vertx.sqlclient.impl.Connection$Holder, java.lang.Void);
descriptor: (Lio/vertx/sqlclient/impl/Connection$Holder;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
aload 1
invokevirtual io.vertx.sqlclient.impl.SocketConnectionBase.close:(Lio/vertx/sqlclient/impl/Connection$Holder;)V
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/sqlclient/impl/SocketConnectionBase;
0 1 2 v Ljava/lang/Void;
private static void lambda$4(io.vertx.sqlclient.impl.command.CommandBase, java.lang.Throwable, java.lang.Void);
descriptor: (Lio/vertx/sqlclient/impl/command/CommandBase;Ljava/lang/Throwable;Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 2 0: aload 0
aload 1
invokevirtual io.vertx.sqlclient.impl.command.CommandBase.fail:(Ljava/lang/Throwable;)V
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 v Ljava/lang/Void;
}
SourceFile: "SocketConnectionBase.java"
NestMembers:
io.vertx.sqlclient.impl.SocketConnectionBase$CachedPreparedStatement io.vertx.sqlclient.impl.SocketConnectionBase$Status
InnerClasses:
public abstract Holder = io.vertx.sqlclient.impl.Connection$Holder of io.vertx.sqlclient.impl.Connection
CachedPreparedStatement = io.vertx.sqlclient.impl.SocketConnectionBase$CachedPreparedStatement of io.vertx.sqlclient.impl.SocketConnectionBase
public final Status = io.vertx.sqlclient.impl.SocketConnectionBase$Status of io.vertx.sqlclient.impl.SocketConnectionBase
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles