Package | Description |
---|---|
io.agroal.api.configuration.supplier |
Modifier and Type | Method and Description |
---|---|
AgroalConnectionFactoryConfigurationSupplier |
AgroalConnectionFactoryConfigurationSupplier.addSecurityProvider(AgroalSecurityProvider provider)
Allows setting additional
AgroalSecurityProvider to deal with custom principal/credential types. |
AgroalConnectionFactoryConfigurationSupplier |
AgroalConnectionFactoryConfigurationSupplier.autoCommit(boolean autoCommitEnabled)
Sets the value of auto-commit for connections on the pool.
|
AgroalConnectionFactoryConfigurationSupplier |
AgroalConnectionPoolConfigurationSupplier.connectionFactoryConfiguration()
Allows access to the configuration builder for the connection pool.
|
AgroalConnectionFactoryConfigurationSupplier |
AgroalConnectionFactoryConfigurationSupplier.connectionProviderClass(Class<?> connectionProvider)
Sets a class from the JDBC driver to be used as a supplier of connections.
|
AgroalConnectionFactoryConfigurationSupplier |
AgroalConnectionFactoryConfigurationSupplier.connectionProviderClassName(String connectionProviderName)
Attempts to load a JDBC driver class using its fully qualified name.
|
AgroalConnectionFactoryConfigurationSupplier |
AgroalConnectionFactoryConfigurationSupplier.credential(Object credential)
Sets credentials to use in order to authenticate to the database.
|
AgroalConnectionFactoryConfigurationSupplier |
AgroalConnectionFactoryConfigurationSupplier.initialSql(String initialSqlString)
Sets the SQL command to be executed when a connection is created.
|
AgroalConnectionFactoryConfigurationSupplier |
AgroalConnectionFactoryConfigurationSupplier.jdbcProperty(String key,
String value)
Allows setting other, unspecified, properties to be passed to the JDBC driver when creating new connections.
|
AgroalConnectionFactoryConfigurationSupplier |
AgroalConnectionFactoryConfigurationSupplier.jdbcTransactionIsolation(AgroalConnectionFactoryConfiguration.TransactionIsolation transactionIsolationLevel)
Sets the transaction isolation level.
|
AgroalConnectionFactoryConfigurationSupplier |
AgroalConnectionFactoryConfigurationSupplier.jdbcTransactionIsolation(int customValue)
Allows setting a custom transaction isolation level.
|
AgroalConnectionFactoryConfigurationSupplier |
AgroalConnectionFactoryConfigurationSupplier.jdbcUrl(String jdbcUrlString)
Sets the database URL to connect to.
|
AgroalConnectionFactoryConfigurationSupplier |
AgroalConnectionFactoryConfigurationSupplier.principal(Principal loginPrincipal)
Sets the principal to be authenticated in the database.
|
AgroalConnectionFactoryConfigurationSupplier |
AgroalConnectionFactoryConfigurationSupplier.recoveryCredential(Object credential)
Allows providing a different set of credentials for recovery connections.
|
AgroalConnectionFactoryConfigurationSupplier |
AgroalConnectionFactoryConfigurationSupplier.recoveryPrincipal(Principal loginPrincipal)
Allows setting a different principal for recovery connections.
|
AgroalConnectionFactoryConfigurationSupplier |
AgroalConnectionFactoryConfigurationSupplier.trackJdbcResources(boolean trackJdbcResourcesEnabled)
Sets if JBDC resources are tracked to be closed if leaked.
|
Modifier and Type | Method and Description |
---|---|
AgroalConnectionPoolConfigurationSupplier |
AgroalConnectionPoolConfigurationSupplier.connectionFactoryConfiguration(Function<AgroalConnectionFactoryConfigurationSupplier,AgroalConnectionFactoryConfigurationSupplier> function)
Modifies the configuration of the connection pool.
|
AgroalConnectionPoolConfigurationSupplier |
AgroalConnectionPoolConfigurationSupplier.connectionFactoryConfiguration(Function<AgroalConnectionFactoryConfigurationSupplier,AgroalConnectionFactoryConfigurationSupplier> function)
Modifies the configuration of the connection pool.
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.