Package | Description |
---|---|
io.vertx.pgclient | |
io.vertx.pgclient.spi |
Modifier and Type | Method and Description |
---|---|
PgPool |
PgPool.connectHandler(io.vertx.core.Handler<SqlConnection> handler) |
PgPool |
PgPool.connectionProvider(Function<io.vertx.core.Context,io.vertx.core.Future<SqlConnection>> provider) |
static PgPool |
PgPool.pool()
Like
pool(PoolOptions) with a default poolOptions . |
static PgPool |
PgPool.pool(List<PgConnectOptions> databases,
PoolOptions poolOptions)
Create a connection pool to the PostgreSQL
databases with round-robin selection. |
static PgPool |
PgPool.pool(PgConnectOptions database,
PoolOptions options)
Create a connection pool to the PostgreSQL
database configured with the given options . |
static PgPool |
PgPool.pool(PoolOptions options)
Like
pool(PgConnectOptions, PoolOptions) with connectOptions build from the environment variables. |
static PgPool |
PgPool.pool(String connectionUri)
Like
pool(String, PoolOptions) with a default poolOptions . |
static PgPool |
PgPool.pool(String connectionUri,
PoolOptions options)
|
static PgPool |
PgPool.pool(io.vertx.core.Vertx vertx,
List<PgConnectOptions> databases,
PoolOptions poolOptions)
Like
pool(List, PoolOptions) with a specific Vertx instance. |
static PgPool |
PgPool.pool(io.vertx.core.Vertx vertx,
PgConnectOptions database,
PoolOptions options)
Like
pool(PgConnectOptions, PoolOptions) with a specific Vertx instance. |
static PgPool |
PgPool.pool(io.vertx.core.Vertx vertx,
PoolOptions options)
Like
pool(Vertx, PgConnectOptions, PoolOptions) with the database retrieved from the environment variables. |
static PgPool |
PgPool.pool(io.vertx.core.Vertx vertx,
String connectionUri)
Like
pool(Vertx, String,PoolOptions) with default options. |
static PgPool |
PgPool.pool(io.vertx.core.Vertx vertx,
String connectionUri,
PoolOptions poolOptions)
Like
pool(Vertx, PgConnectOptions, PoolOptions) with database retrieved from the given connectionUri . |
Modifier and Type | Method and Description |
---|---|
PgPool |
PgDriver.createClient(io.vertx.core.Vertx vertx,
List<? extends SqlConnectOptions> servers,
PoolOptions options) |
PgPool |
PgDriver.createPool(io.vertx.core.Vertx vertx,
List<? extends SqlConnectOptions> databases,
PoolOptions options) |
Copyright © 2021 Eclipse. All rights reserved.