io.helidon.data.sql.datasource.hikari.HikariDataSourceConfig
Description
Hikari connection pool specific configuration for javax.sql.DataSource
Configuration options
| Key | Type | Description |
|---|---|---|
register-mbeans | Boolean | Configures whether HikariCP self-registers the com.zaxxer.hikari.HikariConfigMXBean and com.zaxxer.hikari.HikariPoolMXBean in JMX |
schema | String | Set the default schema name to be set on connections |
auto-commit | Boolean | Set the default auto-commit behavior of connections in the pool |
pool-name | String | Set the name of the connection pool |
catalog | String | Set the default catalog name to be set on connections |
minimum-idle | Integer | The property controls the minimum number of idle connections that HikariCP tries to maintain in the pool, including both idle and in-use connections |
connection-test-query | String | Set the SQL query to be executed to test the validity of connections |
maximum-pool-size | Integer | The property controls the maximum size that the pool is allowed to reach, including both idle and in-use connections |
leak-detection-threshold | Long | This property controls the amount of time that a connection can be out of the pool before a message is logged indicating a possible connection leak |
connection-init-sql | String | Set the SQL string that will be executed on all new connections when they are created, before they are added to the pool |
connection-timeout | Long | Set the maximum number of milliseconds that a client will wait for a connection from the pool |
allow-pool-suspension | Boolean | Set whether pool suspension is allowed |
keepalive-time | Long | This property controls the keepalive interval for a connection in the pool |
max-lifetime | Long | This property controls the maximum lifetime of a connection in the pool |
validation-timeout | Long | Sets the maximum number of milliseconds that the pool will wait for a connection to be validated as alive |
health-check-properties | Map<String, String> | Add properties (name/value pair) that will be used to configure the connection pool health check |
isolate-internal-queries | Boolean | Configure whether internal pool queries, principally aliveness checks, will be isolated in their own transaction via java.sql.Connection#rollback() |
idle-timeout | Long | This property controls the maximum amount of time that a connection is allowed to sit idle in the pool |
read-only | Boolean | Configures the Connections to be added to the pool as read-only Connections |
transaction-isolation | TransactionIsolation | Set the default transaction isolation level |
initialization-fail-timeout | Long | Set the pool initialization failure timeout |
properties | Map<String, String> | Add properties (name/value pair) that will be used to configure the DataSource/Driver |
Usages
See the manifest for all available types.