Package | Description |
---|---|
io.vertx.mysqlclient | |
io.vertx.pgclient | |
io.vertx.reactivex.mysqlclient | |
io.vertx.reactivex.pgclient | |
io.vertx.rxjava.mysqlclient | |
io.vertx.rxjava.pgclient | |
io.vertx.sqlclient |
Modifier and Type | Method and Description |
---|---|
static MySQLPool |
MySQLPool.pool(MySQLConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the MySQL server configured with the given
connectOptions and poolOptions . |
static MySQLPool |
MySQLPool.pool(String connectionUri,
PoolOptions poolOptions)
|
static MySQLPool |
MySQLPool.pool(Vertx vertx,
MySQLConnectOptions connectOptions,
PoolOptions poolOptions)
Like
MySQLPool.pool(MySQLConnectOptions, PoolOptions) with a specific Vertx instance. |
static MySQLPool |
MySQLPool.pool(Vertx vertx,
String connectionUri,
PoolOptions poolOptions)
Like
MySQLPool.pool(Vertx, MySQLConnectOptions, PoolOptions) with connectOptions build from connectionUri . |
Modifier and Type | Method and Description |
---|---|
static PgPool |
PgPool.pool(PgConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
static PgPool |
PgPool.pool(PoolOptions poolOptions)
Like
PgPool.pool(PgConnectOptions, PoolOptions) with connectOptions build from the environment variables. |
static PgPool |
PgPool.pool(String connectionUri,
PoolOptions poolOptions)
|
static PgPool |
PgPool.pool(Vertx vertx,
PgConnectOptions connectOptions,
PoolOptions poolOptions)
Like
PgPool.pool(PgConnectOptions, PoolOptions) with a specific Vertx instance. |
static PgPool |
PgPool.pool(Vertx vertx,
PoolOptions poolOptions)
Like
PgPool.pool(Vertx, PgConnectOptions, PoolOptions) with connectOptions build from the environment variables. |
static PgPool |
PgPool.pool(Vertx vertx,
String connectionUri,
PoolOptions poolOptions)
Like
PgPool.pool(Vertx, PgConnectOptions, PoolOptions) with connectOptions build from connectionUri . |
Modifier and Type | Method and Description |
---|---|
static MySQLPool |
MySQLPool.pool(MySQLConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the MySQL server configured with the given
connectOptions and poolOptions . |
static MySQLPool |
MySQLPool.pool(String connectionUri,
PoolOptions poolOptions)
|
static MySQLPool |
MySQLPool.pool(Vertx vertx,
MySQLConnectOptions connectOptions,
PoolOptions poolOptions)
Like
MySQLPool.pool(java.lang.String) with a specific instance. |
static MySQLPool |
MySQLPool.pool(Vertx vertx,
String connectionUri,
PoolOptions poolOptions)
|
Modifier and Type | Method and Description |
---|---|
static PgPool |
PgPool.pool(PgConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
static PgPool |
PgPool.pool(PoolOptions poolOptions)
Like
PgPool.pool() with connectOptions build from the environment variables. |
static PgPool |
PgPool.pool(String connectionUri,
PoolOptions poolOptions)
|
static PgPool |
PgPool.pool(Vertx vertx,
PgConnectOptions connectOptions,
PoolOptions poolOptions)
Like
PgPool.pool() with a specific instance. |
static PgPool |
PgPool.pool(Vertx vertx,
PoolOptions poolOptions)
Like
PgPool.pool() with connectOptions build from the environment variables. |
static PgPool |
PgPool.pool(Vertx vertx,
String connectionUri,
PoolOptions poolOptions)
|
Modifier and Type | Method and Description |
---|---|
static MySQLPool |
MySQLPool.pool(MySQLConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the MySQL server configured with the given
connectOptions and poolOptions . |
static MySQLPool |
MySQLPool.pool(String connectionUri,
PoolOptions poolOptions)
|
static MySQLPool |
MySQLPool.pool(Vertx vertx,
MySQLConnectOptions connectOptions,
PoolOptions poolOptions)
Like
MySQLPool.pool(java.lang.String) with a specific instance. |
static MySQLPool |
MySQLPool.pool(Vertx vertx,
String connectionUri,
PoolOptions poolOptions)
|
Modifier and Type | Method and Description |
---|---|
static PgPool |
PgPool.pool(PgConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the database configured with the given
connectOptions and poolOptions . |
static PgPool |
PgPool.pool(PoolOptions poolOptions)
Like
PgPool.pool() with connectOptions build from the environment variables. |
static PgPool |
PgPool.pool(String connectionUri,
PoolOptions poolOptions)
|
static PgPool |
PgPool.pool(Vertx vertx,
PgConnectOptions connectOptions,
PoolOptions poolOptions)
Like
PgPool.pool() with a specific instance. |
static PgPool |
PgPool.pool(Vertx vertx,
PoolOptions poolOptions)
Like
PgPool.pool() with connectOptions build from the environment variables. |
static PgPool |
PgPool.pool(Vertx vertx,
String connectionUri,
PoolOptions poolOptions)
|
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 void |
PoolOptionsConverter.toJson(PoolOptions obj,
JsonObject json) |
static void |
PoolOptionsConverter.toJson(PoolOptions obj,
Map<String,Object> json) |
Constructor and Description |
---|
PoolOptions(PoolOptions other) |
Copyright © 2020 Eclipse. All rights reserved.