Package | Description |
---|---|
io.vertx.pgclient | |
io.vertx.pgclient.pubsub |
Modifier and Type | Method and Description |
---|---|
PgConnection |
PgConnection.cancelRequest(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Send a request cancellation message to tell the server to cancel processing request in this connection.
|
static PgConnection |
PgConnection.cast(SqlConnection sqlConnection)
Cast a
SqlConnection to PgConnection . |
PgConnection |
PgConnection.closeHandler(io.vertx.core.Handler<Void> handler) |
PgConnection |
PgConnection.exceptionHandler(io.vertx.core.Handler<Throwable> handler) |
PgConnection |
PgConnection.notificationHandler(io.vertx.core.Handler<PgNotification> handler)
Set an handler called when the connection receives notification on a channel.
|
PgConnection |
PgConnection.prepare(String sql,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PreparedStatement>> handler) |
Modifier and Type | Method and Description |
---|---|
static io.vertx.core.Future<PgConnection> |
PgConnection.connect(io.vertx.core.Vertx vertx)
Like
connect(Vertx, Handler) but returns a Future of the asynchronous result |
static io.vertx.core.Future<PgConnection> |
PgConnection.connect(io.vertx.core.Vertx vertx,
PgConnectOptions options)
Like
connect(Vertx, PgConnectOptions, Handler) but returns a Future of the asynchronous result |
static io.vertx.core.Future<PgConnection> |
PgConnection.connect(io.vertx.core.Vertx vertx,
String connectionUri)
Like
connect(Vertx, String, Handler) but returns a Future of the asynchronous result |
Modifier and Type | Method and Description |
---|---|
static void |
PgConnection.connect(io.vertx.core.Vertx vertx,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Like
connect(Vertx, PgConnectOptions, Handler) with options build from the environment variables. |
static void |
PgConnection.connect(io.vertx.core.Vertx vertx,
PgConnectOptions options,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Connects to the database and returns the connection if that succeeds.
|
static void |
PgConnection.connect(io.vertx.core.Vertx vertx,
String connectionUri,
io.vertx.core.Handler<io.vertx.core.AsyncResult<PgConnection>> handler)
Like
connect(Vertx, PgConnectOptions, Handler) with options build from connectionUri . |
Modifier and Type | Method and Description |
---|---|
PgConnection |
PgSubscriber.actualConnection() |
Copyright © 2022 Eclipse. All rights reserved.