public class io.vertx.jdbcclient.impl.JDBCPoolImpl extends io.vertx.sqlclient.impl.SqlClientBase<io.vertx.jdbcclient.impl.JDBCPoolImpl> implements io.vertx.jdbcclient.JDBCPool
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.jdbcclient.impl.JDBCPoolImpl
super_class: io.vertx.sqlclient.impl.SqlClientBase
{
private final io.vertx.core.impl.VertxInternal vertx;
descriptor: Lio/vertx/core/impl/VertxInternal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.ext.jdbc.impl.JDBCClientImpl client;
descriptor: Lio/vertx/ext/jdbc/impl/JDBCClientImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.ext.sql.SQLOptions queryOptions;
descriptor: Lio/vertx/ext/sql/SQLOptions;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(io.vertx.core.Vertx, io.vertx.ext.jdbc.impl.JDBCClientImpl, io.vertx.sqlclient.impl.tracing.QueryTracer);
descriptor: (Lio/vertx/core/Vertx;Lio/vertx/ext/jdbc/impl/JDBCClientImpl;Lio/vertx/sqlclient/impl/tracing/QueryTracer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 3
aconst_null
invokespecial io.vertx.sqlclient.impl.SqlClientBase.<init>:(Lio/vertx/sqlclient/impl/tracing/QueryTracer;Lio/vertx/core/spi/metrics/ClientMetrics;)V
1: aload 0
aload 1
checkcast io.vertx.core.impl.VertxInternal
putfield io.vertx.jdbcclient.impl.JDBCPoolImpl.vertx:Lio/vertx/core/impl/VertxInternal;
2: aload 0
aload 2
putfield io.vertx.jdbcclient.impl.JDBCPoolImpl.client:Lio/vertx/ext/jdbc/impl/JDBCClientImpl;
3: aload 0
new io.vertx.ext.sql.SQLOptions
dup
invokespecial io.vertx.ext.sql.SQLOptions.<init>:()V
putfield io.vertx.jdbcclient.impl.JDBCPoolImpl.queryOptions:Lio/vertx/ext/sql/SQLOptions;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/jdbcclient/impl/JDBCPoolImpl;
0 5 1 vertx Lio/vertx/core/Vertx;
0 5 2 client Lio/vertx/ext/jdbc/impl/JDBCClientImpl;
0 5 3 tracer Lio/vertx/sqlclient/impl/tracing/QueryTracer;
MethodParameters:
Name Flags
vertx
client
tracer
public void getConnection(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.sqlclient.SqlConnection>>);
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
invokevirtual io.vertx.jdbcclient.impl.JDBCPoolImpl.getConnection:()Lio/vertx/core/Future;
aload 1
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/jdbcclient/impl/JDBCPoolImpl;
0 2 1 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/sqlclient/SqlConnection;>;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/sqlclient/SqlConnection;>;>;)V
MethodParameters:
Name Flags
handler
public io.vertx.core.Future<io.vertx.sqlclient.SqlConnection> getConnection();
descriptor: ()Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.jdbcclient.impl.JDBCPoolImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.getOrCreateContext:()Lio/vertx/core/impl/ContextInternal;
astore 1
start local 1 1: aload 0
aload 1
invokevirtual io.vertx.jdbcclient.impl.JDBCPoolImpl.getConnectionInternal:(Lio/vertx/core/impl/ContextInternal;)Lio/vertx/core/Future;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/jdbcclient/impl/JDBCPoolImpl;
1 2 1 ctx Lio/vertx/core/impl/ContextInternal;
Signature: ()Lio/vertx/core/Future<Lio/vertx/sqlclient/SqlConnection;>;
private io.vertx.core.Future<io.vertx.sqlclient.SqlConnection> getConnectionInternal(io.vertx.core.impl.ContextInternal);
descriptor: (Lio/vertx/core/impl/ContextInternal;)Lio/vertx/core/Future;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.jdbcclient.impl.JDBCPoolImpl.client:Lio/vertx/ext/jdbc/impl/JDBCClientImpl;
1: aload 1
invokevirtual io.vertx.ext.jdbc.impl.JDBCClientImpl.getConnection:(Lio/vertx/core/impl/ContextInternal;)Lio/vertx/core/Future;
2: aload 0
aload 1
invokedynamic apply(Lio/vertx/jdbcclient/impl/JDBCPoolImpl;Lio/vertx/core/impl/ContextInternal;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
io/vertx/jdbcclient/impl/JDBCPoolImpl.lambda$0(Lio/vertx/core/impl/ContextInternal;Lio/vertx/ext/sql/SQLConnection;)Lio/vertx/sqlclient/SqlConnection; (7)
(Lio/vertx/ext/sql/SQLConnection;)Lio/vertx/sqlclient/SqlConnection;
invokeinterface io.vertx.core.Future.map:(Ljava/util/function/Function;)Lio/vertx/core/Future;
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/jdbcclient/impl/JDBCPoolImpl;
0 4 1 ctx Lio/vertx/core/impl/ContextInternal;
Signature: (Lio/vertx/core/impl/ContextInternal;)Lio/vertx/core/Future<Lio/vertx/sqlclient/SqlConnection;>;
MethodParameters:
Name Flags
ctx
protected <T> io.vertx.core.impl.future.PromiseInternal<T> promise();
descriptor: ()Lio/vertx/core/impl/future/PromiseInternal;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.jdbcclient.impl.JDBCPoolImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.promise:()Lio/vertx/core/impl/future/PromiseInternal;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/jdbcclient/impl/JDBCPoolImpl;
Signature: <T:Ljava/lang/Object;>()Lio/vertx/core/impl/future/PromiseInternal<TT;>;
protected <T> io.vertx.core.impl.future.PromiseInternal<T> promise(io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/impl/future/PromiseInternal;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.jdbcclient.impl.JDBCPoolImpl.vertx:Lio/vertx/core/impl/VertxInternal;
aload 1
invokeinterface io.vertx.core.impl.VertxInternal.promise:(Lio/vertx/core/Handler;)Lio/vertx/core/impl/future/PromiseInternal;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/jdbcclient/impl/JDBCPoolImpl;
0 1 1 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;
Signature: <T:Ljava/lang/Object;>(Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;)Lio/vertx/core/impl/future/PromiseInternal<TT;>;
MethodParameters:
Name Flags
handler
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.jdbcclient.impl.JDBCPoolImpl.client:Lio/vertx/ext/jdbc/impl/JDBCClientImpl;
aload 1
invokevirtual io.vertx.ext.jdbc.impl.JDBCClientImpl.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/jdbcclient/impl/JDBCPoolImpl;
0 2 1 handler 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
handler
public io.vertx.core.Future<java.lang.Void> close();
descriptor: ()Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.jdbcclient.impl.JDBCPoolImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.promise:()Lio/vertx/core/impl/future/PromiseInternal;
astore 1
start local 1 1: aload 0
getfield io.vertx.jdbcclient.impl.JDBCPoolImpl.client:Lio/vertx/ext/jdbc/impl/JDBCClientImpl;
aload 1
invokevirtual io.vertx.ext.jdbc.impl.JDBCClientImpl.close:(Lio/vertx/core/Promise;)V
2: aload 1
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/jdbcclient/impl/JDBCPoolImpl;
1 3 1 promise Lio/vertx/core/Promise<Ljava/lang/Void;>;
Signature: ()Lio/vertx/core/Future<Ljava/lang/Void;>;
public <R> void schedule(io.vertx.sqlclient.impl.command.CommandBase<R>, io.vertx.core.Promise<R>);
descriptor: (Lio/vertx/sqlclient/impl/command/CommandBase;Lio/vertx/core/Promise;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.jdbcclient.impl.JDBCPoolImpl.vertx:Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.getOrCreateContext:()Lio/vertx/core/impl/ContextInternal;
astore 3
start local 3 1: aload 0
aload 3
invokevirtual io.vertx.jdbcclient.impl.JDBCPoolImpl.getConnectionInternal:(Lio/vertx/core/impl/ContextInternal;)Lio/vertx/core/Future;
aload 3
aload 1
invokedynamic apply(Lio/vertx/core/impl/ContextInternal;Lio/vertx/sqlclient/impl/command/CommandBase;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
io/vertx/jdbcclient/impl/JDBCPoolImpl.lambda$1(Lio/vertx/core/impl/ContextInternal;Lio/vertx/sqlclient/impl/command/CommandBase;Lio/vertx/sqlclient/SqlConnection;)Lio/vertx/core/Future; (6)
(Lio/vertx/sqlclient/SqlConnection;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.flatMap:(Ljava/util/function/Function;)Lio/vertx/core/Future;
2: aload 2
invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/jdbcclient/impl/JDBCPoolImpl;
0 4 1 commandBase Lio/vertx/sqlclient/impl/command/CommandBase<TR;>;
0 4 2 promise Lio/vertx/core/Promise<TR;>;
1 4 3 ctx Lio/vertx/core/impl/ContextInternal;
Signature: <R:Ljava/lang/Object;>(Lio/vertx/sqlclient/impl/command/CommandBase<TR;>;Lio/vertx/core/Promise<TR;>;)V
MethodParameters:
Name Flags
commandBase
promise
private io.vertx.sqlclient.SqlConnection lambda$0(io.vertx.core.impl.ContextInternal, io.vertx.ext.sql.SQLConnection);
descriptor: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/ext/sql/SQLConnection;)Lio/vertx/sqlclient/SqlConnection;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=9, locals=3, args_size=3
start local 0 start local 2 0: new io.vertx.sqlclient.impl.SqlConnectionImpl
dup
aload 1
new io.vertx.jdbcclient.impl.ConnectionImpl
dup
aload 0
getfield io.vertx.jdbcclient.impl.JDBCPoolImpl.client:Lio/vertx/ext/jdbc/impl/JDBCClientImpl;
invokevirtual io.vertx.ext.jdbc.impl.JDBCClientImpl.getHelper:()Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;
aload 1
aload 0
getfield io.vertx.jdbcclient.impl.JDBCPoolImpl.queryOptions:Lio/vertx/ext/sql/SQLOptions;
aload 2
checkcast io.vertx.ext.jdbc.impl.JDBCConnectionImpl
invokespecial io.vertx.jdbcclient.impl.ConnectionImpl.<init>:(Lio/vertx/ext/jdbc/impl/actions/JDBCStatementHelper;Lio/vertx/core/impl/ContextInternal;Lio/vertx/ext/sql/SQLOptions;Lio/vertx/ext/jdbc/impl/JDBCConnectionImpl;)V
aload 0
getfield io.vertx.jdbcclient.impl.JDBCPoolImpl.tracer:Lio/vertx/sqlclient/impl/tracing/QueryTracer;
aconst_null
invokespecial io.vertx.sqlclient.impl.SqlConnectionImpl.<init>:(Lio/vertx/core/impl/ContextInternal;Lio/vertx/sqlclient/impl/Connection;Lio/vertx/sqlclient/impl/tracing/QueryTracer;Lio/vertx/core/spi/metrics/ClientMetrics;)V
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/jdbcclient/impl/JDBCPoolImpl;
0 1 2 c Lio/vertx/ext/sql/SQLConnection;
private static io.vertx.core.Future lambda$1(io.vertx.core.impl.ContextInternal, io.vertx.sqlclient.impl.command.CommandBase, io.vertx.sqlclient.SqlConnection);
descriptor: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/sqlclient/impl/command/CommandBase;Lio/vertx/sqlclient/SqlConnection;)Lio/vertx/core/Future;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=4, args_size=3
start local 2 0: aload 0
invokeinterface io.vertx.core.impl.ContextInternal.promise:()Lio/vertx/core/impl/future/PromiseInternal;
astore 3
start local 3 1: aload 2
checkcast io.vertx.sqlclient.impl.SqlConnectionImpl
aload 1
aload 3
invokevirtual io.vertx.sqlclient.impl.SqlConnectionImpl.schedule:(Lio/vertx/sqlclient/impl/command/CommandBase;Lio/vertx/core/Promise;)V
2: aload 3
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
aload 2
invokedynamic apply(Lio/vertx/sqlclient/SqlConnection;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
io/vertx/jdbcclient/impl/JDBCPoolImpl.lambda$2(Lio/vertx/sqlclient/SqlConnection;Ljava/lang/Object;)Lio/vertx/core/Future; (6)
(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.flatMap:(Ljava/util/function/Function;)Lio/vertx/core/Future;
areturn
end local 3 end local 2 LocalVariableTable:
Start End Slot Name Signature
0 3 2 conn Lio/vertx/sqlclient/SqlConnection;
1 3 3 p Lio/vertx/core/Promise<TR;>;
private static io.vertx.core.Future lambda$2(io.vertx.sqlclient.SqlConnection, java.lang.Object);
descriptor: (Lio/vertx/sqlclient/SqlConnection;Ljava/lang/Object;)Lio/vertx/core/Future;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
invokeinterface io.vertx.sqlclient.SqlConnection.close:()Lio/vertx/core/Future;
aload 1
invokeinterface io.vertx.core.Future.map:(Ljava/lang/Object;)Lio/vertx/core/Future;
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 r TR;
}
Signature: Lio/vertx/sqlclient/impl/SqlClientBase<Lio/vertx/jdbcclient/impl/JDBCPoolImpl;>;Lio/vertx/jdbcclient/JDBCPool;
SourceFile: "JDBCPoolImpl.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles