public class io.vertx.pgclient.impl.PgPoolImpl extends io.vertx.sqlclient.impl.PoolBase<io.vertx.pgclient.impl.PgPoolImpl> implements io.vertx.pgclient.PgPool
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.pgclient.impl.PgPoolImpl
super_class: io.vertx.sqlclient.impl.PoolBase
{
private final io.vertx.pgclient.impl.PgConnectionFactory factory;
descriptor: Lio/vertx/pgclient/impl/PgConnectionFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static io.vertx.pgclient.impl.PgPoolImpl create(io.vertx.core.impl.ContextInternal, boolean, io.vertx.pgclient.PgConnectOptions, io.vertx.sqlclient.PoolOptions);
descriptor: (Lio/vertx/core/impl/ContextInternal;ZLio/vertx/pgclient/PgConnectOptions;Lio/vertx/sqlclient/PoolOptions;)Lio/vertx/pgclient/impl/PgPoolImpl;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokeinterface io.vertx.core.impl.ContextInternal.tracer:()Lio/vertx/core/spi/tracing/VertxTracer;
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: new io.vertx.sqlclient.impl.tracing.QueryTracer
dup
aload 0
invokeinterface io.vertx.core.impl.ContextInternal.tracer:()Lio/vertx/core/spi/tracing/VertxTracer;
aload 2
invokespecial io.vertx.sqlclient.impl.tracing.QueryTracer.<init>:(Lio/vertx/core/spi/tracing/VertxTracer;Lio/vertx/sqlclient/SqlConnectOptions;)V
StackMap locals:
StackMap stack: io.vertx.sqlclient.impl.tracing.QueryTracer
2: astore 4
start local 4 3: aload 0
invokeinterface io.vertx.core.impl.ContextInternal.owner:()Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.metricsSPI:()Lio/vertx/core/spi/metrics/VertxMetrics;
astore 5
start local 5 4: aload 5
ifnull 5
aload 5
aload 2
invokevirtual io.vertx.pgclient.PgConnectOptions.getSocketAddress:()Lio/vertx/core/net/SocketAddress;
ldc "sql"
aload 2
invokevirtual io.vertx.pgclient.PgConnectOptions.getMetricsName:()Ljava/lang/String;
invokeinterface io.vertx.core.spi.metrics.VertxMetrics.createClientMetrics:(Lio/vertx/core/net/SocketAddress;Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/spi/metrics/ClientMetrics;
goto 6
StackMap locals: io.vertx.sqlclient.impl.tracing.QueryTracer io.vertx.core.spi.metrics.VertxMetrics
StackMap stack:
5: aconst_null
StackMap locals:
StackMap stack: io.vertx.core.spi.metrics.ClientMetrics
6: astore 6
start local 6 7: new io.vertx.pgclient.impl.PgPoolImpl
dup
aload 0
new io.vertx.pgclient.impl.PgConnectionFactory
dup
aload 0
aload 2
invokespecial io.vertx.pgclient.impl.PgConnectionFactory.<init>:(Lio/vertx/core/impl/ContextInternal;Lio/vertx/pgclient/PgConnectOptions;)V
aload 4
aload 6
aload 3
invokespecial io.vertx.pgclient.impl.PgPoolImpl.<init>:(Lio/vertx/core/impl/ContextInternal;Lio/vertx/pgclient/impl/PgConnectionFactory;Lio/vertx/sqlclient/impl/tracing/QueryTracer;Lio/vertx/core/spi/metrics/ClientMetrics;Lio/vertx/sqlclient/PoolOptions;)V
astore 7
start local 7 8: aload 7
invokevirtual io.vertx.pgclient.impl.PgPoolImpl.closeFuture:()Lio/vertx/core/impl/CloseFuture;
astore 8
start local 8 9: iload 1
ifeq 12
10: aload 8
aload 0
invokedynamic handle(Lio/vertx/core/impl/ContextInternal;)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/pgclient/impl/PgPoolImpl.lambda$0(Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.vertx.core.impl.CloseFuture.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
11: goto 13
12: StackMap locals: io.vertx.core.spi.metrics.ClientMetrics io.vertx.pgclient.impl.PgPoolImpl io.vertx.core.impl.CloseFuture
StackMap stack:
aload 0
aload 8
invokeinterface io.vertx.core.impl.ContextInternal.addCloseHook:(Lio/vertx/core/Closeable;)V
13: StackMap locals:
StackMap stack:
aload 7
areturn
end local 8 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 14 0 context Lio/vertx/core/impl/ContextInternal;
0 14 1 closeVertx Z
0 14 2 connectOptions Lio/vertx/pgclient/PgConnectOptions;
0 14 3 poolOptions Lio/vertx/sqlclient/PoolOptions;
3 14 4 tracer Lio/vertx/sqlclient/impl/tracing/QueryTracer;
4 14 5 vertxMetrics Lio/vertx/core/spi/metrics/VertxMetrics;
7 14 6 metrics Lio/vertx/core/spi/metrics/ClientMetrics;
8 14 7 pool Lio/vertx/pgclient/impl/PgPoolImpl;
9 14 8 closeFuture Lio/vertx/core/impl/CloseFuture;
MethodParameters:
Name Flags
context
closeVertx
connectOptions
poolOptions
private void <init>(io.vertx.core.impl.ContextInternal, io.vertx.pgclient.impl.PgConnectionFactory, io.vertx.sqlclient.impl.tracing.QueryTracer, io.vertx.core.spi.metrics.ClientMetrics, io.vertx.sqlclient.PoolOptions);
descriptor: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/pgclient/impl/PgConnectionFactory;Lio/vertx/sqlclient/impl/tracing/QueryTracer;Lio/vertx/core/spi/metrics/ClientMetrics;Lio/vertx/sqlclient/PoolOptions;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, 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
aload 1
aload 2
aload 3
aload 4
aload 5
invokespecial io.vertx.sqlclient.impl.PoolBase.<init>:(Lio/vertx/core/impl/ContextInternal;Lio/vertx/sqlclient/impl/ConnectionFactory;Lio/vertx/sqlclient/impl/tracing/QueryTracer;Lio/vertx/core/spi/metrics/ClientMetrics;Lio/vertx/sqlclient/PoolOptions;)V
1: aload 0
aload 2
putfield io.vertx.pgclient.impl.PgPoolImpl.factory:Lio/vertx/pgclient/impl/PgConnectionFactory;
2: 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 3 0 this Lio/vertx/pgclient/impl/PgPoolImpl;
0 3 1 context Lio/vertx/core/impl/ContextInternal;
0 3 2 factory Lio/vertx/pgclient/impl/PgConnectionFactory;
0 3 3 tracer Lio/vertx/sqlclient/impl/tracing/QueryTracer;
0 3 4 metrics Lio/vertx/core/spi/metrics/ClientMetrics;
0 3 5 poolOptions Lio/vertx/sqlclient/PoolOptions;
MethodParameters:
Name Flags
context
factory
tracer
metrics
poolOptions
public int appendQueryPlaceholder(java.lang.StringBuilder, int, int);
descriptor: (Ljava/lang/StringBuilder;II)I
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 1
bipush 36
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
iconst_1
iload 2
iadd
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
1: iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/pgclient/impl/PgPoolImpl;
0 2 1 queryBuilder Ljava/lang/StringBuilder;
0 2 2 index I
0 2 3 current I
MethodParameters:
Name Flags
queryBuilder
index
current
public void connect(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.sqlclient.impl.Connection>>);
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.pgclient.impl.PgPoolImpl.factory:Lio/vertx/pgclient/impl/PgConnectionFactory;
invokevirtual io.vertx.pgclient.impl.PgConnectionFactory.connect:()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/pgclient/impl/PgPoolImpl;
0 2 1 completionHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/sqlclient/impl/Connection;>;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/sqlclient/impl/Connection;>;>;)V
MethodParameters:
Name Flags
completionHandler
protected io.vertx.sqlclient.impl.SqlConnectionImpl wrap(io.vertx.core.impl.ContextInternal, io.vertx.sqlclient.impl.Connection);
descriptor: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/sqlclient/impl/Connection;)Lio/vertx/sqlclient/impl/SqlConnectionImpl;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new io.vertx.pgclient.impl.PgConnectionImpl
dup
aload 0
getfield io.vertx.pgclient.impl.PgPoolImpl.factory:Lio/vertx/pgclient/impl/PgConnectionFactory;
aload 1
aload 2
aload 0
getfield io.vertx.pgclient.impl.PgPoolImpl.tracer:Lio/vertx/sqlclient/impl/tracing/QueryTracer;
aload 0
getfield io.vertx.pgclient.impl.PgPoolImpl.metrics:Lio/vertx/core/spi/metrics/ClientMetrics;
invokespecial io.vertx.pgclient.impl.PgConnectionImpl.<init>:(Lio/vertx/pgclient/impl/PgConnectionFactory;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 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/pgclient/impl/PgPoolImpl;
0 1 1 context Lio/vertx/core/impl/ContextInternal;
0 1 2 conn Lio/vertx/sqlclient/impl/Connection;
MethodParameters:
Name Flags
context
conn
private static void lambda$0(io.vertx.core.impl.ContextInternal, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 1 0: aload 0
invokeinterface io.vertx.core.impl.ContextInternal.owner:()Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.close:()Lio/vertx/core/Future;
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 ar Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
}
Signature: Lio/vertx/sqlclient/impl/PoolBase<Lio/vertx/pgclient/impl/PgPoolImpl;>;Lio/vertx/pgclient/PgPool;
SourceFile: "PgPoolImpl.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles