Package | Description |
---|---|
io.vertx.rxjava3.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,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(java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions poolOptions)
Create a connection pool to the PostgreSQL
databases . |
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)
|
static PgPool |
PgPool.pool(Vertx vertx,
java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions poolOptions)
Like
pool() with a specific instance. |
Copyright © 2024 Eclipse. All rights reserved.