Package io.vertx.mutiny.oracleclient
Class OraclePool
- java.lang.Object
-
- io.vertx.mutiny.sqlclient.SqlClient
-
- io.vertx.mutiny.sqlclient.Pool
-
- io.vertx.mutiny.oracleclient.OraclePool
-
public class OraclePool extends Pool
Represents a pool of connection to interact with an Oracle database. NOTE: This class has been automatically generated from theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<OraclePool>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description OraclePool(io.vertx.oracleclient.OraclePool delegate)
OraclePool(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OraclePool
connectHandler(Consumer<SqlConnection> handler)
OraclePool
connectionProvider(Function<Context,io.smallrye.mutiny.Uni<SqlConnection>> provider)
boolean
equals(Object o)
io.vertx.oracleclient.OraclePool
getDelegate()
int
hashCode()
static OraclePool
newInstance(io.vertx.oracleclient.OraclePool arg)
static OraclePool
pool(Vertx vertx, io.vertx.oracleclient.OracleConnectOptions connectOptions, io.vertx.sqlclient.PoolOptions poolOptions)
static OraclePool
pool(Vertx vertx, String connectionUri, io.vertx.sqlclient.PoolOptions poolOptions)
static OraclePool
pool(io.vertx.oracleclient.OracleConnectOptions connectOptions, io.vertx.sqlclient.PoolOptions poolOptions)
static OraclePool
pool(String connectionUri, io.vertx.sqlclient.PoolOptions poolOptions)
String
toString()
-
Methods inherited from class io.vertx.mutiny.sqlclient.Pool
close, closeAndAwait, closeAndForget, getConnection, getConnectionAndAwait, getConnectionAndForget, newInstance, pool, pool, pool, preparedQuery, query, size, withConnection, withConnectionAndAwait, withConnectionAndForget, withTransaction, withTransactionAndAwait, withTransactionAndForget
-
Methods inherited from class io.vertx.mutiny.sqlclient.SqlClient
newInstance, preparedQuery
-
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<OraclePool> __TYPE_ARG
-
-
Constructor Detail
-
OraclePool
public OraclePool(io.vertx.oracleclient.OraclePool delegate)
-
OraclePool
public OraclePool(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.oracleclient.OraclePool getDelegate()
- Overrides:
getDelegate
in classPool
-
pool
public static OraclePool pool(io.vertx.oracleclient.OracleConnectOptions connectOptions, io.vertx.sqlclient.PoolOptions poolOptions)
-
pool
public static OraclePool pool(Vertx vertx, io.vertx.oracleclient.OracleConnectOptions connectOptions, io.vertx.sqlclient.PoolOptions poolOptions)
- Parameters:
vertx
-connectOptions
-poolOptions
-- Returns:
-
pool
public static OraclePool pool(String connectionUri, io.vertx.sqlclient.PoolOptions poolOptions)
- Parameters:
connectionUri
-poolOptions
-- Returns:
-
pool
public static OraclePool pool(Vertx vertx, String connectionUri, io.vertx.sqlclient.PoolOptions poolOptions)
- Parameters:
vertx
-connectionUri
-poolOptions
-- Returns:
-
connectHandler
public OraclePool connectHandler(Consumer<SqlConnection> handler)
- Overrides:
connectHandler
in classPool
- Parameters:
handler
- the handler- Returns:
-
connectionProvider
public OraclePool connectionProvider(Function<Context,io.smallrye.mutiny.Uni<SqlConnection>> provider)
- Overrides:
connectionProvider
in classPool
- Parameters:
provider
- the new connection provider- Returns:
- a reference to this, so the API can be used fluently
-
newInstance
public static OraclePool newInstance(io.vertx.oracleclient.OraclePool arg)
-
-