vertx / io.vertx.kotlin.sqlclient / poolOptionsOf

poolOptionsOf

fun poolOptionsOf(idleTimeout: Int? = null, idleTimeoutUnit: TimeUnit? = null, maxSize: Int? = null, maxWaitQueueSize: Int? = null): PoolOptions

A function providing a DSL for building io.vertx.sqlclient.PoolOptions objects.

The options for configuring a connection pool.

Parameters

idleTimeout - Establish an idle timeout for pooled connections.

idleTimeoutUnit - Establish an idle timeout unit for pooled connections.

maxSize - Set the maximum pool size

maxWaitQueueSize - Set the maximum connection request allowed in the wait queue, any requests beyond the max size will result in an failure. If the value is set to a negative number then the queue will be unbounded.