hikari
This type provides the following service implementations:
-
io.helidon.data.sql.datasource.spi.DataSourceConfigProvider
Configuration options
| key | type | default value | description |
|---|---|---|---|
|
boolean |
|
Set whether pool suspension is allowed. See com.zaxxer.hikari.HikariConfig.setAllowPoolSuspension(boolean) for details. |
|
boolean |
|
Set the default auto-commit behavior of connections in the pool. See com.zaxxer.hikari.HikariConfig.setAutoCommit(boolean) for details. |
|
string |
|
Set the default catalog name to be set on connections. See com.zaxxer.hikari.HikariConfig.setCatalog(String) for details. |
|
string |
|
Set the SQL string that will be executed on all new connections when they are created, before they are added to the pool. See com.zaxxer.hikari.HikariConfig.setConnectionInitSql(String) for details. |
|
string |
|
Set the SQL query to be executed to test the validity of connections. See com.zaxxer.hikari.HikariConfig.setConnectionTestQuery(String) for details. |
|
long |
|
Set the maximum number of milliseconds that a client will wait for a connection from the pool. See com.zaxxer.hikari.HikariConfig.setConnectionTimeout(long) for details. |
|
Map<string, string> |
|
Add properties (name/value pair) that will be used to configure the connection pool health check. See com.zaxxer.hikari.HikariConfig.addHealthCheckProperty(String, String) for details. |
|
long |
|
This property controls the maximum amount of time that a connection is allowed to sit idle in the pool. See com.zaxxer.hikari.HikariConfig.setIdleTimeout(long) for details. |
|
long |
|
Set the pool initialization failure timeout. See com.zaxxer.hikari.HikariConfig.setInitializationFailTimeout(long) for details. |
|
boolean |
|
Configure whether internal pool queries, principally aliveness checks, will be isolated in their own transaction via java.sql.Connection.rollback(). See com.zaxxer.hikari.HikariConfig.setIsolateInternalQueries(boolean) for details. |
|
long |
|
This property controls the keepalive interval for a connection in the pool. See com.zaxxer.hikari.HikariConfig.setKeepaliveTime(long) for details. |
|
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. See com.zaxxer.hikari.HikariConfig.setLeakDetectionThreshold(long) for details. |
|
long |
|
This property controls the maximum lifetime of a connection in the pool. See com.zaxxer.hikari.HikariConfig.setMaxLifetime(long) for details. |
|
int |
|
The property controls the maximum size that the pool is allowed to reach, including both idle and in-use connections. See com.zaxxer.hikari.HikariConfig.setMaximumPoolSize(int) for details. |
|
int |
|
The property controls the minimum number of idle connections that HikariCP tries to maintain in the pool, including both idle and in-use connections. See com.zaxxer.hikari.HikariConfig.setMinimumIdle(int) for details. |
|
string |
|
Set the name of the connection pool. See com.zaxxer.hikari.HikariConfig.setPoolName(String) for details. |
|
Map<string, string> |
|
Add properties (name/value pair) that will be used to configure the DataSource/Driver. Property values are limited to String values. See com.zaxxer.hikari.HikariConfig.addDataSourceProperty(String, Object) for details. |
|
boolean |
|
Configures the Connections to be added to the pool as read-only Connections. See com.zaxxer.hikari.HikariConfig.setReadOnly(boolean) for details. |
|
boolean |
|
Configures whether HikariCP self-registers the com.zaxxer.hikari.HikariConfigMXBean and com.zaxxer.hikari.HikariPoolMXBean in JMX. See com.zaxxer.hikari.HikariConfig.setRegisterMbeans(boolean) for details. |
|
string |
|
Set the default schema name to be set on connections. See com.zaxxer.hikari.HikariConfig.setSchema(String) for details. |
|
TransactionIsolation (TRANSACTION_READ_UNCOMMITTED, TRANSACTION_READ_COMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE) |
|
Set the default transaction isolation level. See com.zaxxer.hikari.HikariConfig.setTransactionIsolation(String) for details. |
|
long |
|
Sets the maximum number of milliseconds that the pool will wait for a connection to be validated as alive. See com.zaxxer.hikari.HikariConfig.setValidationTimeout(long) for details. |