Package | Description |
---|---|
io.vertx.sqlclient | |
io.vertx.sqlclient.spi |
Modifier and Type | Method and Description |
---|---|
PoolOptions |
PoolOptions.setMaxSize(int maxSize)
Set the maximum pool size
|
PoolOptions |
PoolOptions.setMaxWaitQueueSize(int maxWaitQueueSize)
Set the maximum connection request allowed in the wait queue, any requests beyond the max size will result in
an failure.
|
Modifier and Type | Method and Description |
---|---|
static void |
PoolOptionsConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
PoolOptions obj) |
static Pool |
Pool.pool(SqlConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
static Pool |
Pool.pool(io.vertx.core.Vertx vertx,
SqlConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
static void |
PoolOptionsConverter.toJson(PoolOptions obj,
io.vertx.core.json.JsonObject json) |
static void |
PoolOptionsConverter.toJson(PoolOptions obj,
Map<String,Object> json) |
Constructor and Description |
---|
PoolOptions(PoolOptions other) |
Modifier and Type | Method and Description |
---|---|
Pool |
Driver.createPool(SqlConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
Pool |
Driver.createPool(io.vertx.core.Vertx vertx,
SqlConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
Copyright © 2020 Eclipse. All rights reserved.