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