Package | Description |
---|---|
io.vertx.pgclient | |
io.vertx.pgclient.spi | |
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(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 . |
Modifier and Type | Method and Description |
---|---|
PgPool |
PgDriver.createClient(Vertx vertx,
List<? extends SqlConnectOptions> servers,
PoolOptions options) |
PgPool |
PgDriver.createPool(Vertx vertx,
List<? extends SqlConnectOptions> databases,
PoolOptions options) |
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 © 2021 Eclipse. All rights reserved.