Class 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 the original non RX-ified interface using Vert.x codegen.

    • Constructor Detail

      • OraclePool

        public OraclePool​(io.vertx.oracleclient.OraclePool delegate)
      • OraclePool

        public OraclePool​(Object delegate)
    • Method Detail

      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class Pool
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Pool
      • getDelegate

        public io.vertx.oracleclient.OraclePool getDelegate()
        Overrides:
        getDelegate in class Pool
      • pool

        public static OraclePool pool​(io.vertx.oracleclient.OracleConnectOptions connectOptions,
                                      io.vertx.sqlclient.PoolOptions poolOptions)
      • connectionProvider

        public OraclePool connectionProvider​(Function<Context,​io.vertx.core.Future<SqlConnection>> provider)
        Description copied from class: Pool
        Replace the default pool connection provider, the new provider returns a future connection for a given .

        A ConnectionFactory can be used as connection provider.

        Overrides:
        connectionProvider in class Pool
        Parameters:
        provider - the new connection provider
        Returns:
        a reference to this, so the API can be used fluently
      • connectionProvider

        public OraclePool connectionProvider​(io.reactivex.functions.Function<Context,​io.reactivex.Single<SqlConnection>> provider)
        Description copied from class: Pool
        Replace the default pool connection provider, the new provider returns a future connection for a given .

        A ConnectionFactory can be used as connection provider.

        Overrides:
        connectionProvider in class Pool
        Parameters:
        provider - the new connection provider
        Returns:
        a reference to this, so the API can be used fluently
      • pool

        public static OraclePool pool​(Supplier<io.vertx.core.Future<io.vertx.oracleclient.OracleConnectOptions>> databases,
                                      io.vertx.sqlclient.PoolOptions poolOptions)
        Create a connection pool to the Oracle databases. The supplier is called to provide the options when a new connection is created by the pool.
        Parameters:
        databases - the databases supplier
        poolOptions - the options for creating the pool
        Returns:
        the connection pool
      • newInstance

        public static OraclePool newInstance​(io.vertx.oracleclient.OraclePool arg)