io.vertx.db2client

## Interface DB2Pool

- All Superinterfaces:
    Pool, SqlClient

      public interface DB2Pool
      extends Pool

  A pool of DB2 connections.

- - ### Method Summary

    All Methods Static Methods Default Methods
    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)` Like `pool(DB2ConnectOptions, PoolOptions)` with `connectOptions` build from `connectionUri`.
    `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)` Like `pool(Vertx, DB2ConnectOptions, PoolOptions)` with `connectOptions` build from `connectionUri`.

    - ### Methods inherited from interface io.vertx.sqlclient.Pool

      `begin, close, getConnection, pool, pool, pool, preparedQuery, query`

- - ### Method Detail

    - #### pool

          static DB2Pool pool(String connectionUri)

      Like `pool(String, PoolOptions)` with a default `poolOptions`.

    - #### pool

          static DB2Pool pool(String connectionUri,
                              PoolOptions poolOptions)

      Like `pool(DB2ConnectOptions, PoolOptions)` with `connectOptions` build from `connectionUri`.

    - #### pool

          static DB2Pool pool(Vertx vertx,
                              String connectionUri)

      Like `pool(Vertx, String,PoolOptions)` with a default `poolOptions`..

    - #### pool

          static DB2Pool pool(Vertx vertx,
                              String connectionUri,
                              PoolOptions poolOptions)

      Like `pool(Vertx, DB2ConnectOptions, PoolOptions)` with `connectOptions` build from `connectionUri`.

    - #### pool

          static DB2Pool pool(DB2ConnectOptions connectOptions,
                              PoolOptions poolOptions)

      Create a connection pool to the DB2 server configured with the given `connectOptions` and `poolOptions`.
      Parameters:
        `connectOptions` - the options for the connection
        `poolOptions` - the options for creating the pool
      Returns:
        the connection pool

    - #### pool

          static DB2Pool pool(Vertx vertx,
                              DB2ConnectOptions connectOptions,
                              PoolOptions poolOptions)

      Like `pool(DB2ConnectOptions, PoolOptions)` with a specific `Vertx` instance.

Copyright © 2020 Eclipse. All rights reserved.