public interface MySQLPool extends Pool
pool of MySQL Connections.| Modifier and Type | Method and Description |
|---|---|
static MySQLPool |
pool(MySQLConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the MySQL server configured with the given
connectOptions and poolOptions. |
static MySQLPool |
pool(String connectionUri)
Like
pool(String, PoolOptions) with a default poolOptions. |
static MySQLPool |
pool(String connectionUri,
PoolOptions poolOptions)
|
static MySQLPool |
pool(Vertx vertx,
MySQLConnectOptions connectOptions,
PoolOptions poolOptions)
Like
pool(MySQLConnectOptions, PoolOptions) with a specific Vertx instance. |
static MySQLPool |
pool(Vertx vertx,
String connectionUri)
Like
pool(Vertx, String,PoolOptions) with a default poolOptions.. |
static MySQLPool |
pool(Vertx vertx,
String connectionUri,
PoolOptions poolOptions)
|
close, getConnection, getConnection, pool, pool, pool, preparedQuery, query, withConnection, withConnection, withTransaction, withTransactionstatic MySQLPool pool(String connectionUri)
pool(String, PoolOptions) with a default poolOptions.static MySQLPool pool(String connectionUri, PoolOptions poolOptions)
static MySQLPool pool(Vertx vertx, String connectionUri)
pool(Vertx, String,PoolOptions) with a default poolOptions..static MySQLPool pool(Vertx vertx, String connectionUri, PoolOptions poolOptions)
static MySQLPool pool(MySQLConnectOptions connectOptions, PoolOptions poolOptions)
connectOptions and poolOptions.connectOptions - the options for the connectionpoolOptions - the options for creating the poolstatic MySQLPool pool(Vertx vertx, MySQLConnectOptions connectOptions, PoolOptions poolOptions)
pool(MySQLConnectOptions, PoolOptions) with a specific Vertx instance.Copyright © 2021 Eclipse. All rights reserved.