class io.vertx.pgclient.impl.PgConnectionFactory
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.vertx.pgclient.impl.PgConnectionFactory
super_class: java.lang.Object
{
private final io.vertx.core.net.NetClient client;
descriptor: Lio/vertx/core/net/NetClient;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.Context ctx;
descriptor: Lio/vertx/core/Context;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean registerCloseHook;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String host;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int port;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.pgclient.SslMode sslMode;
descriptor: Lio/vertx/pgclient/SslMode;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.net.TrustOptions trustOptions;
descriptor: Lio/vertx/core/net/TrustOptions;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String hostnameVerificationAlgorithm;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String database;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String username;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String password;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.String, java.lang.String> properties;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
private final boolean cachePreparedStatements;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int preparedStatementCacheSize;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int preparedStatementCacheSqlLimit;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int pipeliningLimit;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean isUsingDomainSocket;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.Closeable hook;
descriptor: Lio/vertx/core/Closeable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$io$vertx$pgclient$SslMode;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
void <init>(io.vertx.core.Context, boolean, io.vertx.pgclient.PgConnectOptions);
descriptor: (Lio/vertx/core/Context;ZLio/vertx/pgclient/PgConnectOptions;)V
flags: (0x0000)
Code:
stack=4, locals=6, 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 0
aload 0
invokedynamic close(Lio/vertx/pgclient/impl/PgConnectionFactory;)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/pgclient/impl/PgConnectionFactory.close(Lio/vertx/core/Handler;)V (7)
(Lio/vertx/core/Handler;)V
putfield io.vertx.pgclient.impl.PgConnectionFactory.hook:Lio/vertx/core/Closeable;
2: aload 0
iload 2
putfield io.vertx.pgclient.impl.PgConnectionFactory.registerCloseHook:Z
3: aload 0
aload 1
putfield io.vertx.pgclient.impl.PgConnectionFactory.ctx:Lio/vertx/core/Context;
4: iload 2
ifeq 6
5: aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.ctx:Lio/vertx/core/Context;
aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.hook:Lio/vertx/core/Closeable;
invokeinterface io.vertx.core.Context.addCloseHook:(Lio/vertx/core/Closeable;)V
6: StackMap locals: io.vertx.pgclient.impl.PgConnectionFactory io.vertx.core.Context int io.vertx.pgclient.PgConnectOptions
StackMap stack:
new io.vertx.core.net.NetClientOptions
dup
aload 3
invokespecial io.vertx.core.net.NetClientOptions.<init>:(Lio/vertx/core/net/NetClientOptions;)V
astore 5
start local 5 7: aload 5
iconst_0
invokevirtual io.vertx.core.net.NetClientOptions.setSsl:(Z)Lio/vertx/core/net/NetClientOptions;
pop
8: aload 0
aload 3
invokevirtual io.vertx.pgclient.PgConnectOptions.getSslMode:()Lio/vertx/pgclient/SslMode;
putfield io.vertx.pgclient.impl.PgConnectionFactory.sslMode:Lio/vertx/pgclient/SslMode;
9: aload 0
aload 5
invokevirtual io.vertx.core.net.NetClientOptions.getHostnameVerificationAlgorithm:()Ljava/lang/String;
putfield io.vertx.pgclient.impl.PgConnectionFactory.hostnameVerificationAlgorithm:Ljava/lang/String;
10: aload 0
aload 5
invokevirtual io.vertx.core.net.NetClientOptions.getTrustOptions:()Lio/vertx/core/net/TrustOptions;
putfield io.vertx.pgclient.impl.PgConnectionFactory.trustOptions:Lio/vertx/core/net/TrustOptions;
11: aload 0
aload 3
invokevirtual io.vertx.pgclient.PgConnectOptions.getHost:()Ljava/lang/String;
putfield io.vertx.pgclient.impl.PgConnectionFactory.host:Ljava/lang/String;
12: aload 0
aload 3
invokevirtual io.vertx.pgclient.PgConnectOptions.getPort:()I
putfield io.vertx.pgclient.impl.PgConnectionFactory.port:I
13: aload 0
aload 3
invokevirtual io.vertx.pgclient.PgConnectOptions.getDatabase:()Ljava/lang/String;
putfield io.vertx.pgclient.impl.PgConnectionFactory.database:Ljava/lang/String;
14: aload 0
aload 3
invokevirtual io.vertx.pgclient.PgConnectOptions.getUser:()Ljava/lang/String;
putfield io.vertx.pgclient.impl.PgConnectionFactory.username:Ljava/lang/String;
15: aload 0
aload 3
invokevirtual io.vertx.pgclient.PgConnectOptions.getPassword:()Ljava/lang/String;
putfield io.vertx.pgclient.impl.PgConnectionFactory.password:Ljava/lang/String;
16: aload 0
new java.util.HashMap
dup
aload 3
invokevirtual io.vertx.pgclient.PgConnectOptions.getProperties:()Ljava/util/Map;
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
putfield io.vertx.pgclient.impl.PgConnectionFactory.properties:Ljava/util/Map;
17: aload 0
aload 3
invokevirtual io.vertx.pgclient.PgConnectOptions.getCachePreparedStatements:()Z
putfield io.vertx.pgclient.impl.PgConnectionFactory.cachePreparedStatements:Z
18: aload 0
aload 3
invokevirtual io.vertx.pgclient.PgConnectOptions.getPipeliningLimit:()I
putfield io.vertx.pgclient.impl.PgConnectionFactory.pipeliningLimit:I
19: aload 0
aload 3
invokevirtual io.vertx.pgclient.PgConnectOptions.getPreparedStatementCacheMaxSize:()I
putfield io.vertx.pgclient.impl.PgConnectionFactory.preparedStatementCacheSize:I
20: aload 0
aload 3
invokevirtual io.vertx.pgclient.PgConnectOptions.getPreparedStatementCacheSqlLimit:()I
putfield io.vertx.pgclient.impl.PgConnectionFactory.preparedStatementCacheSqlLimit:I
21: aload 0
aload 3
invokevirtual io.vertx.pgclient.PgConnectOptions.isUsingDomainSocket:()Z
putfield io.vertx.pgclient.impl.PgConnectionFactory.isUsingDomainSocket:Z
22: aload 0
aload 1
invokeinterface io.vertx.core.Context.owner:()Lio/vertx/core/Vertx;
aload 5
invokeinterface io.vertx.core.Vertx.createNetClient:(Lio/vertx/core/net/NetClientOptions;)Lio/vertx/core/net/NetClient;
putfield io.vertx.pgclient.impl.PgConnectionFactory.client:Lio/vertx/core/net/NetClient;
23: return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lio/vertx/pgclient/impl/PgConnectionFactory;
0 24 1 context Lio/vertx/core/Context;
0 24 2 registerCloseHook Z
0 24 3 options Lio/vertx/pgclient/PgConnectOptions;
7 24 5 netClientOptions Lio/vertx/core/net/NetClientOptions;
MethodParameters:
Name Flags
context
registerCloseHook
options
private void close(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.client:Lio/vertx/core/net/NetClient;
invokeinterface io.vertx.core.net.NetClient.close:()V
1: aload 1
invokestatic io.vertx.core.Future.succeededFuture:()Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/pgclient/impl/PgConnectionFactory;
0 3 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
void close();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.registerCloseHook:Z
ifeq 2
1: aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.ctx:Lio/vertx/core/Context;
aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.hook:Lio/vertx/core/Closeable;
invokeinterface io.vertx.core.Context.removeCloseHook:(Lio/vertx/core/Closeable;)Z
pop
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.client:Lio/vertx/core/net/NetClient;
invokeinterface io.vertx.core.net.NetClient.close:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/pgclient/impl/PgConnectionFactory;
void connectAndInit(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.sqlclient.impl.Connection>>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
invokedynamic handle(Lio/vertx/pgclient/impl/PgConnectionFactory;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/pgclient/impl/PgConnectionFactory.lambda$1(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.vertx.pgclient.impl.PgConnectionFactory.connect:(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/pgclient/impl/PgConnectionFactory;
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
void connect(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.pgclient.impl.PgSocketConnection>>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: invokestatic io.vertx.pgclient.impl.PgConnectionFactory.$SWITCH_TABLE$io$vertx$pgclient$SslMode:()[I
aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.sslMode:Lio/vertx/pgclient/SslMode;
invokevirtual io.vertx.pgclient.SslMode.ordinal:()I
iaload
tableswitch { // 1 - 6
1: 1
2: 3
3: 5
4: 13
5: 10
6: 7
default: 15
}
1: StackMap locals:
StackMap stack:
aload 0
iconst_0
aload 1
invokevirtual io.vertx.pgclient.impl.PgConnectionFactory.doConnect:(ZLio/vertx/core/Handler;)V
2: goto 16
3: StackMap locals:
StackMap stack:
aload 0
iconst_0
aload 0
aload 1
invokedynamic handle(Lio/vertx/pgclient/impl/PgConnectionFactory;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/pgclient/impl/PgConnectionFactory.lambda$2(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.vertx.pgclient.impl.PgConnectionFactory.doConnect:(ZLio/vertx/core/Handler;)V
4: goto 16
5: StackMap locals:
StackMap stack:
aload 0
iconst_1
aload 0
aload 1
invokedynamic handle(Lio/vertx/pgclient/impl/PgConnectionFactory;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/pgclient/impl/PgConnectionFactory.lambda$3(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.vertx.pgclient.impl.PgConnectionFactory.doConnect:(ZLio/vertx/core/Handler;)V
6: goto 16
7: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.hostnameVerificationAlgorithm:Ljava/lang/String;
ifnull 8
aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.hostnameVerificationAlgorithm:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 10
8: StackMap locals:
StackMap stack:
aload 1
new java.lang.IllegalArgumentException
dup
ldc "Host verification algorithm must be specified under verify-full sslmode"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
9: return
10: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.trustOptions:Lio/vertx/core/net/TrustOptions;
ifnonnull 13
11: aload 1
new java.lang.IllegalArgumentException
dup
ldc "Trust options must be specified under verify-full or verify-ca sslmode"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
12: return
13: StackMap locals:
StackMap stack:
aload 0
iconst_1
aload 1
invokevirtual io.vertx.pgclient.impl.PgConnectionFactory.doConnect:(ZLio/vertx/core/Handler;)V
14: goto 16
15: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Unsupported SSL mode"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lio/vertx/pgclient/impl/PgConnectionFactory;
0 17 1 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/pgclient/impl/PgSocketConnection;>;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/pgclient/impl/PgSocketConnection;>;>;)V
MethodParameters:
Name Flags
handler
private void doConnect(boolean, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.pgclient.impl.PgSocketConnection>>);
descriptor: (ZLio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: invokestatic io.vertx.core.Vertx.currentContext:()Lio/vertx/core/Context;
aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.ctx:Lio/vertx/core/Context;
if_acmpeq 2
1: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.isUsingDomainSocket:Z
ifne 5
3: aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.port:I
aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.host:Ljava/lang/String;
invokestatic io.vertx.core.net.SocketAddress.inetSocketAddress:(ILjava/lang/String;)Lio/vertx/core/net/SocketAddress;
astore 3
start local 3 4: goto 6
end local 3 5: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.host:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/.s.PGSQL."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.port:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic io.vertx.core.net.SocketAddress.domainSocketAddress:(Ljava/lang/String;)Lio/vertx/core/net/SocketAddress;
astore 3
start local 3 6: StackMap locals: io.vertx.core.net.SocketAddress
StackMap stack:
invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 4
start local 4 7: aload 4
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
aload 0
iload 1
aload 2
invokedynamic handle(Lio/vertx/pgclient/impl/PgConnectionFactory;ZLio/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/pgclient/impl/PgConnectionFactory.lambda$4(ZLio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.Future.setHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
8: aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.client:Lio/vertx/core/net/NetClient;
aload 3
aconst_null
aload 4
invokeinterface io.vertx.core.net.NetClient.connect:(Lio/vertx/core/net/SocketAddress;Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/net/NetClient;
pop
9: goto 12
StackMap locals: io.vertx.pgclient.impl.PgConnectionFactory int io.vertx.core.Handler io.vertx.core.net.SocketAddress io.vertx.core.Promise
StackMap stack: java.lang.Exception
10: astore 5
start local 5 11: aload 4
aload 5
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
end local 5 12: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/vertx/pgclient/impl/PgConnectionFactory;
0 13 1 ssl Z
0 13 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/pgclient/impl/PgSocketConnection;>;>;
4 5 3 socketAddress Lio/vertx/core/net/SocketAddress;
6 13 3 socketAddress Lio/vertx/core/net/SocketAddress;
7 13 4 promise Lio/vertx/core/Promise<Lio/vertx/core/net/NetSocket;>;
11 12 5 e Ljava/lang/Exception;
Exception table:
from to target type
8 9 10 Class java.lang.Exception
Signature: (ZLio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/pgclient/impl/PgSocketConnection;>;>;)V
MethodParameters:
Name Flags
ssl
handler
private io.vertx.pgclient.impl.PgSocketConnection newSocketConnection(io.vertx.core.impl.NetSocketInternal);
descriptor: (Lio/vertx/core/impl/NetSocketInternal;)Lio/vertx/pgclient/impl/PgSocketConnection;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: new io.vertx.pgclient.impl.PgSocketConnection
dup
aload 1
aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.cachePreparedStatements:Z
aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.preparedStatementCacheSize:I
aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.preparedStatementCacheSqlLimit:I
aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.pipeliningLimit:I
aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.ctx:Lio/vertx/core/Context;
invokespecial io.vertx.pgclient.impl.PgSocketConnection.<init>:(Lio/vertx/core/impl/NetSocketInternal;ZIIILio/vertx/core/Context;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/pgclient/impl/PgConnectionFactory;
0 1 1 socket Lio/vertx/core/impl/NetSocketInternal;
MethodParameters:
Name Flags
socket
static int[] $SWITCH_TABLE$io$vertx$pgclient$SslMode();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic io.vertx.pgclient.impl.PgConnectionFactory.$SWITCH_TABLE$io$vertx$pgclient$SslMode:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic io.vertx.pgclient.SslMode.values:()[Lio/vertx/pgclient/SslMode;
arraylength
newarray 10
astore 0
2: aload 0
getstatic io.vertx.pgclient.SslMode.ALLOW:Lio/vertx/pgclient/SslMode;
invokevirtual io.vertx.pgclient.SslMode.ordinal:()I
iconst_2
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic io.vertx.pgclient.SslMode.DISABLE:Lio/vertx/pgclient/SslMode;
invokevirtual io.vertx.pgclient.SslMode.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic io.vertx.pgclient.SslMode.PREFER:Lio/vertx/pgclient/SslMode;
invokevirtual io.vertx.pgclient.SslMode.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic io.vertx.pgclient.SslMode.REQUIRE:Lio/vertx/pgclient/SslMode;
invokevirtual io.vertx.pgclient.SslMode.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic io.vertx.pgclient.SslMode.VERIFY_CA:Lio/vertx/pgclient/SslMode;
invokevirtual io.vertx.pgclient.SslMode.ordinal:()I
iconst_5
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic io.vertx.pgclient.SslMode.VERIFY_FULL:Lio/vertx/pgclient/SslMode;
invokevirtual io.vertx.pgclient.SslMode.ordinal:()I
bipush 6
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
dup
putstatic io.vertx.pgclient.impl.PgConnectionFactory.$SWITCH_TABLE$io$vertx$pgclient$SslMode:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
private void lambda$1(io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 5
1: aload 2
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.pgclient.impl.PgSocketConnection
astore 3
start local 3 2: aload 3
invokevirtual io.vertx.pgclient.impl.PgSocketConnection.init:()V
3: aload 3
aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.username:Ljava/lang/String;
aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.password:Ljava/lang/String;
aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.database:Ljava/lang/String;
aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.properties:Ljava/util/Map;
aload 1
invokevirtual io.vertx.pgclient.impl.PgSocketConnection.sendStartupMessage:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Lio/vertx/core/Handler;)V
end local 3 4: goto 6
5: StackMap locals:
StackMap stack:
aload 1
aload 2
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokestatic io.vertx.sqlclient.impl.command.CommandResponse.failure:(Ljava/lang/Throwable;)Lio/vertx/sqlclient/impl/command/CommandResponse;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/pgclient/impl/PgConnectionFactory;
0 7 2 ar Lio/vertx/core/AsyncResult<Lio/vertx/pgclient/impl/PgSocketConnection;>;
2 4 3 conn Lio/vertx/pgclient/impl/PgSocketConnection;
private void lambda$2(io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: aload 1
aload 2
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.pgclient.impl.PgSocketConnection
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
iconst_1
aload 1
invokevirtual io.vertx.pgclient.impl.PgConnectionFactory.doConnect:(ZLio/vertx/core/Handler;)V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/pgclient/impl/PgConnectionFactory;
0 5 2 ar Lio/vertx/core/AsyncResult<Lio/vertx/pgclient/impl/PgSocketConnection;>;
private void lambda$3(io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: aload 1
aload 2
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.pgclient.impl.PgSocketConnection
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
iconst_0
aload 1
invokevirtual io.vertx.pgclient.impl.PgConnectionFactory.doConnect:(ZLio/vertx/core/Handler;)V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/pgclient/impl/PgConnectionFactory;
0 5 2 ar Lio/vertx/core/AsyncResult<Lio/vertx/pgclient/impl/PgSocketConnection;>;
private void lambda$4(boolean, io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (ZLio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 3 0: aload 3
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 8
1: aload 3
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.impl.NetSocketInternal
astore 4
start local 4 2: aload 0
aload 4
invokevirtual io.vertx.pgclient.impl.PgConnectionFactory.newSocketConnection:(Lio/vertx/core/impl/NetSocketInternal;)Lio/vertx/pgclient/impl/PgSocketConnection;
astore 5
start local 5 3: iload 1
ifeq 6
aload 0
getfield io.vertx.pgclient.impl.PgConnectionFactory.isUsingDomainSocket:Z
ifne 6
4: aload 5
aload 2
aload 5
invokedynamic handle(Lio/vertx/core/Handler;Lio/vertx/pgclient/impl/PgSocketConnection;)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/PgConnectionFactory.lambda$5(Lio/vertx/core/Handler;Lio/vertx/pgclient/impl/PgSocketConnection;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.vertx.pgclient.impl.PgSocketConnection.upgradeToSSLConnection:(Lio/vertx/core/Handler;)V
5: goto 9
6: StackMap locals: io.vertx.core.impl.NetSocketInternal io.vertx.pgclient.impl.PgSocketConnection
StackMap stack:
aload 2
aload 5
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 5 end local 4 7: goto 9
8: StackMap locals:
StackMap stack:
aload 2
aload 3
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
9: StackMap locals:
StackMap stack:
return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/pgclient/impl/PgConnectionFactory;
0 10 3 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/net/NetSocket;>;
2 7 4 socket Lio/vertx/core/impl/NetSocketInternal;
3 7 5 conn Lio/vertx/pgclient/impl/PgSocketConnection;
private static void lambda$5(io.vertx.core.Handler, io.vertx.pgclient.impl.PgSocketConnection, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/pgclient/impl/PgSocketConnection;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: aload 0
aload 1
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 2
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 5 2 ar2 Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
}
SourceFile: "PgConnectionFactory.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles