Package | Description |
---|---|
io.agroal.api.configuration.supplier |
Modifier and Type | Method and Description |
---|---|
AgroalConnectionPoolConfigurationSupplier |
AgroalConnectionPoolConfigurationSupplier.acquisitionTimeout(Duration timeout)
Sets the duration of the acquisition timeout.
|
AgroalConnectionPoolConfigurationSupplier |
AgroalConnectionPoolConfigurationSupplier.connectionFactoryConfiguration(Function<AgroalConnectionFactoryConfigurationSupplier,AgroalConnectionFactoryConfigurationSupplier> function)
Modifies the configuration of the connection pool.
|
AgroalConnectionPoolConfigurationSupplier |
AgroalConnectionPoolConfigurationSupplier.connectionFactoryConfiguration(Supplier<AgroalConnectionFactoryConfiguration> supplier)
Sets the configuration for the connection factory.
|
AgroalConnectionPoolConfigurationSupplier |
AgroalDataSourceConfigurationSupplier.connectionPoolConfiguration()
Allows access to the configuration builder for the connection pool.
|
AgroalConnectionPoolConfigurationSupplier |
AgroalConnectionPoolConfigurationSupplier.connectionValidator(AgroalConnectionPoolConfiguration.ConnectionValidator validator)
Sets the connection validation method.
|
AgroalConnectionPoolConfigurationSupplier |
AgroalConnectionPoolConfigurationSupplier.exceptionSorter(AgroalConnectionPoolConfiguration.ExceptionSorter sorter)
Sets the exception sorter.
|
AgroalConnectionPoolConfigurationSupplier |
AgroalConnectionPoolConfigurationSupplier.flushOnClose()
Enables flushing of connections on close.
|
AgroalConnectionPoolConfigurationSupplier |
AgroalConnectionPoolConfigurationSupplier.flushOnClose(boolean flush)
Enables or disables flushing of connections on close.
|
AgroalConnectionPoolConfigurationSupplier |
AgroalConnectionPoolConfigurationSupplier.idleValidationTimeout(Duration timeout)
Sets the duration of idle time for foreground validation to be executed.
|
AgroalConnectionPoolConfigurationSupplier |
AgroalConnectionPoolConfigurationSupplier.initialSize(int size)
Sets the number of connections when the pool starts.
|
AgroalConnectionPoolConfigurationSupplier |
AgroalConnectionPoolConfigurationSupplier.leakTimeout(Duration timeout)
Sets the duration of the leak timeout detection.
|
AgroalConnectionPoolConfigurationSupplier |
AgroalConnectionPoolConfigurationSupplier.maxLifetime(Duration time)
Sets the duration for the lifetime of connections.
|
AgroalConnectionPoolConfigurationSupplier |
AgroalConnectionPoolConfigurationSupplier.maxSize(int size)
Sets the maximum number of connections on the pool.
|
AgroalConnectionPoolConfigurationSupplier |
AgroalConnectionPoolConfigurationSupplier.minSize(int size)
Sets the minimum number of connections on the pool.
|
AgroalConnectionPoolConfigurationSupplier |
AgroalConnectionPoolConfigurationSupplier.reapTimeout(Duration timeout)
Sets the duration for eviction of idle connections.
|
AgroalConnectionPoolConfigurationSupplier |
AgroalConnectionPoolConfigurationSupplier.transactionIntegration(TransactionIntegration integration)
Sets the transaction integration instance to use.
|
AgroalConnectionPoolConfigurationSupplier |
AgroalConnectionPoolConfigurationSupplier.validationTimeout(Duration timeout)
Sets the duration of background validation interval.
|
Modifier and Type | Method and Description |
---|---|
AgroalDataSourceConfigurationSupplier |
AgroalDataSourceConfigurationSupplier.connectionPoolConfiguration(Function<AgroalConnectionPoolConfigurationSupplier,AgroalConnectionPoolConfigurationSupplier> function)
Modifies the configuration of the connection pool.
|
AgroalDataSourceConfigurationSupplier |
AgroalDataSourceConfigurationSupplier.connectionPoolConfiguration(Function<AgroalConnectionPoolConfigurationSupplier,AgroalConnectionPoolConfigurationSupplier> function)
Modifies the configuration of the connection pool.
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.