| Package | Description |
|---|---|
| io.vertx.sqlclient | |
| io.vertx.sqlclient.spi |
| Modifier and Type | Method and Description |
|---|---|
Pool |
Pool.connectHandler(Handler<SqlConnection> handler)
Set an handler called when the pool has established a connection to the database.
|
Pool |
Pool.connectionProvider(Function<Context,Future<SqlConnection>> provider)
Replace the default pool connection provider, the new
provider returns a future connection for a
given Context. |
static Pool |
Pool.pool(SqlConnectOptions connectOptions)
Like
pool(SqlConnectOptions, PoolOptions) with default options. |
static Pool |
Pool.pool(SqlConnectOptions database,
PoolOptions options)
Like
pool(Vertx, SqlConnectOptions, PoolOptions) with a Vert.x instance created automatically. |
static Pool |
Pool.pool(Vertx vertx,
SqlConnectOptions database,
PoolOptions options)
Create a connection pool to the
database with the given options. |
| Modifier and Type | Method and Description |
|---|---|
default Pool |
Driver.createPool(Vertx vertx,
List<? extends SqlConnectOptions> databases,
PoolOptions options)
Create a connection pool to the database configured with the given
connectOptions and poolOptions. |
Pool |
Driver.newPool(Vertx vertx,
List<? extends SqlConnectOptions> databases,
PoolOptions options,
io.vertx.core.impl.CloseFuture closeFuture)
Create a connection pool to the database configured with the given
connectOptions and poolOptions. |
Copyright © 2023 Eclipse. All rights reserved.