Class DataSourceReactiveRuntimeConfig
- java.lang.Object
-
- io.quarkus.reactive.datasource.runtime.DataSourceReactiveRuntimeConfig
-
public class DataSourceReactiveRuntimeConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description booleancachePreparedStatementsWhether prepared statements should be cached on the client side.Optional<String>hostnameVerificationAlgorithmThe hostname verification algorithm to use in case the server's identity should be checked.Optional<Duration>idleTimeoutThe maximum time a connection remains unused in the pool before it is closed.JksConfigurationkeyCertificateJksKey/cert configuration in the JKS format.PemKeyCertConfigurationkeyCertificatePemKey/cert configuration in the PEM format.PfxConfigurationkeyCertificatePfxKey/cert configuration in the PFX format.OptionalIntmaxSizeThe datasource pool maximum size.intreconnectAttemptsThe number of reconnection attempts when a pooled connection cannot be established on first try.DurationreconnectIntervalThe interval between reconnection attempts when a pooled connection cannot be established on first try.Optional<Boolean>threadLocalDeprecated.booleantrustAllWhether all server certificates should be trusted.JksConfigurationtrustCertificateJksTrust configuration in the JKS format.PemTrustCertConfigurationtrustCertificatePemTrust configuration in the PEM format.PfxConfigurationtrustCertificatePfxTrust configuration in the PFX format.Optional<String>urlThe datasource URL.
-
Constructor Summary
Constructors Constructor Description DataSourceReactiveRuntimeConfig()
-
-
-
Field Detail
-
cachePreparedStatements
@ConfigItem(defaultValue="false") public boolean cachePreparedStatements
Whether prepared statements should be cached on the client side.
-
url
@ConfigItem public Optional<String> url
The datasource URL.
-
maxSize
@ConfigItem public OptionalInt maxSize
The datasource pool maximum size.
-
trustAll
@ConfigItem(defaultValue="false") public boolean trustAll
Whether all server certificates should be trusted.
-
trustCertificatePem
@ConfigItem public PemTrustCertConfiguration trustCertificatePem
Trust configuration in the PEM format.When enabled,
#trust-certificate-jksand#trust-certificate-pfxmust be disabled.
-
trustCertificateJks
@ConfigItem public JksConfiguration trustCertificateJks
Trust configuration in the JKS format.When enabled,
#trust-certificate-pemand#trust-certificate-pfxmust be disabled.
-
trustCertificatePfx
@ConfigItem public PfxConfiguration trustCertificatePfx
Trust configuration in the PFX format.When enabled,
#trust-certificate-jksand#trust-certificate-pemmust be disabled.
-
keyCertificatePem
@ConfigItem public PemKeyCertConfiguration keyCertificatePem
Key/cert configuration in the PEM format.When enabled,
key-certificate-jksand#key-certificate-pfxmust be disabled.
-
keyCertificateJks
@ConfigItem public JksConfiguration keyCertificateJks
Key/cert configuration in the JKS format.When enabled,
#key-certificate-pemand#key-certificate-pfxmust be disabled.
-
keyCertificatePfx
@ConfigItem public PfxConfiguration keyCertificatePfx
Key/cert configuration in the PFX format.When enabled,
key-certificate-jksand#key-certificate-pemmust be disabled.
-
threadLocal
@ConfigItem @Deprecated public Optional<Boolean> threadLocal
Deprecated.Deprecated: this was removed and is no longer available.
-
reconnectAttempts
@ConfigItem(defaultValue="0") public int reconnectAttempts
The number of reconnection attempts when a pooled connection cannot be established on first try.
-
reconnectInterval
@ConfigItem(defaultValue="PT1S") public Duration reconnectInterval
The interval between reconnection attempts when a pooled connection cannot be established on first try.
-
hostnameVerificationAlgorithm
@ConfigItem public Optional<String> hostnameVerificationAlgorithm
The hostname verification algorithm to use in case the server's identity should be checked. Should be HTTPS, LDAPS or an empty string.
-
idleTimeout
@ConfigItem(defaultValueDocumentation="no timeout") public Optional<Duration> idleTimeout
The maximum time a connection remains unused in the pool before it is closed.
-
-