Package | Description |
---|---|
io.vertx.pgclient | |
io.vertx.reactivex.pgclient | |
io.vertx.rxjava.pgclient | |
io.vertx.rxjava3.pgclient |
Modifier and Type | Method and Description |
---|---|
PgPool |
PgPool.connectHandler(Handler<SqlConnection> handler) |
PgPool |
PgPool.connectionProvider(java.util.function.Function<Context,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(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(List, PoolOptions) with a specific Vertx instance. |
static PgPool |
PgPool.pool(Vertx vertx,
PgConnectOptions database,
PoolOptions options)
Like
pool(PgConnectOptions, PoolOptions) with a specific Vertx instance. |
static PgPool |
PgPool.pool(Vertx vertx,
PoolOptions options)
Like
pool(Vertx, PgConnectOptions, PoolOptions) with the database retrieved from the environment variables. |
static PgPool |
PgPool.pool(Vertx vertx,
String connectionUri)
Like
pool(Vertx, String,PoolOptions) with default options. |
static PgPool |
PgPool.pool(Vertx vertx,
String connectionUri,
PoolOptions poolOptions)
Like
pool(Vertx, PgConnectOptions, PoolOptions) with database retrieved from the given connectionUri . |
static PgPool |
PgPool.pool(Vertx vertx,
java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions poolOptions)
Like
pool(Supplier, PoolOptions) with a specific Vertx instance. |
Modifier and Type | Method and Description |
---|---|
PgPool |
PgPool.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static PgPool |
PgPool.newInstance(PgPool arg) |
Constructor and Description |
---|
PgPool(PgPool delegate) |
Modifier and Type | Method and Description |
---|---|
PgPool |
PgPool.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static PgPool |
PgPool.newInstance(PgPool arg) |
Constructor and Description |
---|
PgPool(PgPool delegate) |
Modifier and Type | Method and Description |
---|---|
PgPool |
PgPool.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static PgPool |
PgPool.newInstance(PgPool arg) |
Constructor and Description |
---|
PgPool(PgPool delegate) |
Copyright © 2024 Eclipse. All rights reserved.