Package io.vertx.oracleclient
Interface OraclePool
-
-
Method Summary
-
Methods inherited from interface io.vertx.sqlclient.Pool
close, getConnection, getConnection, preparedQuery, query, size, withConnection, withConnection, withTransaction, withTransaction, withTransaction, withTransaction
-
Methods inherited from interface io.vertx.sqlclient.SqlClient
close, preparedQuery
-
-
-
-
Method Detail
-
pool
static OraclePool pool(OracleConnectOptions connectOptions, PoolOptions poolOptions)
-
pool
static OraclePool pool(Vertx vertx, OracleConnectOptions connectOptions, PoolOptions poolOptions)
Likepool(OracleConnectOptions, PoolOptions)with a specificVertxinstance.
-
pool
static OraclePool pool(String connectionUri, PoolOptions poolOptions)
Likepool(OracleConnectOptions, PoolOptions)but connection options are created from the providedconnectionUri.
-
pool
static OraclePool pool(Vertx vertx, String connectionUri, PoolOptions poolOptions)
Likepool(String, PoolOptions)with a specificVertxinstance.
-
pool
static OraclePool pool(Supplier<Future<OracleConnectOptions>> databases, PoolOptions poolOptions)
Create a connection pool to the Oracledatabases. The supplier is called to provide the options when a new connection is created by the pool.- Parameters:
databases- the databases supplierpoolOptions- the options for creating the pool- Returns:
- the connection pool
-
pool
static OraclePool pool(Vertx vertx, Supplier<Future<OracleConnectOptions>> databases, PoolOptions poolOptions)
Likepool(Supplier, PoolOptions)with a specificVertxinstance.
-
connectHandler
OraclePool connectHandler(Handler<SqlConnection> handler)
- Specified by:
connectHandlerin interfacePool
-
connectionProvider
OraclePool connectionProvider(Function<Context,Future<SqlConnection>> provider)
- Specified by:
connectionProviderin interfacePool
-
-