Uses of Class
io.vertx.sqlclient.PoolOptions
Packages that use PoolOptions
Package
Description
-
Uses of PoolOptions in io.vertx.db2client.spi
Methods in io.vertx.db2client.spi with parameters of type PoolOptionsModifier and TypeMethodDescriptionprotected PoolDB2Driver.newPool(io.vertx.core.internal.VertxInternal vertx, Handler<SqlConnection> connectHandler, Supplier<Future<DB2ConnectOptions>> databases, PoolOptions poolOptions, NetClientOptions transportOptions, io.vertx.core.internal.CloseFuture closeFuture) -
Uses of PoolOptions in io.vertx.jdbcclient
Methods in io.vertx.jdbcclient with parameters of type PoolOptionsModifier and TypeMethodDescriptionstatic 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.mysqlclient.spi
Methods in io.vertx.mysqlclient.spi with parameters of type PoolOptionsModifier and TypeMethodDescriptionprotected PoolMySQLDriver.newPool(io.vertx.core.internal.VertxInternal vertx, Handler<SqlConnection> connectHandler, Supplier<Future<MySQLConnectOptions>> databases, PoolOptions poolOptions, NetClientOptions transportOptions, io.vertx.core.internal.CloseFuture closeFuture) -
Uses of PoolOptions in io.vertx.pgclient.spi
Methods in io.vertx.pgclient.spi with parameters of type PoolOptionsModifier and TypeMethodDescriptionprotected PoolPgDriver.newPool(io.vertx.core.internal.VertxInternal vertx, Handler<SqlConnection> connectHandler, Supplier<Future<PgConnectOptions>> databases, PoolOptions poolOptions, NetClientOptions transportOptions, io.vertx.core.internal.CloseFuture closeFuture) -
Uses of PoolOptions in io.vertx.reactivex.jdbcclient
Methods in io.vertx.reactivex.jdbcclient with parameters of type PoolOptionsModifier and TypeMethodDescriptionstatic 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 PoolOptionsModifier and TypeMethodDescriptionstatic 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(SqlConnectOptions)with a Vert.x instance created automatically.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 PoolOptionsModifier and TypeMethodDescriptionstatic 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 PoolOptionsModifier and TypeMethodDescriptionstatic 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(SqlConnectOptions)with a Vert.x instance created automatically.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 PoolOptionsModifier and TypeMethodDescriptionPoolOptions.setConnectionTimeout(int timeout) Set the amount of time a client will wait for a connection from the pool.PoolOptions.setConnectionTimeoutUnit(TimeUnit timeoutUnit) Set the time unit ofPoolOptions.setConnectionTimeout(int)PoolOptions.setEventLoopSize(int eventLoopSize) Set the number of event-loop the pool use.PoolOptions.setIdleTimeout(int idleTimeout) Establish an idle timeout for pooled connections, a value of zero disables the idle timeout.PoolOptions.setIdleTimeoutUnit(TimeUnit idleTimeoutUnit) Establish an idle timeout unit for pooled connections.PoolOptions.setMaxLifetime(int maxLifetime) Establish a max lifetime for pooled connections, a value of zero disables the maximum lifetime.PoolOptions.setMaxLifetimeUnit(TimeUnit maxLifetimeUnit) Establish a max lifetime unit for pooled connections.PoolOptions.setMaxSize(int maxSize) Set the maximum pool sizePoolOptions.setMaxWaitQueueSize(int maxWaitQueueSize) Set the maximum connection request allowed in the wait queue, any requests beyond the max size will result in an failure.Set the pool name, used when the pool shared, otherwise ignored.PoolOptions.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.PoolOptions.setShared(boolean shared) Set totrueto share the pool.Methods in io.vertx.sqlclient with parameters of type PoolOptionsModifier and TypeMethodDescriptionstatic 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.with(PoolOptions options) Configure the client with the given pooloptionsConstructors in io.vertx.sqlclient with parameters of type PoolOptions -
Uses of PoolOptions in io.vertx.sqlclient.spi
Methods in io.vertx.sqlclient.spi with parameters of type PoolOptionsModifier and TypeMethodDescriptiondefault 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.Driver.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.protected PoolDriverBase.newPool(io.vertx.core.internal.VertxInternal vertx, Handler<SqlConnection> connectHandler, Supplier<Future<O>> databases, PoolOptions poolOptions, NetClientOptions transportOptions, io.vertx.core.internal.CloseFuture closeFuture) DriverBase.newPool(Vertx vertx, Supplier<Future<O>> databases, PoolOptions options, NetClientOptions transportOptions, Handler<SqlConnection> connectHandler, io.vertx.core.internal.CloseFuture closeFuture)