public class io.vertx.pgclient.impl.PgConnectionImpl extends io.vertx.sqlclient.impl.SqlConnectionImpl<io.vertx.pgclient.impl.PgConnectionImpl> implements io.vertx.pgclient.PgConnection
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.pgclient.impl.PgConnectionImpl
super_class: io.vertx.sqlclient.impl.SqlConnectionImpl
{
private final io.vertx.pgclient.impl.PgConnectionFactory factory;
descriptor: Lio/vertx/pgclient/impl/PgConnectionFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile io.vertx.core.Handler<io.vertx.pgclient.PgNotification> notificationHandler;
descriptor: Lio/vertx/core/Handler;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
Signature: Lio/vertx/core/Handler<Lio/vertx/pgclient/PgNotification;>;
public static io.vertx.core.Future<io.vertx.pgclient.PgConnection> connect(io.vertx.core.impl.ContextInternal, io.vertx.pgclient.PgConnectOptions);
descriptor: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/pgclient/PgConnectOptions;)Lio/vertx/core/Future;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual io.vertx.pgclient.PgConnectOptions.isUsingDomainSocket:()Z
ifeq 2
aload 0
invokeinterface io.vertx.core.impl.ContextInternal.owner:()Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.isNativeTransportEnabled:()Z
ifne 2
1: aload 0
ldc "Native transport is not available"
invokeinterface io.vertx.core.impl.ContextInternal.failedFuture:(Ljava/lang/String;)Lio/vertx/core/Future;
areturn
2: StackMap locals:
StackMap stack:
new io.vertx.pgclient.impl.PgConnectionFactory
dup
aload 0
aload 1
invokespecial io.vertx.pgclient.impl.PgConnectionFactory.<init>:(Lio/vertx/core/impl/ContextInternal;Lio/vertx/pgclient/PgConnectOptions;)V
astore 2
start local 2 3: goto 6
end local 2 StackMap locals:
StackMap stack: java.lang.Exception
4: astore 3
start local 3 5: aload 0
aload 3
invokeinterface io.vertx.core.impl.ContextInternal.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
areturn
end local 3 start local 2 6: StackMap locals: io.vertx.pgclient.impl.PgConnectionFactory
StackMap stack:
aload 0
aload 2
invokeinterface io.vertx.core.impl.ContextInternal.addCloseHook:(Lio/vertx/core/Closeable;)V
7: aload 2
invokevirtual io.vertx.pgclient.impl.PgConnectionFactory.connect:()Lio/vertx/core/Future;
8: aload 0
aload 1
aload 2
invokedynamic apply(Lio/vertx/core/impl/ContextInternal;Lio/vertx/pgclient/PgConnectOptions;Lio/vertx/pgclient/impl/PgConnectionFactory;)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/pgclient/impl/PgConnectionImpl.lambda$0(Lio/vertx/core/impl/ContextInternal;Lio/vertx/pgclient/PgConnectOptions;Lio/vertx/pgclient/impl/PgConnectionFactory;Lio/vertx/sqlclient/impl/Connection;)Lio/vertx/pgclient/PgConnection; (6)
(Lio/vertx/sqlclient/impl/Connection;)Lio/vertx/pgclient/PgConnection;
invokeinterface io.vertx.core.Future.map:(Ljava/util/function/Function;)Lio/vertx/core/Future;
9: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 context Lio/vertx/core/impl/ContextInternal;
0 10 1 options Lio/vertx/pgclient/PgConnectOptions;
3 4 2 client Lio/vertx/pgclient/impl/PgConnectionFactory;
6 10 2 client Lio/vertx/pgclient/impl/PgConnectionFactory;
5 6 3 e Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class java.lang.Exception
Signature: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/pgclient/PgConnectOptions;)Lio/vertx/core/Future<Lio/vertx/pgclient/PgConnection;>;
MethodParameters:
Name Flags
context
options
void <init>(io.vertx.pgclient.impl.PgConnectionFactory, io.vertx.core.impl.ContextInternal, io.vertx.sqlclient.impl.Connection, io.vertx.sqlclient.impl.tracing.QueryTracer, io.vertx.core.spi.metrics.ClientMetrics);
descriptor: (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
flags: (0x0000)
Code:
stack=5, 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 2
aload 3
aload 4
aload 5
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
1: aload 0
aload 1
putfield io.vertx.pgclient.impl.PgConnectionImpl.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/PgConnectionImpl;
0 3 1 factory Lio/vertx/pgclient/impl/PgConnectionFactory;
0 3 2 context Lio/vertx/core/impl/ContextInternal;
0 3 3 conn Lio/vertx/sqlclient/impl/Connection;
0 3 4 tracer Lio/vertx/sqlclient/impl/tracing/QueryTracer;
0 3 5 metrics Lio/vertx/core/spi/metrics/ClientMetrics;
MethodParameters:
Name Flags
factory
context
conn
tracer
metrics
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/PgConnectionImpl;
0 2 1 queryBuilder Ljava/lang/StringBuilder;
0 2 2 index I
0 2 3 current I
MethodParameters:
Name Flags
queryBuilder
index
current
public io.vertx.pgclient.PgConnection notificationHandler(io.vertx.core.Handler<io.vertx.pgclient.PgNotification>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/pgclient/PgConnection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.vertx.pgclient.impl.PgConnectionImpl.notificationHandler:Lio/vertx/core/Handler;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/pgclient/impl/PgConnectionImpl;
0 2 1 handler Lio/vertx/core/Handler<Lio/vertx/pgclient/PgNotification;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/pgclient/PgNotification;>;)Lio/vertx/pgclient/PgConnection;
MethodParameters:
Name Flags
handler
public void handleEvent(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.pgclient.impl.PgConnectionImpl.notificationHandler:Lio/vertx/core/Handler;
astore 2
start local 2 1: aload 2
ifnull 8
aload 1
instanceof io.vertx.sqlclient.impl.Notification
ifeq 8
2: aload 1
checkcast io.vertx.sqlclient.impl.Notification
astore 3
start local 3 3: aload 2
new io.vertx.pgclient.PgNotification
dup
invokespecial io.vertx.pgclient.PgNotification.<init>:()V
4: aload 3
invokevirtual io.vertx.sqlclient.impl.Notification.getChannel:()Ljava/lang/String;
invokevirtual io.vertx.pgclient.PgNotification.setChannel:(Ljava/lang/String;)Lio/vertx/pgclient/PgNotification;
5: aload 3
invokevirtual io.vertx.sqlclient.impl.Notification.getProcessId:()I
invokevirtual io.vertx.pgclient.PgNotification.setProcessId:(I)Lio/vertx/pgclient/PgNotification;
6: aload 3
invokevirtual io.vertx.sqlclient.impl.Notification.getPayload:()Ljava/lang/String;
invokevirtual io.vertx.pgclient.PgNotification.setPayload:(Ljava/lang/String;)Lio/vertx/pgclient/PgNotification;
7: invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 3 8: StackMap locals: io.vertx.core.Handler
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/vertx/pgclient/impl/PgConnectionImpl;
0 9 1 event Ljava/lang/Object;
1 9 2 handler Lio/vertx/core/Handler<Lio/vertx/pgclient/PgNotification;>;
3 8 3 notification Lio/vertx/sqlclient/impl/Notification;
MethodParameters:
Name Flags
event
public int processId();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.pgclient.impl.PgConnectionImpl.conn:Lio/vertx/sqlclient/impl/Connection;
invokeinterface io.vertx.sqlclient.impl.Connection.getProcessId:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/pgclient/impl/PgConnectionImpl;
public int secretKey();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.pgclient.impl.PgConnectionImpl.conn:Lio/vertx/sqlclient/impl/Connection;
invokeinterface io.vertx.sqlclient.impl.Connection.getSecretKey:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/pgclient/impl/PgConnectionImpl;
public io.vertx.pgclient.PgConnection cancelRequest(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/pgclient/PgConnection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: invokestatic io.vertx.core.Vertx.currentContext:()Lio/vertx/core/Context;
astore 2
start local 2 1: aload 2
aload 0
getfield io.vertx.pgclient.impl.PgConnectionImpl.context:Lio/vertx/core/impl/ContextInternal;
if_acmpne 4
2: aload 0
getfield io.vertx.pgclient.impl.PgConnectionImpl.factory:Lio/vertx/pgclient/impl/PgConnectionFactory;
aload 0
invokevirtual io.vertx.pgclient.impl.PgConnectionImpl.processId:()I
aload 0
invokevirtual io.vertx.pgclient.impl.PgConnectionImpl.secretKey:()I
aload 1
invokevirtual io.vertx.pgclient.impl.PgConnectionFactory.cancelRequest:(IILio/vertx/core/Handler;)V
3: goto 5
4: StackMap locals: io.vertx.core.Context
StackMap stack:
aload 0
getfield io.vertx.pgclient.impl.PgConnectionImpl.context:Lio/vertx/core/impl/ContextInternal;
aload 0
aload 1
invokedynamic handle(Lio/vertx/pgclient/impl/PgConnectionImpl;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/PgConnectionImpl.lambda$1(Lio/vertx/core/Handler;Ljava/lang/Void;)V (7)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.impl.ContextInternal.runOnContext:(Lio/vertx/core/Handler;)V
5: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/pgclient/impl/PgConnectionImpl;
0 6 1 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
1 6 2 current Lio/vertx/core/Context;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)Lio/vertx/pgclient/PgConnection;
MethodParameters:
Name Flags
handler
public io.vertx.pgclient.PgConnection closeHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/pgclient/PgConnection;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.pgclient.impl.PgConnectionImpl.closeHandler:(Lio/vertx/core/Handler;)Lio/vertx/sqlclient/SqlConnection;
checkcast io.vertx.pgclient.PgConnection
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.pgclient.PgConnection prepare(java.lang.String, io.vertx.core.Handler);
descriptor: (Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/pgclient/PgConnection;
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.pgclient.impl.PgConnectionImpl.prepare:(Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/sqlclient/SqlClient;
checkcast io.vertx.pgclient.PgConnection
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.pgclient.PgConnection exceptionHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/pgclient/PgConnection;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.pgclient.impl.PgConnectionImpl.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/sqlclient/SqlConnection;
checkcast io.vertx.pgclient.PgConnection
areturn
LocalVariableTable:
Start End Slot Name Signature
private static io.vertx.pgclient.PgConnection lambda$0(io.vertx.core.impl.ContextInternal, io.vertx.pgclient.PgConnectOptions, io.vertx.pgclient.impl.PgConnectionFactory, io.vertx.sqlclient.impl.Connection);
descriptor: (Lio/vertx/core/impl/ContextInternal;Lio/vertx/pgclient/PgConnectOptions;Lio/vertx/pgclient/impl/PgConnectionFactory;Lio/vertx/sqlclient/impl/Connection;)Lio/vertx/pgclient/PgConnection;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=7, locals=6, args_size=4
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 1
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: new io.vertx.pgclient.impl.PgConnectionImpl
dup
aload 2
aload 0
aload 3
aload 4
aconst_null
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
astore 5
start local 5 4: aload 3
aload 5
invokeinterface io.vertx.sqlclient.impl.Connection.init:(Lio/vertx/sqlclient/impl/Connection$Holder;)V
5: aload 5
areturn
end local 5 end local 4 end local 3 LocalVariableTable:
Start End Slot Name Signature
0 6 3 conn Lio/vertx/sqlclient/impl/Connection;
3 6 4 tracer Lio/vertx/sqlclient/impl/tracing/QueryTracer;
4 6 5 pgConn Lio/vertx/pgclient/impl/PgConnectionImpl;
private void lambda$1(io.vertx.core.Handler, java.lang.Void);
descriptor: (Lio/vertx/core/Handler;Ljava/lang/Void;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
invokevirtual io.vertx.pgclient.impl.PgConnectionImpl.cancelRequest:(Lio/vertx/core/Handler;)Lio/vertx/pgclient/PgConnection;
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/pgclient/impl/PgConnectionImpl;
0 1 2 v Ljava/lang/Void;
}
Signature: Lio/vertx/sqlclient/impl/SqlConnectionImpl<Lio/vertx/pgclient/impl/PgConnectionImpl;>;Lio/vertx/pgclient/PgConnection;
SourceFile: "PgConnectionImpl.java"
InnerClasses:
public abstract Holder = io.vertx.sqlclient.impl.Connection$Holder of io.vertx.sqlclient.impl.Connection
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles