Uses of Class
io.vertx.sqlclient.PoolOptions
-
-
Uses of PoolOptions in io.vertx.db2client.spi
Methods in io.vertx.db2client.spi with parameters of type PoolOptions Modifier and Type Method Description PoolDB2Driver. newPool(Vertx vertx, Supplier<Future<DB2ConnectOptions>> databases, PoolOptions poolOptions, NetClientOptions transportOptions, Handler<SqlConnection> connectHandler, io.vertx.core.internal.CloseFuture closeFuture) -
Uses of PoolOptions in io.vertx.jdbcclient
Methods in io.vertx.jdbcclient with parameters of type PoolOptions Modifier and Type Method Description static PoolJDBCPool. pool(Vertx vertx, JDBCConnectOptions connectOptions, PoolOptions poolOptions)Create a JDBC pool which maintains its own data source.static PoolJDBCPool. pool(Vertx vertx, DataSource dataSource, PoolOptions poolOptions)Create a JDBC pool using a pre-initialized data source, note this data source does not need to be a pool. -
Uses of PoolOptions in io.vertx.mssqlclient.spi
Methods in io.vertx.mssqlclient.spi with parameters of type PoolOptions Modifier and Type Method Description PoolMSSQLDriver. newPool(Vertx vertx, Supplier<Future<MSSQLConnectOptions>> databases, PoolOptions options, NetClientOptions transportOptions, Handler<SqlConnection> connectHandler, io.vertx.core.internal.CloseFuture closeFuture) -
Uses of PoolOptions in io.vertx.mysqlclient.spi
Methods in io.vertx.mysqlclient.spi with parameters of type PoolOptions Modifier and Type Method Description PoolMySQLDriver. newPool(Vertx vertx, Supplier<Future<MySQLConnectOptions>> databases, PoolOptions options, NetClientOptions transportOptions, Handler<SqlConnection> connectHandler, io.vertx.core.internal.CloseFuture closeFuture) -
Uses of PoolOptions in io.vertx.oracleclient.spi
Methods in io.vertx.oracleclient.spi with parameters of type PoolOptions Modifier and Type Method Description PoolOracleDriver. newPool(Vertx vertx, Supplier<Future<OracleConnectOptions>> databases, PoolOptions options, NetClientOptions transportOptions, Handler<SqlConnection> connectHandler, io.vertx.core.internal.CloseFuture closeFuture) -
Uses of PoolOptions in io.vertx.pgclient.spi
Methods in io.vertx.pgclient.spi with parameters of type PoolOptions Modifier and Type Method Description PoolPgDriver. newPool(Vertx vertx, Supplier<Future<PgConnectOptions>> databases, PoolOptions poolOptions, NetClientOptions transportOptions, Handler<SqlConnection> connectHandler, io.vertx.core.internal.CloseFuture closeFuture) -
Uses of PoolOptions in io.vertx.reactivex.jdbcclient
Methods in io.vertx.reactivex.jdbcclient with parameters of type PoolOptions Modifier and Type Method Description static PoolJDBCPool. pool(Vertx vertx, JDBCConnectOptions connectOptions, PoolOptions poolOptions)Create a JDBC pool which maintains its own data source.static PoolJDBCPool. pool(Vertx vertx, DataSource dataSource, PoolOptions poolOptions)Create a JDBC pool using a pre-initialized data source, note this data source does not need to be a pool. -
Uses of PoolOptions in io.vertx.reactivex.sqlclient
Methods in io.vertx.reactivex.sqlclient with parameters of type PoolOptions Modifier and Type Method Description static PoolPool. pool(Vertx vertx, SqlConnectOptions database, PoolOptions options)Create a connection pool to thedatabasewith the givenoptions.static PoolPool. pool(SqlConnectOptions database, PoolOptions options)LikePool.pool(io.vertx.sqlclient.SqlConnectOptions)with a Vert.x instance created automatically.ClientBuilder<C>ClientBuilder. with(PoolOptions options)Configure the client with the given pooloptions -
Uses of PoolOptions in io.vertx.rxjava3.jdbcclient
Methods in io.vertx.rxjava3.jdbcclient with parameters of type PoolOptions Modifier and Type Method Description static PoolJDBCPool. pool(Vertx vertx, JDBCConnectOptions connectOptions, PoolOptions poolOptions)Create a JDBC pool which maintains its own data source.static PoolJDBCPool. pool(Vertx vertx, DataSource dataSource, PoolOptions poolOptions)Create a JDBC pool using a pre-initialized data source, note this data source does not need to be a pool. -
Uses of PoolOptions in io.vertx.rxjava3.sqlclient
Methods in io.vertx.rxjava3.sqlclient with parameters of type PoolOptions Modifier and Type Method Description static PoolPool. pool(Vertx vertx, SqlConnectOptions database, PoolOptions options)Create a connection pool to thedatabasewith the givenoptions.static PoolPool. pool(SqlConnectOptions database, PoolOptions options)LikePool.pool(io.vertx.sqlclient.SqlConnectOptions)with a Vert.x instance created automatically.ClientBuilder<C>ClientBuilder. with(PoolOptions options)Configure the client with the given pooloptions -
Uses of PoolOptions in io.vertx.sqlclient
Methods in io.vertx.sqlclient that return PoolOptions Modifier and Type Method Description PoolOptionsPoolOptions. setConnectionTimeout(int timeout)Set the amount of time a client will wait for a connection from the pool.PoolOptionsPoolOptions. setConnectionTimeoutUnit(TimeUnit timeoutUnit)Set the time unit ofsetConnectionTimeout(int)PoolOptionsPoolOptions. setEventLoopSize(int eventLoopSize)Set the number of event-loop the pool use.PoolOptionsPoolOptions. setIdleTimeout(int idleTimeout)Establish an idle timeout for pooled connections, a value of zero disables the idle timeout.PoolOptionsPoolOptions. setIdleTimeoutUnit(TimeUnit idleTimeoutUnit)Establish an idle timeout unit for pooled connections.PoolOptionsPoolOptions. setMaxLifetime(int maxLifetime)Establish a max lifetime for pooled connections, a value of zero disables the maximum lifetime.PoolOptionsPoolOptions. setMaxLifetimeUnit(TimeUnit maxLifetimeUnit)Establish a max lifetime unit for pooled connections.PoolOptionsPoolOptions. setMaxSize(int maxSize)Set the maximum pool sizePoolOptionsPoolOptions. setMaxWaitQueueSize(int maxWaitQueueSize)Set the maximum connection request allowed in the wait queue, any requests beyond the max size will result in an failure.PoolOptionsPoolOptions. setName(String name)Set the pool name, used when the pool shared, otherwise ignored.PoolOptionsPoolOptions. setPoolCleanerPeriod(int poolCleanerPeriod)Set the connection pool cleaner period in milli seconds, a non positive value disables expiration checks and connections will remain in the pool until they are closed.PoolOptionsPoolOptions. setShared(boolean shared)Set totrueto share the pool.Methods in io.vertx.sqlclient with parameters of type PoolOptions Modifier and Type Method Description static PoolPool. pool(Vertx vertx, SqlConnectOptions database, PoolOptions options)Create a connection pool to thedatabasewith the givenoptions.static PoolPool. pool(SqlConnectOptions database, PoolOptions options)LikePool.pool(Vertx, SqlConnectOptions, PoolOptions)with a Vert.x instance created automatically.ClientBuilder<C>ClientBuilder. with(PoolOptions options)Configure the client with the given pooloptionsConstructors in io.vertx.sqlclient with parameters of type PoolOptions Constructor Description PoolOptions(PoolOptions other) -
Uses of PoolOptions in io.vertx.sqlclient.spi
Methods in io.vertx.sqlclient.spi with parameters of type PoolOptions Modifier and Type Method Description default PoolDriver. createPool(Vertx vertx, Supplier<Future<C>> databases, PoolOptions poolOptions, NetClientOptions transportOptions, Handler<SqlConnection> connectHandler)Create a connection pool to the database configured with the givenconnectOptionsandpoolOptions.PoolDriver. newPool(Vertx vertx, Supplier<Future<C>> databases, PoolOptions options, NetClientOptions transportOptions, Handler<SqlConnection> connectHandler, io.vertx.core.internal.CloseFuture closeFuture)Create a connection pool to the database configured with the givenconnectOptionsandpoolOptions.
-