Modifier and Type | Method and Description |
---|---|
static SqlClient |
DB2Pool.client(DB2ConnectOptions database,
PoolOptions options)
Deprecated.
Create a pooled client to the DB2
database configured with the given options . |
static SqlClient |
DB2Pool.client(List<DB2ConnectOptions> databases,
PoolOptions options)
Deprecated.
Create a client backed by a connection pool to the DB2
databases with round-robin selection. |
static SqlClient |
DB2Pool.client(String connectionUri,
PoolOptions options)
Deprecated.
|
static SqlClient |
DB2Pool.client(Vertx vertx,
DB2ConnectOptions database,
PoolOptions options)
Deprecated.
Like
DB2Pool.client(DB2ConnectOptions, PoolOptions) with a specific
Vertx instance. |
static SqlClient |
DB2Pool.client(Vertx vertx,
List<DB2ConnectOptions> databases,
PoolOptions options)
Deprecated.
Like
DB2Pool.client(List, PoolOptions) with a specific
Vertx instance. |
static SqlClient |
DB2Pool.client(Vertx vertx,
String connectionUri,
PoolOptions options)
Deprecated.
|
static DB2Pool |
DB2Pool.pool(DB2ConnectOptions database,
PoolOptions options)
Deprecated.
Create a connection pool to the DB2
database configured with the given options . |
static DB2Pool |
DB2Pool.pool(List<DB2ConnectOptions> databases,
PoolOptions options)
Deprecated.
Create a connection pool to the DB2
databases with round-robin selection. |
static DB2Pool |
DB2Pool.pool(String connectionUri,
PoolOptions options)
Deprecated.
|
static DB2Pool |
DB2Pool.pool(java.util.function.Supplier<Future<DB2ConnectOptions>> databases,
PoolOptions poolOptions)
Deprecated.
Create a connection pool to the DB2
databases . |
static DB2Pool |
DB2Pool.pool(Vertx vertx,
DB2ConnectOptions database,
PoolOptions options)
Deprecated.
Like
DB2Pool.pool(DB2ConnectOptions, PoolOptions) with a specific
Vertx instance. |
static DB2Pool |
DB2Pool.pool(Vertx vertx,
List<DB2ConnectOptions> databases,
PoolOptions options)
Deprecated.
Like
DB2Pool.pool(List, PoolOptions) with a specific
Vertx instance. |
static DB2Pool |
DB2Pool.pool(Vertx vertx,
String connectionUri,
PoolOptions options)
Deprecated.
|
static DB2Pool |
DB2Pool.pool(Vertx vertx,
java.util.function.Supplier<Future<DB2ConnectOptions>> databases,
PoolOptions poolOptions)
Deprecated.
Like
DB2Pool.pool(Supplier, PoolOptions) with a specific Vertx instance. |
Modifier and Type | Method and Description |
---|---|
Pool |
DB2Driver.newPool(Vertx vertx,
java.util.function.Supplier<? extends Future<? extends SqlConnectOptions>> databases,
PoolOptions options,
io.vertx.core.impl.CloseFuture closeFuture) |
Modifier and Type | Method and Description |
---|---|
default JsonObject |
DataSourceProvider.toJson(JDBCConnectOptions connectOptions,
PoolOptions poolOptions)
Transforms the
JDBCConnectOptions and PoolOptions into a config suitable to be passed
as DataSourceProvider.create(JsonObject) argument. |
Modifier and Type | Method and Description |
---|---|
static JDBCPool |
JDBCPool.pool(Vertx vertx,
JDBCConnectOptions connectOptions,
PoolOptions poolOptions)
Create a JDBC pool which maintains its own data source and the
default data source provider . |
static JDBCPool |
JDBCPool.pool(Vertx vertx,
JDBCConnectOptions connectOptions,
PoolOptions poolOptions,
DataSourceProvider provider)
Create a JDBC pool which maintains its own data source, with the specified provider
|
Modifier and Type | Method and Description |
---|---|
static MSSQLPool |
MSSQLPool.pool(List<MSSQLConnectOptions> databases,
PoolOptions options)
Deprecated.
Create a connection pool to the SQL Server
databases with round-robin selection. |
static MSSQLPool |
MSSQLPool.pool(MSSQLConnectOptions database,
PoolOptions options)
Deprecated.
Create a connection pool to the SQL server
database configured with the given options . |
static MSSQLPool |
MSSQLPool.pool(String connectionUri,
PoolOptions options)
Deprecated.
|
static MSSQLPool |
MSSQLPool.pool(java.util.function.Supplier<Future<MSSQLConnectOptions>> databases,
PoolOptions options)
Deprecated.
Create a connection pool to the SQL Server
databases . |
static MSSQLPool |
MSSQLPool.pool(Vertx vertx,
List<MSSQLConnectOptions> databases,
PoolOptions options)
Deprecated.
Like
MSSQLPool.pool(List, PoolOptions) with a specific Vertx instance. |
static MSSQLPool |
MSSQLPool.pool(Vertx vertx,
MSSQLConnectOptions database,
PoolOptions options)
Deprecated.
Like
MSSQLPool.pool(MSSQLConnectOptions, PoolOptions) with a specific Vertx instance. |
static MSSQLPool |
MSSQLPool.pool(Vertx vertx,
String connectionUri,
PoolOptions options)
Deprecated.
Like
MSSQLPool.pool(Vertx, MSSQLConnectOptions, PoolOptions) with database built from connectionUri . |
static MSSQLPool |
MSSQLPool.pool(Vertx vertx,
java.util.function.Supplier<Future<MSSQLConnectOptions>> databases,
PoolOptions options)
Deprecated.
Like
MSSQLPool.pool(Supplier, PoolOptions) with a specific Vertx instance. |
Modifier and Type | Method and Description |
---|---|
Pool |
MSSQLDriver.newPool(Vertx vertx,
java.util.function.Supplier<? extends Future<? extends SqlConnectOptions>> databases,
PoolOptions options,
io.vertx.core.impl.CloseFuture closeFuture) |
Modifier and Type | Method and Description |
---|---|
static SqlClient |
MySQLPool.client(List<MySQLConnectOptions> databases,
PoolOptions options)
Deprecated.
Create a client backed by a connection pool to the MySQL
databases with round-robin selection. |
static SqlClient |
MySQLPool.client(MySQLConnectOptions connectOptions,
PoolOptions poolOptions)
Deprecated.
Create a client backed by a connection pool to the database configured with the given
connectOptions and poolOptions . |
static SqlClient |
MySQLPool.client(String connectionUri,
PoolOptions poolOptions)
Deprecated.
Like
MySQLPool.client(MySQLConnectOptions, PoolOptions) with connectOptions build from connectionUri . |
static SqlClient |
MySQLPool.client(java.util.function.Supplier<Future<MySQLConnectOptions>> databases,
PoolOptions options)
Deprecated.
Create a client backed by a connection pool to the MySQL
databases . |
static SqlClient |
MySQLPool.client(Vertx vertx,
List<MySQLConnectOptions> mySQLConnectOptions,
PoolOptions options)
Deprecated.
Like
MySQLPool.client(List, PoolOptions) with a specific Vertx instance. |
static SqlClient |
MySQLPool.client(Vertx vertx,
MySQLConnectOptions connectOptions,
PoolOptions poolOptions)
Deprecated.
Like
MySQLPool.client(MySQLConnectOptions, PoolOptions) with a specific Vertx instance. |
static SqlClient |
MySQLPool.client(Vertx vertx,
String connectionUri,
PoolOptions poolOptions)
Deprecated.
Like
MySQLPool.client(Vertx, MySQLConnectOptions, PoolOptions) with connectOptions build from connectionUri . |
static SqlClient |
MySQLPool.client(Vertx vertx,
java.util.function.Supplier<Future<MySQLConnectOptions>> mySQLConnectOptions,
PoolOptions options)
Deprecated.
Like
MySQLPool.client(Supplier, PoolOptions) with a specific Vertx instance. |
static MySQLPool |
MySQLPool.pool(List<MySQLConnectOptions> databases,
PoolOptions options)
Deprecated.
Create a connection pool to the MySQL
databases with round-robin selection. |
static MySQLPool |
MySQLPool.pool(MySQLConnectOptions database,
PoolOptions options)
Deprecated.
Create a connection pool to the MySQL
server configured with the given options . |
static MySQLPool |
MySQLPool.pool(String connectionUri,
PoolOptions options)
Deprecated.
|
static MySQLPool |
MySQLPool.pool(java.util.function.Supplier<Future<MySQLConnectOptions>> databases,
PoolOptions options)
Deprecated.
Create a connection pool to the MySQL
databases . |
static MySQLPool |
MySQLPool.pool(Vertx vertx,
List<MySQLConnectOptions> databases,
PoolOptions options)
Deprecated.
Like
MySQLPool.pool(List, PoolOptions) with a specific Vertx instance. |
static MySQLPool |
MySQLPool.pool(Vertx vertx,
MySQLConnectOptions database,
PoolOptions options)
Deprecated.
Like
MySQLPool.pool(MySQLConnectOptions, PoolOptions) with a specific Vertx instance. |
static MySQLPool |
MySQLPool.pool(Vertx vertx,
String connectionUri,
PoolOptions options)
Deprecated.
Like
MySQLPool.pool(Vertx, MySQLConnectOptions, PoolOptions) with database built from connectionUri . |
static MySQLPool |
MySQLPool.pool(Vertx vertx,
java.util.function.Supplier<Future<MySQLConnectOptions>> databases,
PoolOptions options)
Deprecated.
Like
MySQLPool.pool(Supplier, PoolOptions) with a specific Vertx instance. |
Modifier and Type | Method and Description |
---|---|
Pool |
MySQLDriver.newPool(Vertx vertx,
java.util.function.Supplier<? extends Future<? extends SqlConnectOptions>> databases,
PoolOptions options,
io.vertx.core.impl.CloseFuture closeFuture) |
Modifier and Type | Method and Description |
---|---|
static SqlClient |
PgPool.client(List<PgConnectOptions> databases,
PoolOptions options)
Deprecated.
Create a client backed by a connection pool to the PostgreSQL
databases with round-robin selection. |
static SqlClient |
PgPool.client(PgConnectOptions database,
PoolOptions options)
Deprecated.
Create a client backed by a connection pool to the PostgreSQL
database configured with the given options . |
static SqlClient |
PgPool.client(PoolOptions options)
Deprecated.
Like
PgPool.client(PgConnectOptions, PoolOptions) with database retrieved from the environment variables. |
static SqlClient |
PgPool.client(String connectionUri,
PoolOptions options)
Deprecated.
|
static SqlClient |
PgPool.client(java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions options)
Deprecated.
Create a client backed by a connection pool to the PostgreSQL
databases . |
static SqlClient |
PgPool.client(Vertx vertx,
List<PgConnectOptions> databases,
PoolOptions options)
Deprecated.
Like
PgPool.client(List, PoolOptions) with a specific Vertx instance. |
static SqlClient |
PgPool.client(Vertx vertx,
PgConnectOptions database,
PoolOptions options)
Deprecated.
Like
PgPool.client(PgConnectOptions, PoolOptions) with a specific Vertx instance. |
static SqlClient |
PgPool.client(Vertx vertx,
PoolOptions poolOptions)
Deprecated.
Like
PgPool.client(Vertx, PgConnectOptions, PoolOptions) with database retrieved from the environment variables. |
static SqlClient |
PgPool.client(Vertx vertx,
String connectionUri,
PoolOptions options)
Deprecated.
|
static SqlClient |
PgPool.client(Vertx vertx,
java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions options)
Deprecated.
Like
PgPool.client(Supplier, PoolOptions) with a specific Vertx instance. |
static PgPool |
PgPool.pool(List<PgConnectOptions> databases,
PoolOptions poolOptions)
Deprecated.
Create a connection pool to the PostgreSQL
databases with round-robin selection. |
static PgPool |
PgPool.pool(PgConnectOptions database,
PoolOptions options)
Deprecated.
Create a connection pool to the PostgreSQL
database configured with the given options . |
static PgPool |
PgPool.pool(PoolOptions options)
Deprecated.
Like
PgPool.pool(PgConnectOptions, PoolOptions) with connectOptions build from the environment variables. |
static PgPool |
PgPool.pool(String connectionUri,
PoolOptions options)
Deprecated.
|
static PgPool |
PgPool.pool(java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions poolOptions)
Deprecated.
Create a connection pool to the PostgreSQL
databases . |
static PgPool |
PgPool.pool(Vertx vertx,
List<PgConnectOptions> databases,
PoolOptions poolOptions)
Deprecated.
Like
PgPool.pool(List, PoolOptions) with a specific Vertx instance. |
static PgPool |
PgPool.pool(Vertx vertx,
PgConnectOptions database,
PoolOptions options)
Deprecated.
Like
PgPool.pool(PgConnectOptions, PoolOptions) with a specific Vertx instance. |
static PgPool |
PgPool.pool(Vertx vertx,
PoolOptions options)
Deprecated.
Like
PgPool.pool(Vertx, PgConnectOptions, PoolOptions) with the database retrieved from the environment variables. |
static PgPool |
PgPool.pool(Vertx vertx,
String connectionUri,
PoolOptions poolOptions)
Deprecated.
Like
PgPool.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)
Deprecated.
Like
PgPool.pool(Supplier, PoolOptions) with a specific Vertx instance. |
Modifier and Type | Method and Description |
---|---|
Pool |
PgDriver.newPool(Vertx vertx,
java.util.function.Supplier<? extends Future<? extends SqlConnectOptions>> databases,
PoolOptions options,
io.vertx.core.impl.CloseFuture closeFuture) |
Modifier and Type | Method and Description |
---|---|
static SqlClient |
DB2Pool.client(DB2ConnectOptions database,
PoolOptions options)
Create a pooled client to the DB2
database configured with the given options . |
static SqlClient |
DB2Pool.client(List<DB2ConnectOptions> databases,
PoolOptions options)
Create a client backed by a connection pool to the DB2
databases with round-robin selection. |
static SqlClient |
DB2Pool.client(String connectionUri,
PoolOptions options)
|
static SqlClient |
DB2Pool.client(Vertx vertx,
DB2ConnectOptions database,
PoolOptions options)
Like
DB2Pool.client(java.lang.String) with a specific
instance. |
static SqlClient |
DB2Pool.client(Vertx vertx,
List<DB2ConnectOptions> databases,
PoolOptions options)
Like
DB2Pool.client(java.lang.String) with a specific
instance. |
static SqlClient |
DB2Pool.client(Vertx vertx,
String connectionUri,
PoolOptions options)
|
static DB2Pool |
DB2Pool.pool(DB2ConnectOptions database,
PoolOptions options)
Create a connection pool to the DB2
database configured with the given options . |
static DB2Pool |
DB2Pool.pool(List<DB2ConnectOptions> databases,
PoolOptions options)
Create a connection pool to the DB2
databases with round-robin selection. |
static DB2Pool |
DB2Pool.pool(String connectionUri,
PoolOptions options)
|
static DB2Pool |
DB2Pool.pool(java.util.function.Supplier<Future<DB2ConnectOptions>> databases,
PoolOptions poolOptions)
Create a connection pool to the DB2
databases . |
static DB2Pool |
DB2Pool.pool(Vertx vertx,
DB2ConnectOptions database,
PoolOptions options)
Like
DB2Pool.pool(java.lang.String) with a specific
instance. |
static DB2Pool |
DB2Pool.pool(Vertx vertx,
List<DB2ConnectOptions> databases,
PoolOptions options)
Like
DB2Pool.pool(java.lang.String) with a specific
instance. |
static DB2Pool |
DB2Pool.pool(Vertx vertx,
String connectionUri,
PoolOptions options)
|
static DB2Pool |
DB2Pool.pool(Vertx vertx,
java.util.function.Supplier<Future<DB2ConnectOptions>> databases,
PoolOptions poolOptions)
Like
DB2Pool.pool(java.lang.String) with a specific instance. |
Modifier and Type | Method and Description |
---|---|
static JDBCPool |
JDBCPool.pool(Vertx vertx,
JDBCConnectOptions connectOptions,
PoolOptions poolOptions)
Create a JDBC pool which maintains its own data source and the
#DEFAULT_DATA_SOURCE_PROVIDER default data source provider . |
static JDBCPool |
JDBCPool.pool(Vertx vertx,
JDBCConnectOptions connectOptions,
PoolOptions poolOptions,
DataSourceProvider provider)
Create a JDBC pool which maintains its own data source, with the specified provider
|
Modifier and Type | Method and Description |
---|---|
static MSSQLPool |
MSSQLPool.pool(List<MSSQLConnectOptions> databases,
PoolOptions options)
Create a connection pool to the SQL Server
databases with round-robin selection. |
static MSSQLPool |
MSSQLPool.pool(MSSQLConnectOptions database,
PoolOptions options)
Create a connection pool to the SQL server
database configured with the given options . |
static MSSQLPool |
MSSQLPool.pool(String connectionUri,
PoolOptions options)
|
static MSSQLPool |
MSSQLPool.pool(java.util.function.Supplier<Future<MSSQLConnectOptions>> databases,
PoolOptions options)
Create a connection pool to the SQL Server
databases . |
static MSSQLPool |
MSSQLPool.pool(Vertx vertx,
List<MSSQLConnectOptions> databases,
PoolOptions options)
Like
MSSQLPool.pool(java.lang.String) with a specific instance. |
static MSSQLPool |
MSSQLPool.pool(Vertx vertx,
MSSQLConnectOptions database,
PoolOptions options)
Like
MSSQLPool.pool(java.lang.String) with a specific instance. |
static MSSQLPool |
MSSQLPool.pool(Vertx vertx,
String connectionUri,
PoolOptions options)
|
static MSSQLPool |
MSSQLPool.pool(Vertx vertx,
java.util.function.Supplier<Future<MSSQLConnectOptions>> databases,
PoolOptions options)
Like
MSSQLPool.pool(java.lang.String) with a specific instance. |
Modifier and Type | Method and Description |
---|---|
static SqlClient |
MySQLPool.client(List<MySQLConnectOptions> databases,
PoolOptions options)
Create a client backed by a connection pool to the MySQL
databases with round-robin selection. |
static SqlClient |
MySQLPool.client(MySQLConnectOptions connectOptions,
PoolOptions poolOptions)
Create a client backed by a connection pool to the database configured with the given
connectOptions and poolOptions . |
static SqlClient |
MySQLPool.client(String connectionUri,
PoolOptions poolOptions)
|
static SqlClient |
MySQLPool.client(java.util.function.Supplier<Future<MySQLConnectOptions>> databases,
PoolOptions options)
Create a client backed by a connection pool to the MySQL
databases . |
static SqlClient |
MySQLPool.client(Vertx vertx,
List<MySQLConnectOptions> mySQLConnectOptions,
PoolOptions options)
Like
MySQLPool.client(java.lang.String) with a specific instance. |
static SqlClient |
MySQLPool.client(Vertx vertx,
MySQLConnectOptions connectOptions,
PoolOptions poolOptions)
Like
MySQLPool.client(java.lang.String) with a specific instance. |
static SqlClient |
MySQLPool.client(Vertx vertx,
String connectionUri,
PoolOptions poolOptions)
|
static SqlClient |
MySQLPool.client(Vertx vertx,
java.util.function.Supplier<Future<MySQLConnectOptions>> mySQLConnectOptions,
PoolOptions options)
Like
MySQLPool.client(java.lang.String) with a specific instance. |
static MySQLPool |
MySQLPool.pool(List<MySQLConnectOptions> databases,
PoolOptions options)
Create a connection pool to the MySQL
databases with round-robin selection. |
static MySQLPool |
MySQLPool.pool(MySQLConnectOptions database,
PoolOptions options)
Create a connection pool to the MySQL
server configured with the given options . |
static MySQLPool |
MySQLPool.pool(String connectionUri,
PoolOptions options)
|
static MySQLPool |
MySQLPool.pool(java.util.function.Supplier<Future<MySQLConnectOptions>> databases,
PoolOptions options)
Create a connection pool to the MySQL
databases . |
static MySQLPool |
MySQLPool.pool(Vertx vertx,
List<MySQLConnectOptions> databases,
PoolOptions options)
Like
MySQLPool.pool(java.lang.String) with a specific instance. |
static MySQLPool |
MySQLPool.pool(Vertx vertx,
MySQLConnectOptions database,
PoolOptions options)
Like
MySQLPool.pool(java.lang.String) with a specific instance. |
static MySQLPool |
MySQLPool.pool(Vertx vertx,
String connectionUri,
PoolOptions options)
|
static MySQLPool |
MySQLPool.pool(Vertx vertx,
java.util.function.Supplier<Future<MySQLConnectOptions>> databases,
PoolOptions options)
Like
MySQLPool.pool(java.lang.String) with a specific instance. |
Modifier and Type | Method and Description |
---|---|
static OraclePool |
OraclePool.pool(io.vertx.oracleclient.OracleConnectOptions connectOptions,
PoolOptions poolOptions) |
static OraclePool |
OraclePool.pool(java.util.function.Supplier<Future<io.vertx.oracleclient.OracleConnectOptions>> databases,
PoolOptions poolOptions)
Create a connection pool to the Oracle
databases . |
static OraclePool |
OraclePool.pool(Vertx vertx,
io.vertx.oracleclient.OracleConnectOptions connectOptions,
PoolOptions poolOptions)
Like
OraclePool.pool(io.vertx.oracleclient.OracleConnectOptions, io.vertx.sqlclient.PoolOptions) with a specific instance. |
static OraclePool |
OraclePool.pool(Vertx vertx,
java.util.function.Supplier<Future<io.vertx.oracleclient.OracleConnectOptions>> databases,
PoolOptions poolOptions)
Like
OraclePool.pool(io.vertx.oracleclient.OracleConnectOptions, io.vertx.sqlclient.PoolOptions) with a specific instance. |
Modifier and Type | Method and Description |
---|---|
static SqlClient |
PgPool.client(List<PgConnectOptions> databases,
PoolOptions options)
Create a client backed by a connection pool to the PostgreSQL
databases with round-robin selection. |
static SqlClient |
PgPool.client(PgConnectOptions database,
PoolOptions options)
Create a client backed by a connection pool to the PostgreSQL
database configured with the given options . |
static SqlClient |
PgPool.client(PoolOptions options)
Like
PgPool.client() with database retrieved from the environment variables. |
static SqlClient |
PgPool.client(String connectionUri,
PoolOptions options)
|
static SqlClient |
PgPool.client(java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions options)
Create a client backed by a connection pool to the PostgreSQL
databases . |
static SqlClient |
PgPool.client(Vertx vertx,
List<PgConnectOptions> databases,
PoolOptions options)
Like
PgPool.client() with a specific instance. |
static SqlClient |
PgPool.client(Vertx vertx,
PgConnectOptions database,
PoolOptions options)
Like
PgPool.client() with a specific instance. |
static SqlClient |
PgPool.client(Vertx vertx,
PoolOptions poolOptions)
Like
PgPool.client() with database retrieved from the environment variables. |
static SqlClient |
PgPool.client(Vertx vertx,
String connectionUri,
PoolOptions options)
|
static SqlClient |
PgPool.client(Vertx vertx,
java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions options)
Like
PgPool.client() with a specific instance. |
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
PgPool.pool() with connectOptions build from the environment variables. |
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
PgPool.pool() with a specific instance. |
static PgPool |
PgPool.pool(Vertx vertx,
PgConnectOptions database,
PoolOptions options)
Like
PgPool.pool() with a specific instance. |
static PgPool |
PgPool.pool(Vertx vertx,
PoolOptions options)
Like
PgPool.pool() with the database retrieved from the environment variables. |
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
PgPool.pool() with a specific instance. |
Modifier and Type | Method and Description |
---|---|
static Pool |
Pool.pool(SqlConnectOptions database,
PoolOptions options)
Like
Pool.pool(io.vertx.sqlclient.SqlConnectOptions) 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 . |
ClientBuilder<C> |
ClientBuilder.with(PoolOptions options)
Configure the client with the given pool
options |
Modifier and Type | Method and Description |
---|---|
static SqlClient |
DB2Pool.client(DB2ConnectOptions database,
PoolOptions options)
Create a pooled client to the DB2
database configured with the given options . |
static SqlClient |
DB2Pool.client(List<DB2ConnectOptions> databases,
PoolOptions options)
Create a client backed by a connection pool to the DB2
databases with round-robin selection. |
static SqlClient |
DB2Pool.client(String connectionUri,
PoolOptions options)
|
static SqlClient |
DB2Pool.client(Vertx vertx,
DB2ConnectOptions database,
PoolOptions options)
Like
DB2Pool.client(java.lang.String) with a specific
instance. |
static SqlClient |
DB2Pool.client(Vertx vertx,
List<DB2ConnectOptions> databases,
PoolOptions options)
Like
DB2Pool.client(java.lang.String) with a specific
instance. |
static SqlClient |
DB2Pool.client(Vertx vertx,
String connectionUri,
PoolOptions options)
|
static DB2Pool |
DB2Pool.pool(DB2ConnectOptions database,
PoolOptions options)
Create a connection pool to the DB2
database configured with the given options . |
static DB2Pool |
DB2Pool.pool(List<DB2ConnectOptions> databases,
PoolOptions options)
Create a connection pool to the DB2
databases with round-robin selection. |
static DB2Pool |
DB2Pool.pool(String connectionUri,
PoolOptions options)
|
static DB2Pool |
DB2Pool.pool(java.util.function.Supplier<Future<DB2ConnectOptions>> databases,
PoolOptions poolOptions)
Create a connection pool to the DB2
databases . |
static DB2Pool |
DB2Pool.pool(Vertx vertx,
DB2ConnectOptions database,
PoolOptions options)
Like
DB2Pool.pool(java.lang.String) with a specific
instance. |
static DB2Pool |
DB2Pool.pool(Vertx vertx,
List<DB2ConnectOptions> databases,
PoolOptions options)
Like
DB2Pool.pool(java.lang.String) with a specific
instance. |
static DB2Pool |
DB2Pool.pool(Vertx vertx,
String connectionUri,
PoolOptions options)
|
static DB2Pool |
DB2Pool.pool(Vertx vertx,
java.util.function.Supplier<Future<DB2ConnectOptions>> databases,
PoolOptions poolOptions)
Like
DB2Pool.pool(java.lang.String) with a specific instance. |
Modifier and Type | Method and Description |
---|---|
static JDBCPool |
JDBCPool.pool(Vertx vertx,
JDBCConnectOptions connectOptions,
PoolOptions poolOptions)
Create a JDBC pool which maintains its own data source and the
#DEFAULT_DATA_SOURCE_PROVIDER default data source provider . |
static JDBCPool |
JDBCPool.pool(Vertx vertx,
JDBCConnectOptions connectOptions,
PoolOptions poolOptions,
DataSourceProvider provider)
Create a JDBC pool which maintains its own data source, with the specified provider
|
Modifier and Type | Method and Description |
---|---|
static MSSQLPool |
MSSQLPool.pool(List<MSSQLConnectOptions> databases,
PoolOptions options)
Create a connection pool to the SQL Server
databases with round-robin selection. |
static MSSQLPool |
MSSQLPool.pool(MSSQLConnectOptions database,
PoolOptions options)
Create a connection pool to the SQL server
database configured with the given options . |
static MSSQLPool |
MSSQLPool.pool(String connectionUri,
PoolOptions options)
|
static MSSQLPool |
MSSQLPool.pool(java.util.function.Supplier<Future<MSSQLConnectOptions>> databases,
PoolOptions options)
Create a connection pool to the SQL Server
databases . |
static MSSQLPool |
MSSQLPool.pool(Vertx vertx,
List<MSSQLConnectOptions> databases,
PoolOptions options)
Like
MSSQLPool.pool(java.lang.String) with a specific instance. |
static MSSQLPool |
MSSQLPool.pool(Vertx vertx,
MSSQLConnectOptions database,
PoolOptions options)
Like
MSSQLPool.pool(java.lang.String) with a specific instance. |
static MSSQLPool |
MSSQLPool.pool(Vertx vertx,
String connectionUri,
PoolOptions options)
|
static MSSQLPool |
MSSQLPool.pool(Vertx vertx,
java.util.function.Supplier<Future<MSSQLConnectOptions>> databases,
PoolOptions options)
Like
MSSQLPool.pool(java.lang.String) with a specific instance. |
Modifier and Type | Method and Description |
---|---|
static SqlClient |
MySQLPool.client(List<MySQLConnectOptions> databases,
PoolOptions options)
Create a client backed by a connection pool to the MySQL
databases with round-robin selection. |
static SqlClient |
MySQLPool.client(MySQLConnectOptions connectOptions,
PoolOptions poolOptions)
Create a client backed by a connection pool to the database configured with the given
connectOptions and poolOptions . |
static SqlClient |
MySQLPool.client(String connectionUri,
PoolOptions poolOptions)
|
static SqlClient |
MySQLPool.client(java.util.function.Supplier<Future<MySQLConnectOptions>> databases,
PoolOptions options)
Create a client backed by a connection pool to the MySQL
databases . |
static SqlClient |
MySQLPool.client(Vertx vertx,
List<MySQLConnectOptions> mySQLConnectOptions,
PoolOptions options)
Like
MySQLPool.client(java.lang.String) with a specific instance. |
static SqlClient |
MySQLPool.client(Vertx vertx,
MySQLConnectOptions connectOptions,
PoolOptions poolOptions)
Like
MySQLPool.client(java.lang.String) with a specific instance. |
static SqlClient |
MySQLPool.client(Vertx vertx,
String connectionUri,
PoolOptions poolOptions)
|
static SqlClient |
MySQLPool.client(Vertx vertx,
java.util.function.Supplier<Future<MySQLConnectOptions>> mySQLConnectOptions,
PoolOptions options)
Like
MySQLPool.client(java.lang.String) with a specific instance. |
static MySQLPool |
MySQLPool.pool(List<MySQLConnectOptions> databases,
PoolOptions options)
Create a connection pool to the MySQL
databases with round-robin selection. |
static MySQLPool |
MySQLPool.pool(MySQLConnectOptions database,
PoolOptions options)
Create a connection pool to the MySQL
server configured with the given options . |
static MySQLPool |
MySQLPool.pool(String connectionUri,
PoolOptions options)
|
static MySQLPool |
MySQLPool.pool(java.util.function.Supplier<Future<MySQLConnectOptions>> databases,
PoolOptions options)
Create a connection pool to the MySQL
databases . |
static MySQLPool |
MySQLPool.pool(Vertx vertx,
List<MySQLConnectOptions> databases,
PoolOptions options)
Like
MySQLPool.pool(java.lang.String) with a specific instance. |
static MySQLPool |
MySQLPool.pool(Vertx vertx,
MySQLConnectOptions database,
PoolOptions options)
Like
MySQLPool.pool(java.lang.String) with a specific instance. |
static MySQLPool |
MySQLPool.pool(Vertx vertx,
String connectionUri,
PoolOptions options)
|
static MySQLPool |
MySQLPool.pool(Vertx vertx,
java.util.function.Supplier<Future<MySQLConnectOptions>> databases,
PoolOptions options)
Like
MySQLPool.pool(java.lang.String) with a specific instance. |
Modifier and Type | Method and Description |
---|---|
static OraclePool |
OraclePool.pool(io.vertx.oracleclient.OracleConnectOptions connectOptions,
PoolOptions poolOptions) |
static OraclePool |
OraclePool.pool(java.util.function.Supplier<Future<io.vertx.oracleclient.OracleConnectOptions>> databases,
PoolOptions poolOptions)
Create a connection pool to the Oracle
databases . |
static OraclePool |
OraclePool.pool(Vertx vertx,
io.vertx.oracleclient.OracleConnectOptions connectOptions,
PoolOptions poolOptions)
Like
OraclePool.pool(io.vertx.oracleclient.OracleConnectOptions, io.vertx.sqlclient.PoolOptions) with a specific instance. |
static OraclePool |
OraclePool.pool(Vertx vertx,
java.util.function.Supplier<Future<io.vertx.oracleclient.OracleConnectOptions>> databases,
PoolOptions poolOptions)
Like
OraclePool.pool(io.vertx.oracleclient.OracleConnectOptions, io.vertx.sqlclient.PoolOptions) with a specific instance. |
Modifier and Type | Method and Description |
---|---|
static SqlClient |
PgPool.client(List<PgConnectOptions> databases,
PoolOptions options)
Create a client backed by a connection pool to the PostgreSQL
databases with round-robin selection. |
static SqlClient |
PgPool.client(PgConnectOptions database,
PoolOptions options)
Create a client backed by a connection pool to the PostgreSQL
database configured with the given options . |
static SqlClient |
PgPool.client(PoolOptions options)
Like
PgPool.client() with database retrieved from the environment variables. |
static SqlClient |
PgPool.client(String connectionUri,
PoolOptions options)
|
static SqlClient |
PgPool.client(java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions options)
Create a client backed by a connection pool to the PostgreSQL
databases . |
static SqlClient |
PgPool.client(Vertx vertx,
List<PgConnectOptions> databases,
PoolOptions options)
Like
PgPool.client() with a specific instance. |
static SqlClient |
PgPool.client(Vertx vertx,
PgConnectOptions database,
PoolOptions options)
Like
PgPool.client() with a specific instance. |
static SqlClient |
PgPool.client(Vertx vertx,
PoolOptions poolOptions)
Like
PgPool.client() with database retrieved from the environment variables. |
static SqlClient |
PgPool.client(Vertx vertx,
String connectionUri,
PoolOptions options)
|
static SqlClient |
PgPool.client(Vertx vertx,
java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions options)
Like
PgPool.client() with a specific instance. |
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
PgPool.pool() with connectOptions build from the environment variables. |
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
PgPool.pool() with a specific instance. |
static PgPool |
PgPool.pool(Vertx vertx,
PgConnectOptions database,
PoolOptions options)
Like
PgPool.pool() with a specific instance. |
static PgPool |
PgPool.pool(Vertx vertx,
PoolOptions options)
Like
PgPool.pool() with the database retrieved from the environment variables. |
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
PgPool.pool() with a specific instance. |
Modifier and Type | Method and Description |
---|---|
static Pool |
Pool.pool(SqlConnectOptions database,
PoolOptions options)
Like
Pool.pool(io.vertx.sqlclient.SqlConnectOptions) 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 . |
ClientBuilder<C> |
ClientBuilder.with(PoolOptions options)
Configure the client with the given pool
options |
Modifier and Type | Method and Description |
---|---|
static SqlClient |
DB2Pool.client(DB2ConnectOptions database,
PoolOptions options)
Create a pooled client to the DB2
database configured with the given options . |
static SqlClient |
DB2Pool.client(List<DB2ConnectOptions> databases,
PoolOptions options)
Create a client backed by a connection pool to the DB2
databases with round-robin selection. |
static SqlClient |
DB2Pool.client(String connectionUri,
PoolOptions options)
|
static SqlClient |
DB2Pool.client(Vertx vertx,
DB2ConnectOptions database,
PoolOptions options)
Like
DB2Pool.client(java.lang.String) with a specific
instance. |
static SqlClient |
DB2Pool.client(Vertx vertx,
List<DB2ConnectOptions> databases,
PoolOptions options)
Like
DB2Pool.client(java.lang.String) with a specific
instance. |
static SqlClient |
DB2Pool.client(Vertx vertx,
String connectionUri,
PoolOptions options)
|
static DB2Pool |
DB2Pool.pool(DB2ConnectOptions database,
PoolOptions options)
Create a connection pool to the DB2
database configured with the given options . |
static DB2Pool |
DB2Pool.pool(List<DB2ConnectOptions> databases,
PoolOptions options)
Create a connection pool to the DB2
databases with round-robin selection. |
static DB2Pool |
DB2Pool.pool(String connectionUri,
PoolOptions options)
|
static DB2Pool |
DB2Pool.pool(java.util.function.Supplier<Future<DB2ConnectOptions>> databases,
PoolOptions poolOptions)
Create a connection pool to the DB2
databases . |
static DB2Pool |
DB2Pool.pool(Vertx vertx,
DB2ConnectOptions database,
PoolOptions options)
Like
DB2Pool.pool(java.lang.String) with a specific
instance. |
static DB2Pool |
DB2Pool.pool(Vertx vertx,
List<DB2ConnectOptions> databases,
PoolOptions options)
Like
DB2Pool.pool(java.lang.String) with a specific
instance. |
static DB2Pool |
DB2Pool.pool(Vertx vertx,
String connectionUri,
PoolOptions options)
|
static DB2Pool |
DB2Pool.pool(Vertx vertx,
java.util.function.Supplier<Future<DB2ConnectOptions>> databases,
PoolOptions poolOptions)
Like
DB2Pool.pool(java.lang.String) with a specific instance. |
Modifier and Type | Method and Description |
---|---|
static JDBCPool |
JDBCPool.pool(Vertx vertx,
JDBCConnectOptions connectOptions,
PoolOptions poolOptions)
Create a JDBC pool which maintains its own data source and the
#DEFAULT_DATA_SOURCE_PROVIDER default data source provider . |
static JDBCPool |
JDBCPool.pool(Vertx vertx,
JDBCConnectOptions connectOptions,
PoolOptions poolOptions,
DataSourceProvider provider)
Create a JDBC pool which maintains its own data source, with the specified provider
|
Modifier and Type | Method and Description |
---|---|
static MSSQLPool |
MSSQLPool.pool(List<MSSQLConnectOptions> databases,
PoolOptions options)
Create a connection pool to the SQL Server
databases with round-robin selection. |
static MSSQLPool |
MSSQLPool.pool(MSSQLConnectOptions database,
PoolOptions options)
Create a connection pool to the SQL server
database configured with the given options . |
static MSSQLPool |
MSSQLPool.pool(String connectionUri,
PoolOptions options)
|
static MSSQLPool |
MSSQLPool.pool(java.util.function.Supplier<Future<MSSQLConnectOptions>> databases,
PoolOptions options)
Create a connection pool to the SQL Server
databases . |
static MSSQLPool |
MSSQLPool.pool(Vertx vertx,
List<MSSQLConnectOptions> databases,
PoolOptions options)
Like
MSSQLPool.pool(java.lang.String) with a specific instance. |
static MSSQLPool |
MSSQLPool.pool(Vertx vertx,
MSSQLConnectOptions database,
PoolOptions options)
Like
MSSQLPool.pool(java.lang.String) with a specific instance. |
static MSSQLPool |
MSSQLPool.pool(Vertx vertx,
String connectionUri,
PoolOptions options)
|
static MSSQLPool |
MSSQLPool.pool(Vertx vertx,
java.util.function.Supplier<Future<MSSQLConnectOptions>> databases,
PoolOptions options)
Like
MSSQLPool.pool(java.lang.String) with a specific instance. |
Modifier and Type | Method and Description |
---|---|
static SqlClient |
MySQLPool.client(List<MySQLConnectOptions> databases,
PoolOptions options)
Create a client backed by a connection pool to the MySQL
databases with round-robin selection. |
static SqlClient |
MySQLPool.client(MySQLConnectOptions connectOptions,
PoolOptions poolOptions)
Create a client backed by a connection pool to the database configured with the given
connectOptions and poolOptions . |
static SqlClient |
MySQLPool.client(String connectionUri,
PoolOptions poolOptions)
|
static SqlClient |
MySQLPool.client(java.util.function.Supplier<Future<MySQLConnectOptions>> databases,
PoolOptions options)
Create a client backed by a connection pool to the MySQL
databases . |
static SqlClient |
MySQLPool.client(Vertx vertx,
List<MySQLConnectOptions> mySQLConnectOptions,
PoolOptions options)
Like
MySQLPool.client(java.lang.String) with a specific instance. |
static SqlClient |
MySQLPool.client(Vertx vertx,
MySQLConnectOptions connectOptions,
PoolOptions poolOptions)
Like
MySQLPool.client(java.lang.String) with a specific instance. |
static SqlClient |
MySQLPool.client(Vertx vertx,
String connectionUri,
PoolOptions poolOptions)
|
static SqlClient |
MySQLPool.client(Vertx vertx,
java.util.function.Supplier<Future<MySQLConnectOptions>> mySQLConnectOptions,
PoolOptions options)
Like
MySQLPool.client(java.lang.String) with a specific instance. |
static MySQLPool |
MySQLPool.pool(List<MySQLConnectOptions> databases,
PoolOptions options)
Create a connection pool to the MySQL
databases with round-robin selection. |
static MySQLPool |
MySQLPool.pool(MySQLConnectOptions database,
PoolOptions options)
Create a connection pool to the MySQL
server configured with the given options . |
static MySQLPool |
MySQLPool.pool(String connectionUri,
PoolOptions options)
|
static MySQLPool |
MySQLPool.pool(java.util.function.Supplier<Future<MySQLConnectOptions>> databases,
PoolOptions options)
Create a connection pool to the MySQL
databases . |
static MySQLPool |
MySQLPool.pool(Vertx vertx,
List<MySQLConnectOptions> databases,
PoolOptions options)
Like
MySQLPool.pool(java.lang.String) with a specific instance. |
static MySQLPool |
MySQLPool.pool(Vertx vertx,
MySQLConnectOptions database,
PoolOptions options)
Like
MySQLPool.pool(java.lang.String) with a specific instance. |
static MySQLPool |
MySQLPool.pool(Vertx vertx,
String connectionUri,
PoolOptions options)
|
static MySQLPool |
MySQLPool.pool(Vertx vertx,
java.util.function.Supplier<Future<MySQLConnectOptions>> databases,
PoolOptions options)
Like
MySQLPool.pool(java.lang.String) with a specific instance. |
Modifier and Type | Method and Description |
---|---|
static OraclePool |
OraclePool.pool(io.vertx.oracleclient.OracleConnectOptions connectOptions,
PoolOptions poolOptions) |
static OraclePool |
OraclePool.pool(java.util.function.Supplier<Future<io.vertx.oracleclient.OracleConnectOptions>> databases,
PoolOptions poolOptions)
Create a connection pool to the Oracle
databases . |
static OraclePool |
OraclePool.pool(Vertx vertx,
io.vertx.oracleclient.OracleConnectOptions connectOptions,
PoolOptions poolOptions)
Like
OraclePool.pool(io.vertx.oracleclient.OracleConnectOptions, io.vertx.sqlclient.PoolOptions) with a specific instance. |
static OraclePool |
OraclePool.pool(Vertx vertx,
java.util.function.Supplier<Future<io.vertx.oracleclient.OracleConnectOptions>> databases,
PoolOptions poolOptions)
Like
OraclePool.pool(io.vertx.oracleclient.OracleConnectOptions, io.vertx.sqlclient.PoolOptions) with a specific instance. |
Modifier and Type | Method and Description |
---|---|
static SqlClient |
PgPool.client(List<PgConnectOptions> databases,
PoolOptions options)
Create a client backed by a connection pool to the PostgreSQL
databases with round-robin selection. |
static SqlClient |
PgPool.client(PgConnectOptions database,
PoolOptions options)
Create a client backed by a connection pool to the PostgreSQL
database configured with the given options . |
static SqlClient |
PgPool.client(PoolOptions options)
Like
PgPool.client() with database retrieved from the environment variables. |
static SqlClient |
PgPool.client(String connectionUri,
PoolOptions options)
|
static SqlClient |
PgPool.client(java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions options)
Create a client backed by a connection pool to the PostgreSQL
databases . |
static SqlClient |
PgPool.client(Vertx vertx,
List<PgConnectOptions> databases,
PoolOptions options)
Like
PgPool.client() with a specific instance. |
static SqlClient |
PgPool.client(Vertx vertx,
PgConnectOptions database,
PoolOptions options)
Like
PgPool.client() with a specific instance. |
static SqlClient |
PgPool.client(Vertx vertx,
PoolOptions poolOptions)
Like
PgPool.client() with database retrieved from the environment variables. |
static SqlClient |
PgPool.client(Vertx vertx,
String connectionUri,
PoolOptions options)
|
static SqlClient |
PgPool.client(Vertx vertx,
java.util.function.Supplier<Future<PgConnectOptions>> databases,
PoolOptions options)
Like
PgPool.client() with a specific instance. |
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
PgPool.pool() with connectOptions build from the environment variables. |
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
PgPool.pool() with a specific instance. |
static PgPool |
PgPool.pool(Vertx vertx,
PgConnectOptions database,
PoolOptions options)
Like
PgPool.pool() with a specific instance. |
static PgPool |
PgPool.pool(Vertx vertx,
PoolOptions options)
Like
PgPool.pool() with the database retrieved from the environment variables. |
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
PgPool.pool() with a specific instance. |
Modifier and Type | Method and Description |
---|---|
static Pool |
Pool.pool(SqlConnectOptions database,
PoolOptions options)
Like
Pool.pool(io.vertx.sqlclient.SqlConnectOptions) 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 . |
ClientBuilder<C> |
ClientBuilder.with(PoolOptions options)
Configure the client with the given pool
options |
Modifier and Type | Method and Description |
---|---|
PoolOptions |
PoolOptions.setConnectionTimeout(int timeout)
Set the amount of time a client will wait for a connection from the pool.
|
PoolOptions |
PoolOptions.setConnectionTimeoutUnit(TimeUnit timeoutUnit)
Set the time unit of
setConnectionTimeout(int) |
PoolOptions |
PoolOptions.setEventLoopSize(int eventLoopSize)
Set the number of event-loop the pool use.
|
PoolOptions |
PoolOptions.setIdleTimeout(int idleTimeout)
Establish an idle timeout for pooled connections, a value of zero disables the idle timeout.
|
PoolOptions |
PoolOptions.setIdleTimeoutUnit(TimeUnit idleTimeoutUnit)
Establish an idle timeout unit for pooled connections.
|
PoolOptions |
PoolOptions.setMaxLifetime(int maxLifetime)
Establish a max lifetime for pooled connections, a value of zero disables the maximum lifetime.
|
PoolOptions |
PoolOptions.setMaxLifetimeUnit(TimeUnit maxLifetimeUnit)
Establish a max lifetime unit for pooled connections.
|
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.
|
PoolOptions |
PoolOptions.setName(String name)
Set the pool name, used when the pool shared, otherwise ignored.
|
PoolOptions |
PoolOptions.setPoolCleanerPeriod(int poolCleanerPeriod)
Set the connection pool cleaner period in milli seconds, a non positive value disables expiration checks and connections
will remain in the pool until they are closed.
|
PoolOptions |
PoolOptions.setShared(boolean shared)
Set to
true to share the pool. |
Modifier and Type | Method and Description |
---|---|
static Pool |
Pool.pool(SqlConnectOptions database,
PoolOptions options)
Like
Pool.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 . |
ClientBuilder<C> |
ClientBuilder.with(PoolOptions options)
Configure the client with the given pool
options |
Constructor and Description |
---|
PoolOptions(PoolOptions other) |
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 . |
default Pool |
Driver.createPool(Vertx vertx,
java.util.function.Supplier<? extends Future<? extends SqlConnectOptions>> databases,
PoolOptions options)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
default 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 . |
Pool |
Driver.newPool(Vertx vertx,
java.util.function.Supplier<? extends Future<? 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 © 2024 Eclipse. All rights reserved.