- build
Creates a new ConnectionPoolSettings object with the settings initialised on
this builder.
- maxWaitTime
The maximum time that a thread may wait for a connection to become available.
Default is 2 minutes.
- maxConnectionIdleTime
The maximum idle time of a pooled connection. A zero value indicates no limit to
the idle time. A po
- maxConnectionLifeTime
The maximum time a pooled connection can live for. A zero value indicates no
limit to the life time.
- addConnectionPoolListener
Adds the given connection pool listener.
- maxSize
The maximum number of connections allowed. Those connections will be kept in the
pool when idle. Onc
- maxWaitQueueSize
This is the maximum number of waiters for a connection to become available from
the pool. All furthe
- applyConnectionString
Takes the settings from the given ConnectionString and applies them to the
builder
- applySettings
Applies the connectionPoolSettings to the builderNote: Overwrites all existing
settings
- <init>
- maintenanceFrequency
The time period between runs of the maintenance job.
- maintenanceInitialDelay
The period of time to wait before running the first maintenance job on the
connection pool.