Modifier and Type | Method and Description |
---|---|
static DB2Pool |
pool(DB2ConnectOptions connectOptions,
PoolOptions poolOptions)
Create a connection pool to the DB2 server configured with the given
connectOptions and poolOptions . |
static DB2Pool |
pool(String connectionUri)
Like
pool(String, PoolOptions) with a default poolOptions . |
static DB2Pool |
pool(String connectionUri,
PoolOptions poolOptions)
|
static DB2Pool |
pool(Vertx vertx,
DB2ConnectOptions connectOptions,
PoolOptions poolOptions)
Like
pool(DB2ConnectOptions, PoolOptions) with a specific
Vertx instance. |
static DB2Pool |
pool(Vertx vertx,
String connectionUri)
Like
pool(Vertx, String,PoolOptions) with a default
poolOptions .. |
static DB2Pool |
pool(Vertx vertx,
String connectionUri,
PoolOptions poolOptions)
|
close, getConnection, getConnection, pool, pool, pool, preparedQuery, query, withConnection, withConnection, withTransaction, withTransaction
static DB2Pool pool(String connectionUri)
pool(String, PoolOptions)
with a default poolOptions
.static DB2Pool pool(String connectionUri, PoolOptions poolOptions)
static DB2Pool pool(Vertx vertx, String connectionUri)
pool(Vertx, String,PoolOptions)
with a default
poolOptions
..static DB2Pool pool(Vertx vertx, String connectionUri, PoolOptions poolOptions)
static DB2Pool pool(DB2ConnectOptions connectOptions, PoolOptions poolOptions)
connectOptions
and poolOptions
.connectOptions
- the options for the connectionpoolOptions
- the options for creating the poolstatic DB2Pool pool(Vertx vertx, DB2ConnectOptions connectOptions, PoolOptions poolOptions)
pool(DB2ConnectOptions, PoolOptions)
with a specific
Vertx
instance.Copyright © 2021 Eclipse. All rights reserved.