Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<MySQLPool> |
__TYPE_ARG |
Constructor and Description |
---|
MySQLPool(MySQLPool delegate) |
MySQLPool(Object delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
MySQLPool |
getDelegate() |
int |
hashCode() |
static MySQLPool |
newInstance(MySQLPool arg) |
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(java.lang.String) with a default poolOptions . |
static MySQLPool |
pool(String connectionUri,
PoolOptions poolOptions)
|
static MySQLPool |
pool(Vertx vertx,
MySQLConnectOptions connectOptions,
PoolOptions poolOptions)
Like
pool(java.lang.String) with a specific instance. |
static MySQLPool |
pool(Vertx vertx,
String connectionUri)
Like
pool(java.lang.String) with a default poolOptions .. |
static MySQLPool |
pool(Vertx vertx,
String connectionUri,
PoolOptions poolOptions)
|
String |
toString() |
begin, close, getConnection, newInstance, pool, pool, pool, preparedQuery, query, rxBegin, rxGetConnection
newInstance
public static final io.vertx.lang.rx.TypeArg<MySQLPool> __TYPE_ARG
public MySQLPool(MySQLPool delegate)
public MySQLPool(Object delegate)
public MySQLPool getDelegate()
getDelegate
in class Pool
public static MySQLPool pool(String connectionUri)
pool(java.lang.String)
with a default poolOptions
.connectionUri
- public static MySQLPool pool(String connectionUri, PoolOptions poolOptions)
connectionUri
- poolOptions
- public static MySQLPool pool(Vertx vertx, String connectionUri)
pool(java.lang.String)
with a default poolOptions
..vertx
- connectionUri
- public static MySQLPool pool(Vertx vertx, String connectionUri, PoolOptions poolOptions)
vertx
- connectionUri
- poolOptions
- public static MySQLPool pool(MySQLConnectOptions connectOptions, PoolOptions poolOptions)
connectOptions
and poolOptions
.connectOptions
- the options for the connectionpoolOptions
- the options for creating the poolpublic static MySQLPool pool(Vertx vertx, MySQLConnectOptions connectOptions, PoolOptions poolOptions)
pool(java.lang.String)
with a specific instance.vertx
- connectOptions
- poolOptions
- Copyright © 2023 Eclipse. All rights reserved.