Package | Description |
---|---|
io.vertx.reactivex.pgclient |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<PgPool> |
PgPool.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
PgPool |
PgPool.connectHandler(Handler<SqlConnection> handler) |
PgPool |
PgPool.connectionProvider(java.util.function.Function<Context,Future<SqlConnection>> provider) |
PgPool |
PgPool.connectionProvider(Function<Context,Single<SqlConnection>> provider) |
static PgPool |
PgPool.newInstance(PgPool arg) |
static PgPool |
PgPool.pool()
Like
pool() 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() with connectOptions build from the environment variables. |
static PgPool |
PgPool.pool(String connectionUri)
Like
pool() with a default poolOptions . |
static PgPool |
PgPool.pool(String connectionUri,
PoolOptions options)
|
static PgPool |
PgPool.pool(Vertx vertx,
List<PgConnectOptions> databases,
PoolOptions poolOptions)
Like
pool() with a specific instance. |
static PgPool |
PgPool.pool(Vertx vertx,
PgConnectOptions database,
PoolOptions options)
Like
pool() with a specific instance. |
static PgPool |
PgPool.pool(Vertx vertx,
PoolOptions options)
Like
pool() with the database retrieved from the environment variables. |
static PgPool |
PgPool.pool(Vertx vertx,
String connectionUri)
Like
pool() with default options. |
static PgPool |
PgPool.pool(Vertx vertx,
String connectionUri,
PoolOptions poolOptions)
|
Copyright © 2022 Eclipse. All rights reserved.