public class io.vertx.ext.jdbc.impl.JDBCClientImpl implements io.vertx.ext.jdbc.JDBCClient
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.jdbc.impl.JDBCClientImpl
super_class: java.lang.Object
{
private static final java.lang.String DS_LOCAL_MAP_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "__vertx.JDBCClient.datasources"
private final io.vertx.core.Vertx vertx;
descriptor: Lio/vertx/core/Vertx;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder holder;
descriptor: Lio/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.ExecutorService exec;
descriptor: Ljava/util/concurrent/ExecutorService;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final javax.sql.DataSource ds;
descriptor: Ljavax/sql/DataSource;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.spi.metrics.PoolMetrics metrics;
descriptor: Lio/vertx/core/spi/metrics/PoolMetrics;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.ext.jdbc.impl.actions.JDBCStatementHelper helper;
descriptor: Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(io.vertx.core.Vertx, javax.sql.DataSource);
descriptor: (Lio/vertx/core/Vertx;Ljavax/sql/DataSource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, 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 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
aload 1
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl.vertx:Lio/vertx/core/Vertx;
4: aload 0
new io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder
dup
aload 0
aload 1
checkcast io.vertx.core.impl.VertxInternal
aload 2
invokespecial io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.<init>:(Lio/vertx/ext/jdbc/impl/JDBCClientImpl;Lio/vertx/core/impl/VertxInternal;Ljavax/sql/DataSource;)V
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl.holder:Lio/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder;
5: aload 0
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.holder:Lio/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder;
invokevirtual io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.exec:()Ljava/util/concurrent/ExecutorService;
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl.exec:Ljava/util/concurrent/ExecutorService;
6: aload 0
aload 2
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl.ds:Ljavax/sql/DataSource;
7: aload 0
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.holder:Lio/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder;
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.metrics:Lio/vertx/core/spi/metrics/PoolMetrics;
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl.metrics:Lio/vertx/core/spi/metrics/PoolMetrics;
8: aload 0
new io.vertx.ext.jdbc.impl.actions.JDBCStatementHelper
dup
invokespecial io.vertx.ext.jdbc.impl.actions.JDBCStatementHelper.<init>:()V
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl.helper:Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;
9: aload 0
invokevirtual io.vertx.ext.jdbc.impl.JDBCClientImpl.setupCloseHook:()V
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/ext/jdbc/impl/JDBCClientImpl;
0 11 1 vertx Lio/vertx/core/Vertx;
0 11 2 dataSource Ljavax/sql/DataSource;
MethodParameters:
Name Flags
vertx
dataSource
public void <init>(io.vertx.core.Vertx, io.vertx.core.json.JsonObject, java.lang.String);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/core/json/JsonObject;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 3
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 0
aload 1
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl.vertx:Lio/vertx/core/Vertx;
5: aload 0
aload 0
aload 3
aload 2
invokevirtual io.vertx.ext.jdbc.impl.JDBCClientImpl.lookupHolder:(Ljava/lang/String;Lio/vertx/core/json/JsonObject;)Lio/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder;
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl.holder:Lio/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder;
6: aload 0
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.holder:Lio/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder;
invokevirtual io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.exec:()Ljava/util/concurrent/ExecutorService;
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl.exec:Ljava/util/concurrent/ExecutorService;
7: aload 0
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.holder:Lio/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder;
invokevirtual io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.ds:()Ljavax/sql/DataSource;
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl.ds:Ljavax/sql/DataSource;
8: aload 0
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.holder:Lio/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder;
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.metrics:Lio/vertx/core/spi/metrics/PoolMetrics;
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl.metrics:Lio/vertx/core/spi/metrics/PoolMetrics;
9: aload 0
new io.vertx.ext.jdbc.impl.actions.JDBCStatementHelper
dup
aload 2
invokespecial io.vertx.ext.jdbc.impl.actions.JDBCStatementHelper.<init>:(Lio/vertx/core/json/JsonObject;)V
putfield io.vertx.ext.jdbc.impl.JDBCClientImpl.helper:Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;
10: aload 0
invokevirtual io.vertx.ext.jdbc.impl.JDBCClientImpl.setupCloseHook:()V
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/vertx/ext/jdbc/impl/JDBCClientImpl;
0 12 1 vertx Lio/vertx/core/Vertx;
0 12 2 config Lio/vertx/core/json/JsonObject;
0 12 3 datasourceName Ljava/lang/String;
MethodParameters:
Name Flags
vertx
config
datasourceName
private void setupCloseHook();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: invokestatic io.vertx.core.Vertx.currentContext:()Lio/vertx/core/Context;
astore 1
start local 1 1: aload 1
ifnull 3
aload 1
invokeinterface io.vertx.core.Context.owner:()Lio/vertx/core/Vertx;
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.vertx:Lio/vertx/core/Vertx;
if_acmpne 3
2: aload 1
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.holder:Lio/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic close(Lio/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder;)Lio/vertx/core/Closeable;
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:
(Lio/vertx/core/Handler;)V
io/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder.close(Lio/vertx/core/Handler;)V (5)
(Lio/vertx/core/Handler;)V
invokeinterface io.vertx.core.Context.addCloseHook:(Lio/vertx/core/Closeable;)V
3: StackMap locals: io.vertx.core.Context
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/ext/jdbc/impl/JDBCClientImpl;
1 4 1 ctx Lio/vertx/core/Context;
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.ext.jdbc.impl.JDBCClientImpl.holder:Lio/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder;
aconst_null
invokevirtual io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.close:(Lio/vertx/core/Handler;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/jdbc/impl/JDBCClientImpl;
public void close(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.holder:Lio/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder;
aload 1
invokevirtual io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.close:(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/ext/jdbc/impl/JDBCClientImpl;
0 2 1 completionHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
completionHandler
public io.vertx.ext.jdbc.JDBCClient update(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.sql.UpdateResult>>);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/jdbc/JDBCClient;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.vertx:Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.getOrCreateContext:()Lio/vertx/core/Context;
checkcast io.vertx.core.impl.ContextInternal
astore 3
start local 3 1: aload 0
aload 3
new io.vertx.ext.jdbc.impl.actions.JDBCUpdate
dup
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.vertx:Lio/vertx/core/Vertx;
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.helper:Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;
aconst_null
aload 3
aload 1
aconst_null
invokespecial io.vertx.ext.jdbc.impl.actions.JDBCUpdate.<init>:(Lio/vertx/core/Vertx;Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;Lio/vertx/ext/sql/SQLOptions;Lio/vertx/core/impl/ContextInternal;Ljava/lang/String;Lio/vertx/core/json/JsonArray;)V
aload 2
invokevirtual io.vertx.ext.jdbc.impl.JDBCClientImpl.executeDirect:(Lio/vertx/core/Context;Lio/vertx/ext/jdbc/impl/actions/AbstractJDBCAction;Lio/vertx/core/Handler;)V
2: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/ext/jdbc/impl/JDBCClientImpl;
0 3 1 sql Ljava/lang/String;
0 3 2 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/sql/UpdateResult;>;>;
1 3 3 ctx Lio/vertx/core/impl/ContextInternal;
Signature: (Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/sql/UpdateResult;>;>;)Lio/vertx/ext/jdbc/JDBCClient;
MethodParameters:
Name Flags
sql
resultHandler
public io.vertx.ext.jdbc.JDBCClient updateWithParams(java.lang.String, io.vertx.core.json.JsonArray, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.sql.UpdateResult>>);
descriptor: (Ljava/lang/String;Lio/vertx/core/json/JsonArray;Lio/vertx/core/Handler;)Lio/vertx/ext/jdbc/JDBCClient;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.vertx:Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.getOrCreateContext:()Lio/vertx/core/Context;
checkcast io.vertx.core.impl.ContextInternal
astore 4
start local 4 1: aload 0
aload 4
new io.vertx.ext.jdbc.impl.actions.JDBCUpdate
dup
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.vertx:Lio/vertx/core/Vertx;
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.helper:Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;
aconst_null
aload 4
aload 1
aload 2
invokespecial io.vertx.ext.jdbc.impl.actions.JDBCUpdate.<init>:(Lio/vertx/core/Vertx;Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;Lio/vertx/ext/sql/SQLOptions;Lio/vertx/core/impl/ContextInternal;Ljava/lang/String;Lio/vertx/core/json/JsonArray;)V
aload 3
invokevirtual io.vertx.ext.jdbc.impl.JDBCClientImpl.executeDirect:(Lio/vertx/core/Context;Lio/vertx/ext/jdbc/impl/actions/AbstractJDBCAction;Lio/vertx/core/Handler;)V
2: 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 3 0 this Lio/vertx/ext/jdbc/impl/JDBCClientImpl;
0 3 1 sql Ljava/lang/String;
0 3 2 in Lio/vertx/core/json/JsonArray;
0 3 3 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/sql/UpdateResult;>;>;
1 3 4 ctx Lio/vertx/core/impl/ContextInternal;
Signature: (Ljava/lang/String;Lio/vertx/core/json/JsonArray;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/sql/UpdateResult;>;>;)Lio/vertx/ext/jdbc/JDBCClient;
MethodParameters:
Name Flags
sql
in
resultHandler
public io.vertx.ext.jdbc.JDBCClient query(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.sql.ResultSet>>);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/jdbc/JDBCClient;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.vertx:Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.getOrCreateContext:()Lio/vertx/core/Context;
checkcast io.vertx.core.impl.ContextInternal
astore 3
start local 3 1: aload 0
aload 3
new io.vertx.ext.jdbc.impl.actions.JDBCQuery
dup
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.vertx:Lio/vertx/core/Vertx;
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.helper:Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;
aconst_null
aload 3
aload 1
aconst_null
invokespecial io.vertx.ext.jdbc.impl.actions.JDBCQuery.<init>:(Lio/vertx/core/Vertx;Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;Lio/vertx/ext/sql/SQLOptions;Lio/vertx/core/impl/ContextInternal;Ljava/lang/String;Lio/vertx/core/json/JsonArray;)V
aload 2
invokevirtual io.vertx.ext.jdbc.impl.JDBCClientImpl.executeDirect:(Lio/vertx/core/Context;Lio/vertx/ext/jdbc/impl/actions/AbstractJDBCAction;Lio/vertx/core/Handler;)V
2: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/ext/jdbc/impl/JDBCClientImpl;
0 3 1 sql Ljava/lang/String;
0 3 2 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/sql/ResultSet;>;>;
1 3 3 ctx Lio/vertx/core/impl/ContextInternal;
Signature: (Ljava/lang/String;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/sql/ResultSet;>;>;)Lio/vertx/ext/jdbc/JDBCClient;
MethodParameters:
Name Flags
sql
resultHandler
public io.vertx.ext.jdbc.JDBCClient queryWithParams(java.lang.String, io.vertx.core.json.JsonArray, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.sql.ResultSet>>);
descriptor: (Ljava/lang/String;Lio/vertx/core/json/JsonArray;Lio/vertx/core/Handler;)Lio/vertx/ext/jdbc/JDBCClient;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.vertx:Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.getOrCreateContext:()Lio/vertx/core/Context;
checkcast io.vertx.core.impl.ContextInternal
astore 4
start local 4 1: aload 0
aload 4
new io.vertx.ext.jdbc.impl.actions.JDBCQuery
dup
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.vertx:Lio/vertx/core/Vertx;
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.helper:Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;
aconst_null
aload 4
aload 1
aload 2
invokespecial io.vertx.ext.jdbc.impl.actions.JDBCQuery.<init>:(Lio/vertx/core/Vertx;Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;Lio/vertx/ext/sql/SQLOptions;Lio/vertx/core/impl/ContextInternal;Ljava/lang/String;Lio/vertx/core/json/JsonArray;)V
aload 3
invokevirtual io.vertx.ext.jdbc.impl.JDBCClientImpl.executeDirect:(Lio/vertx/core/Context;Lio/vertx/ext/jdbc/impl/actions/AbstractJDBCAction;Lio/vertx/core/Handler;)V
2: 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 3 0 this Lio/vertx/ext/jdbc/impl/JDBCClientImpl;
0 3 1 sql Ljava/lang/String;
0 3 2 in Lio/vertx/core/json/JsonArray;
0 3 3 resultHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/sql/ResultSet;>;>;
1 3 4 ctx Lio/vertx/core/impl/ContextInternal;
Signature: (Ljava/lang/String;Lio/vertx/core/json/JsonArray;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/sql/ResultSet;>;>;)Lio/vertx/ext/jdbc/JDBCClient;
MethodParameters:
Name Flags
sql
in
resultHandler
private <T> void executeDirect(io.vertx.core.Context, io.vertx.ext.jdbc.impl.actions.AbstractJDBCAction<T>, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>);
descriptor: (Lio/vertx/core/Context;Lio/vertx/ext/jdbc/impl/actions/AbstractJDBCAction;Lio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 0
aload 1
aload 3
aload 2
invokedynamic handle(Lio/vertx/ext/jdbc/impl/JDBCClientImpl;Lio/vertx/core/Context;Lio/vertx/core/Handler;Lio/vertx/ext/jdbc/impl/actions/AbstractJDBCAction;)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/ext/jdbc/impl/JDBCClientImpl.lambda$1(Lio/vertx/core/Context;Lio/vertx/core/Handler;Lio/vertx/ext/jdbc/impl/actions/AbstractJDBCAction;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.vertx.ext.jdbc.impl.JDBCClientImpl.getConnection:(Lio/vertx/core/Context;Lio/vertx/core/Handler;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/jdbc/impl/JDBCClientImpl;
0 2 1 ctx Lio/vertx/core/Context;
0 2 2 action Lio/vertx/ext/jdbc/impl/actions/AbstractJDBCAction<TT;>;
0 2 3 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;
Signature: <T:Ljava/lang/Object;>(Lio/vertx/core/Context;Lio/vertx/ext/jdbc/impl/actions/AbstractJDBCAction<TT;>;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;)V
MethodParameters:
Name Flags
ctx
action
handler
private void getConnection(io.vertx.core.Context, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.sql.SQLConnection>>);
descriptor: (Lio/vertx/core/Context;Lio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.metrics:Lio/vertx/core/spi/metrics/PoolMetrics;
ifnull 1
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.metrics:Lio/vertx/core/spi/metrics/PoolMetrics;
invokeinterface io.vertx.core.spi.metrics.PoolMetrics.isEnabled:()Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 3
start local 3 3: iload 3
ifeq 4
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.metrics:Lio/vertx/core/spi/metrics/PoolMetrics;
invokeinterface io.vertx.core.spi.metrics.PoolMetrics.submitted:()Ljava/lang/Object;
goto 5
StackMap locals: int
StackMap stack:
4: aconst_null
StackMap locals:
StackMap stack: java.lang.Object
5: astore 4
start local 4 6: iload 3
ifeq 7
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.metrics:Lio/vertx/core/spi/metrics/PoolMetrics;
goto 8
StackMap locals: java.lang.Object
StackMap stack:
7: aconst_null
StackMap locals:
StackMap stack: io.vertx.core.spi.metrics.PoolMetrics
8: astore 5
start local 5 9: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.exec:Ljava/util/concurrent/ExecutorService;
aload 0
aload 2
aload 5
aload 4
aload 1
invokedynamic run(Lio/vertx/ext/jdbc/impl/JDBCClientImpl;Lio/vertx/core/Handler;Lio/vertx/core/spi/metrics/PoolMetrics;Ljava/lang/Object;Lio/vertx/core/Context;)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/ext/jdbc/impl/JDBCClientImpl.lambda$4(Lio/vertx/core/Handler;Lio/vertx/core/spi/metrics/PoolMetrics;Ljava/lang/Object;Lio/vertx/core/Context;)V (7)
()V
invokeinterface java.util.concurrent.ExecutorService.execute:(Ljava/lang/Runnable;)V
10: 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 11 0 this Lio/vertx/ext/jdbc/impl/JDBCClientImpl;
0 11 1 ctx Lio/vertx/core/Context;
0 11 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/sql/SQLConnection;>;>;
3 11 3 enabled Z
6 11 4 queueMetric Ljava/lang/Object;
9 11 5 metrics Lio/vertx/core/spi/metrics/PoolMetrics;
Signature: (Lio/vertx/core/Context;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/sql/SQLConnection;>;>;)V
MethodParameters:
Name Flags
ctx
handler
public io.vertx.ext.sql.SQLClient getConnection(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.sql.SQLConnection>>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/ext/sql/SQLClient;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.vertx:Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.getOrCreateContext:()Lio/vertx/core/Context;
astore 2
start local 2 1: aload 0
aload 2
aload 2
aload 1
invokedynamic handle(Lio/vertx/core/Context;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/ext/jdbc/impl/JDBCClientImpl.lambda$5(Lio/vertx/core/Context;Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.vertx.ext.jdbc.impl.JDBCClientImpl.getConnection:(Lio/vertx/core/Context;Lio/vertx/core/Handler;)V
2: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/ext/jdbc/impl/JDBCClientImpl;
0 3 1 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/sql/SQLConnection;>;>;
1 3 2 ctx Lio/vertx/core/Context;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/sql/SQLConnection;>;>;)Lio/vertx/ext/sql/SQLClient;
MethodParameters:
Name Flags
handler
private io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder lookupHolder(java.lang.String, io.vertx.core.json.JsonObject);
descriptor: (Ljava/lang/String;Lio/vertx/core/json/JsonObject;)Lio/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.vertx:Lio/vertx/core/Vertx;
dup
astore 3
monitorenter
1: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.vertx:Lio/vertx/core/Vertx;
invokeinterface io.vertx.core.Vertx.sharedData:()Lio/vertx/core/shareddata/SharedData;
ldc "__vertx.JDBCClient.datasources"
invokeinterface io.vertx.core.shareddata.SharedData.getLocalMap:(Ljava/lang/String;)Lio/vertx/core/shareddata/LocalMap;
astore 4
start local 4 2: aload 4
aload 1
invokeinterface io.vertx.core.shareddata.LocalMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder
astore 5
start local 5 3: aload 5
ifnonnull 6
4: new io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder
dup
aload 0
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.vertx:Lio/vertx/core/Vertx;
checkcast io.vertx.core.impl.VertxInternal
aload 2
aload 4
aload 1
invokespecial io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.<init>:(Lio/vertx/ext/jdbc/impl/JDBCClientImpl;Lio/vertx/core/impl/VertxInternal;Lio/vertx/core/json/JsonObject;Lio/vertx/core/shareddata/LocalMap;Ljava/lang/String;)V
astore 5
5: goto 7
6: StackMap locals: io.vertx.core.Vertx io.vertx.core.shareddata.LocalMap io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder
StackMap stack:
aload 5
invokevirtual io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.incRefCount:()V
7: StackMap locals:
StackMap stack:
aload 5
aload 3
monitorexit
8: areturn
end local 5 end local 4 9: StackMap locals: io.vertx.ext.jdbc.impl.JDBCClientImpl java.lang.String io.vertx.core.json.JsonObject io.vertx.core.Vertx
StackMap stack: java.lang.Throwable
aload 3
monitorexit
10: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/ext/jdbc/impl/JDBCClientImpl;
0 11 1 datasourceName Ljava/lang/String;
0 11 2 config Lio/vertx/core/json/JsonObject;
2 9 4 map Lio/vertx/core/shareddata/LocalMap<Ljava/lang/String;Lio/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder;>;
3 9 5 theHolder Lio/vertx/ext/jdbc/impl/JDBCClientImpl$DataSourceHolder;
Exception table:
from to target type
1 8 9 any
9 10 9 any
MethodParameters:
Name Flags
datasourceName
config
public io.vertx.ext.sql.SQLOperations update(java.lang.String, io.vertx.core.Handler);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/sql/SQLOperations;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual io.vertx.ext.jdbc.impl.JDBCClientImpl.update:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/jdbc/JDBCClient;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.ext.sql.SQLClient update(java.lang.String, io.vertx.core.Handler);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/sql/SQLClient;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual io.vertx.ext.jdbc.impl.JDBCClientImpl.update:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/jdbc/JDBCClient;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.ext.sql.SQLOperations query(java.lang.String, io.vertx.core.Handler);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/sql/SQLOperations;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual io.vertx.ext.jdbc.impl.JDBCClientImpl.query:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/jdbc/JDBCClient;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.ext.sql.SQLClient query(java.lang.String, io.vertx.core.Handler);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/sql/SQLClient;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual io.vertx.ext.jdbc.impl.JDBCClientImpl.query:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/jdbc/JDBCClient;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.ext.sql.SQLOperations queryStreamWithParams(java.lang.String, io.vertx.core.json.JsonArray, io.vertx.core.Handler);
descriptor: (Ljava/lang/String;Lio/vertx/core/json/JsonArray;Lio/vertx/core/Handler;)Lio/vertx/ext/sql/SQLOperations;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
aload 3
invokeinterface io.vertx.ext.sql.SQLClient.queryStreamWithParams:(Ljava/lang/String;Lio/vertx/core/json/JsonArray;Lio/vertx/core/Handler;)Lio/vertx/ext/sql/SQLClient;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.ext.sql.SQLOperations updateWithParams(java.lang.String, io.vertx.core.json.JsonArray, io.vertx.core.Handler);
descriptor: (Ljava/lang/String;Lio/vertx/core/json/JsonArray;Lio/vertx/core/Handler;)Lio/vertx/ext/sql/SQLOperations;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
aload 3
invokevirtual io.vertx.ext.jdbc.impl.JDBCClientImpl.updateWithParams:(Ljava/lang/String;Lio/vertx/core/json/JsonArray;Lio/vertx/core/Handler;)Lio/vertx/ext/jdbc/JDBCClient;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.ext.sql.SQLClient updateWithParams(java.lang.String, io.vertx.core.json.JsonArray, io.vertx.core.Handler);
descriptor: (Ljava/lang/String;Lio/vertx/core/json/JsonArray;Lio/vertx/core/Handler;)Lio/vertx/ext/sql/SQLClient;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
aload 3
invokevirtual io.vertx.ext.jdbc.impl.JDBCClientImpl.updateWithParams:(Ljava/lang/String;Lio/vertx/core/json/JsonArray;Lio/vertx/core/Handler;)Lio/vertx/ext/jdbc/JDBCClient;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.ext.sql.SQLOperations callWithParams(java.lang.String, io.vertx.core.json.JsonArray, io.vertx.core.json.JsonArray, io.vertx.core.Handler);
descriptor: (Ljava/lang/String;Lio/vertx/core/json/JsonArray;Lio/vertx/core/json/JsonArray;Lio/vertx/core/Handler;)Lio/vertx/ext/sql/SQLOperations;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=5, locals=5, args_size=5
0: aload 0
aload 1
aload 2
aload 3
aload 4
invokeinterface io.vertx.ext.sql.SQLClient.callWithParams:(Ljava/lang/String;Lio/vertx/core/json/JsonArray;Lio/vertx/core/json/JsonArray;Lio/vertx/core/Handler;)Lio/vertx/ext/sql/SQLClient;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.ext.sql.SQLOperations queryStream(java.lang.String, io.vertx.core.Handler);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/sql/SQLOperations;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokeinterface io.vertx.ext.sql.SQLClient.queryStream:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/sql/SQLClient;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.ext.sql.SQLOperations call(java.lang.String, io.vertx.core.Handler);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/sql/SQLOperations;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokeinterface io.vertx.ext.sql.SQLClient.call:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/ext/sql/SQLClient;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.ext.sql.SQLOperations queryWithParams(java.lang.String, io.vertx.core.json.JsonArray, io.vertx.core.Handler);
descriptor: (Ljava/lang/String;Lio/vertx/core/json/JsonArray;Lio/vertx/core/Handler;)Lio/vertx/ext/sql/SQLOperations;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
aload 3
invokevirtual io.vertx.ext.jdbc.impl.JDBCClientImpl.queryWithParams:(Ljava/lang/String;Lio/vertx/core/json/JsonArray;Lio/vertx/core/Handler;)Lio/vertx/ext/jdbc/JDBCClient;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.ext.sql.SQLClient queryWithParams(java.lang.String, io.vertx.core.json.JsonArray, io.vertx.core.Handler);
descriptor: (Ljava/lang/String;Lio/vertx/core/json/JsonArray;Lio/vertx/core/Handler;)Lio/vertx/ext/sql/SQLClient;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
aload 3
invokevirtual io.vertx.ext.jdbc.impl.JDBCClientImpl.queryWithParams:(Ljava/lang/String;Lio/vertx/core/json/JsonArray;Lio/vertx/core/Handler;)Lio/vertx/ext/jdbc/JDBCClient;
areturn
LocalVariableTable:
Start End Slot Name Signature
private void lambda$1(io.vertx.core.Context, io.vertx.core.Handler, io.vertx.ext.jdbc.impl.actions.AbstractJDBCAction, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Context;Lio/vertx/core/Handler;Lio/vertx/ext/jdbc/impl/actions/AbstractJDBCAction;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=9, args_size=5
start local 0 start local 4 0: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 5
start local 5 1: aload 5
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
aload 1
aload 2
invokedynamic handle(Lio/vertx/core/Context;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/ext/jdbc/impl/JDBCClientImpl.lambda$2(Lio/vertx/core/Context;Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.Future.setHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
2: aload 4
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 30
3: aload 4
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.ext.jdbc.impl.JDBCConnectionImpl
astore 6
start local 6 4: aload 3
aload 6
getfield io.vertx.ext.jdbc.impl.JDBCConnectionImpl.conn:Ljava/sql/Connection;
invokevirtual io.vertx.ext.jdbc.impl.actions.AbstractJDBCAction.execute:(Ljava/sql/Connection;)Ljava/lang/Object;
astore 7
start local 7 5: aload 5
aload 7
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
end local 7 6: goto 23
StackMap locals: io.vertx.ext.jdbc.impl.JDBCClientImpl io.vertx.core.Context io.vertx.core.Handler io.vertx.ext.jdbc.impl.actions.AbstractJDBCAction io.vertx.core.AsyncResult io.vertx.core.Promise io.vertx.ext.jdbc.impl.JDBCConnectionImpl
StackMap stack: java.lang.Exception
7: astore 7
start local 7 8: aload 5
aload 7
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
end local 7 9: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.metrics:Lio/vertx/core/spi/metrics/PoolMetrics;
ifnull 11
10: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.metrics:Lio/vertx/core/spi/metrics/PoolMetrics;
aload 6
getfield io.vertx.ext.jdbc.impl.JDBCConnectionImpl.metric:Ljava/lang/Object;
iconst_1
invokeinterface io.vertx.core.spi.metrics.PoolMetrics.end:(Ljava/lang/Object;Z)V
11: StackMap locals:
StackMap stack:
aload 6
getfield io.vertx.ext.jdbc.impl.JDBCConnectionImpl.conn:Ljava/sql/Connection;
invokeinterface java.sql.Connection.close:()V
12: goto 31
StackMap locals:
StackMap stack: java.lang.Exception
13: pop
14: getstatic io.vertx.ext.jdbc.impl.JDBCConnectionImpl.log:Lio/vertx/core/logging/Logger;
ldc "Failure in closing connection"
aload 4
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual io.vertx.core.logging.Logger.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
goto 31
15: StackMap locals:
StackMap stack: java.lang.Throwable
astore 8
16: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.metrics:Lio/vertx/core/spi/metrics/PoolMetrics;
ifnull 18
17: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.metrics:Lio/vertx/core/spi/metrics/PoolMetrics;
aload 6
getfield io.vertx.ext.jdbc.impl.JDBCConnectionImpl.metric:Ljava/lang/Object;
iconst_1
invokeinterface io.vertx.core.spi.metrics.PoolMetrics.end:(Ljava/lang/Object;Z)V
18: StackMap locals: io.vertx.ext.jdbc.impl.JDBCClientImpl io.vertx.core.Context io.vertx.core.Handler io.vertx.ext.jdbc.impl.actions.AbstractJDBCAction io.vertx.core.AsyncResult io.vertx.core.Promise io.vertx.ext.jdbc.impl.JDBCConnectionImpl top java.lang.Throwable
StackMap stack:
aload 6
getfield io.vertx.ext.jdbc.impl.JDBCConnectionImpl.conn:Ljava/sql/Connection;
invokeinterface java.sql.Connection.close:()V
19: goto 22
StackMap locals:
StackMap stack: java.lang.Exception
20: pop
21: getstatic io.vertx.ext.jdbc.impl.JDBCConnectionImpl.log:Lio/vertx/core/logging/Logger;
ldc "Failure in closing connection"
aload 4
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual io.vertx.core.logging.Logger.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
22: StackMap locals:
StackMap stack:
aload 8
athrow
23: StackMap locals: io.vertx.ext.jdbc.impl.JDBCClientImpl io.vertx.core.Context io.vertx.core.Handler io.vertx.ext.jdbc.impl.actions.AbstractJDBCAction io.vertx.core.AsyncResult io.vertx.core.Promise io.vertx.ext.jdbc.impl.JDBCConnectionImpl
StackMap stack:
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.metrics:Lio/vertx/core/spi/metrics/PoolMetrics;
ifnull 25
24: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.metrics:Lio/vertx/core/spi/metrics/PoolMetrics;
aload 6
getfield io.vertx.ext.jdbc.impl.JDBCConnectionImpl.metric:Ljava/lang/Object;
iconst_1
invokeinterface io.vertx.core.spi.metrics.PoolMetrics.end:(Ljava/lang/Object;Z)V
25: StackMap locals:
StackMap stack:
aload 6
getfield io.vertx.ext.jdbc.impl.JDBCConnectionImpl.conn:Ljava/sql/Connection;
invokeinterface java.sql.Connection.close:()V
26: goto 31
StackMap locals:
StackMap stack: java.lang.Exception
27: pop
28: getstatic io.vertx.ext.jdbc.impl.JDBCConnectionImpl.log:Lio/vertx/core/logging/Logger;
ldc "Failure in closing connection"
aload 4
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokevirtual io.vertx.core.logging.Logger.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 6 29: goto 31
30: StackMap locals:
StackMap stack:
aload 5
aload 4
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
end local 5 31: StackMap locals:
StackMap stack:
return
end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lio/vertx/ext/jdbc/impl/JDBCClientImpl;
0 32 4 ar1 Lio/vertx/core/AsyncResult<Lio/vertx/ext/sql/SQLConnection;>;
1 31 5 promise Lio/vertx/core/Promise<TT;>;
4 29 6 conn Lio/vertx/ext/jdbc/impl/JDBCConnectionImpl;
5 6 7 result TT;
8 9 7 e Ljava/lang/Exception;
Exception table:
from to target type
4 6 7 Class java.lang.Exception
11 12 13 Class java.lang.Exception
4 9 15 any
18 19 20 Class java.lang.Exception
25 26 27 Class java.lang.Exception
private void lambda$4(io.vertx.core.Handler, io.vertx.core.spi.metrics.PoolMetrics, java.lang.Object, io.vertx.core.Context);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/spi/metrics/PoolMetrics;Ljava/lang/Object;Lio/vertx/core/Context;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=8, locals=8, args_size=5
start local 0 0: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 5
start local 5 1: aload 5
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
aload 1
invokeinterface io.vertx.core.Future.setHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
2: aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.ds:Ljavax/sql/DataSource;
invokeinterface javax.sql.DataSource.getConnection:()Ljava/sql/Connection;
astore 6
start local 6 3: aconst_null
astore 7
start local 7 4: aload 2
ifnull 6
5: aload 2
aload 3
invokeinterface io.vertx.core.spi.metrics.PoolMetrics.begin:(Ljava/lang/Object;)Ljava/lang/Object;
astore 7
6: StackMap locals: io.vertx.core.Promise java.sql.Connection java.lang.Object
StackMap stack:
aload 5
new io.vertx.ext.jdbc.impl.JDBCConnectionImpl
dup
aload 4
aload 0
getfield io.vertx.ext.jdbc.impl.JDBCClientImpl.helper:Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;
aload 6
aload 2
aload 7
invokespecial io.vertx.ext.jdbc.impl.JDBCConnectionImpl.<init>:(Lio/vertx/core/Context;Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;Ljava/sql/Connection;Lio/vertx/core/spi/metrics/PoolMetrics;Ljava/lang/Object;)V
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
end local 7 end local 6 7: goto 12
StackMap locals: io.vertx.ext.jdbc.impl.JDBCClientImpl io.vertx.core.Handler io.vertx.core.spi.metrics.PoolMetrics java.lang.Object io.vertx.core.Context io.vertx.core.Promise
StackMap stack: java.sql.SQLException
8: astore 6
start local 6 9: aload 2
ifnull 11
10: aload 2
aload 3
invokeinterface io.vertx.core.spi.metrics.PoolMetrics.rejected:(Ljava/lang/Object;)V
11: StackMap locals: java.sql.SQLException
StackMap stack:
aload 5
aload 6
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
end local 6 end local 5 12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/vertx/ext/jdbc/impl/JDBCClientImpl;
1 12 5 res Lio/vertx/core/Promise<Lio/vertx/ext/sql/SQLConnection;>;
3 7 6 conn Ljava/sql/Connection;
4 7 7 execMetric Ljava/lang/Object;
9 12 6 e Ljava/sql/SQLException;
Exception table:
from to target type
2 7 8 Class java.sql.SQLException
private static void lambda$5(io.vertx.core.Context, io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Context;Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 2 0: aload 0
aload 1
aload 2
invokedynamic handle(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)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/ext/jdbc/impl/JDBCClientImpl.lambda$6(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.Context.runOnContext:(Lio/vertx/core/Handler;)V
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 ar Lio/vertx/core/AsyncResult<Lio/vertx/ext/sql/SQLConnection;>;
private static void lambda$2(io.vertx.core.Context, io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Context;Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 2 0: aload 0
aload 1
aload 2
invokedynamic handle(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)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/ext/jdbc/impl/JDBCClientImpl.lambda$3(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.Context.runOnContext:(Lio/vertx/core/Handler;)V
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 ar2 Lio/vertx/core/AsyncResult<TT;>;
private static void lambda$6(io.vertx.core.Handler, io.vertx.core.AsyncResult, java.lang.Void);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;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
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 v Ljava/lang/Void;
private static void lambda$3(io.vertx.core.Handler, io.vertx.core.AsyncResult, java.lang.Void);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;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
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 v Ljava/lang/Void;
}
SourceFile: "JDBCClientImpl.java"
NestMembers:
io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder
InnerClasses:
private DataSourceHolder = io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder of io.vertx.ext.jdbc.impl.JDBCClientImpl
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles