Uses of Class
io.agroal.api.configuration.supplier.AgroalConnectionFactoryConfigurationSupplier
Packages that use AgroalConnectionFactoryConfigurationSupplier
-
Uses of AgroalConnectionFactoryConfigurationSupplier in io.agroal.api.configuration.supplier
Methods in io.agroal.api.configuration.supplier that return AgroalConnectionFactoryConfigurationSupplierModifier and TypeMethodDescriptionAgroalConnectionFactoryConfigurationSupplier.addSecurityProvider(AgroalSecurityProvider provider) Allows setting additionalAgroalSecurityProviderto deal with custom principal/credential types.AgroalConnectionFactoryConfigurationSupplier.autoCommit(boolean autoCommitEnabled) Sets the value of auto-commit for connections on the pool.AgroalConnectionPoolConfigurationSupplier.connectionFactoryConfiguration()Allows access to the configuration builder for the connection pool.AgroalConnectionFactoryConfigurationSupplier.connectionProviderClass(Class<?> connectionProvider) Sets a class from the JDBC driver to be used as a supplier of connections.AgroalConnectionFactoryConfigurationSupplier.connectionProviderClassName(String connectionProviderName) Attempts to load a JDBC driver class using its fully qualified name.AgroalConnectionFactoryConfigurationSupplier.credential(Object credential) Sets credentials to use in order to authenticate to the database.AgroalConnectionFactoryConfigurationSupplier.initialSql(String initialSqlString) Sets the SQL command to be executed when a connection is created.AgroalConnectionFactoryConfigurationSupplier.jdbcProperty(String key, String value) Allows setting other, unspecified, properties to be passed to the JDBC driver when creating new connections.AgroalConnectionFactoryConfigurationSupplier.jdbcTransactionIsolation(int customValue) Allows setting a custom transaction isolation level.AgroalConnectionFactoryConfigurationSupplier.jdbcTransactionIsolation(AgroalConnectionFactoryConfiguration.TransactionIsolation transactionIsolationLevel) Sets the transaction isolation level.Sets the database URL to connect to.AgroalConnectionFactoryConfigurationSupplier.loginTimeout(Duration timeout) Sets the login timeout (in seconds).AgroalConnectionFactoryConfigurationSupplier.poolRecovery(boolean poolRecoveryEnabled) Sets the value of pool recovery connections.Sets the principal to be authenticated in the database.AgroalConnectionFactoryConfigurationSupplier.readOnly()Sets the value of read-only for connections on the pool.AgroalConnectionFactoryConfigurationSupplier.readOnly(boolean readOnlyEnabled) Sets the value of read-only for connections on the pool.AgroalConnectionFactoryConfigurationSupplier.recoveryCredential(Object credential) Allows providing a different set of credentials for recovery connections.AgroalConnectionFactoryConfigurationSupplier.recoveryPrincipal(Principal loginPrincipal) Allows setting a different principal for recovery connections.AgroalConnectionFactoryConfigurationSupplier.trackJdbcResources(boolean trackJdbcResourcesEnabled) Sets if JDBC resources are tracked to be closed if leaked.AgroalConnectionFactoryConfigurationSupplier.xaProperty(String key, String value) Allows setting other, unspecified, properties to be passed to the XA Datasource that override JDBC properties.Method parameters in io.agroal.api.configuration.supplier with type arguments of type AgroalConnectionFactoryConfigurationSupplierModifier and TypeMethodDescriptionAgroalConnectionPoolConfigurationSupplier.connectionFactoryConfiguration(Function<? super AgroalConnectionFactoryConfigurationSupplier, ? extends AgroalConnectionFactoryConfigurationSupplier> function) Modifies the configuration of the connection pool.AgroalConnectionPoolConfigurationSupplier.connectionFactoryConfiguration(Function<? super AgroalConnectionFactoryConfigurationSupplier, ? extends AgroalConnectionFactoryConfigurationSupplier> function) Modifies the configuration of the connection pool.