- acquireCount() - Method in interface io.agroal.api.AgroalDataSourceMetrics
-
Number of times an acquire operation succeeded.
- ACQUISITION_TIMEOUT - Static variable in class io.agroal.api.configuration.supplier.AgroalPropertiesReader
-
- ACQUISITION_TIMEOUT_M - Static variable in class io.agroal.api.configuration.supplier.AgroalPropertiesReader
-
- ACQUISITION_TIMEOUT_MS - Static variable in class io.agroal.api.configuration.supplier.AgroalPropertiesReader
-
- ACQUISITION_TIMEOUT_S - Static variable in class io.agroal.api.configuration.supplier.AgroalPropertiesReader
-
- acquisitionTimeout() - Method in interface io.agroal.api.configuration.AgroalConnectionPoolConfiguration
-
The maximum amount of time a thread may be blocked waiting for a connection.
- acquisitionTimeout(Duration) - Method in class io.agroal.api.configuration.supplier.AgroalConnectionPoolConfigurationSupplier
-
Sets the duration of the acquisition timeout.
- activeCount() - Method in interface io.agroal.api.AgroalDataSourceMetrics
-
Number active of connections.
- addResourceRecoveryFactory(TransactionIntegration.ResourceRecoveryFactory) - Method in interface io.agroal.api.transaction.TransactionIntegration
-
Agroal calls this method on init to register itself as a XA module capable of recovery.
- addSecurityProvider(AgroalSecurityProvider) - Method in class io.agroal.api.configuration.supplier.AgroalConnectionFactoryConfigurationSupplier
-
- AgroalConnectionFactoryConfiguration - Interface in io.agroal.api.configuration
-
The configuration of the connection factory.
- AgroalConnectionFactoryConfiguration.IsolationLevel - Interface in io.agroal.api.configuration
-
Interface to define the transaction isolation level.
- AgroalConnectionFactoryConfiguration.TransactionIsolation - Enum in io.agroal.api.configuration
-
The default transaction isolation levels, defined in
Connection
.
- AgroalConnectionFactoryConfigurationSupplier - Class in io.agroal.api.configuration.supplier
-
Builder of AgroalConnectionFactoryConfiguration.
- AgroalConnectionFactoryConfigurationSupplier() - Constructor for class io.agroal.api.configuration.supplier.AgroalConnectionFactoryConfigurationSupplier
-
- AgroalConnectionFactoryConfigurationSupplier(AgroalConnectionFactoryConfiguration) - Constructor for class io.agroal.api.configuration.supplier.AgroalConnectionFactoryConfigurationSupplier
-
- AgroalConnectionPoolConfiguration - Interface in io.agroal.api.configuration
-
The configuration of the connection pool.
- AgroalConnectionPoolConfiguration.ConnectionValidator - Interface in io.agroal.api.configuration
-
Interface for custom connection validation strategies.
- AgroalConnectionPoolConfiguration.ExceptionSorter - Interface in io.agroal.api.configuration
-
Interface for custom exception sorter strategies.
- AgroalConnectionPoolConfiguration.MultipleAcquisitionAction - Enum in io.agroal.api.configuration
-
Action to perform on acquisition of multiple connections by the same thread.
- AgroalConnectionPoolConfiguration.TransactionRequirement - Enum in io.agroal.api.configuration
-
Modes available for transaction requirement.
- AgroalConnectionPoolConfigurationSupplier - Class in io.agroal.api.configuration.supplier
-
Builder of AgroalConnectionPoolConfiguration.
- AgroalConnectionPoolConfigurationSupplier() - Constructor for class io.agroal.api.configuration.supplier.AgroalConnectionPoolConfigurationSupplier
-
- AgroalConnectionPoolConfigurationSupplier(AgroalConnectionPoolConfiguration) - Constructor for class io.agroal.api.configuration.supplier.AgroalConnectionPoolConfigurationSupplier
-
- AgroalDataSource - Interface in io.agroal.api
-
Extension of the DataSource interface that exposes some of it internals.
- AgroalDataSource.FlushMode - Enum in io.agroal.api
-
Modes supported on the flush operation.
- AgroalDataSourceConfiguration - Interface in io.agroal.api.configuration
-
Configuration of an AgroalDataSource.
- AgroalDataSourceConfiguration.DataSourceImplementation - Enum in io.agroal.api.configuration
-
Available implementations of AgroalDataSource.
- AgroalDataSourceConfiguration.MetricsEnabledListener - Interface in io.agroal.api.configuration
-
- AgroalDataSourceConfigurationSupplier - Class in io.agroal.api.configuration.supplier
-
Builder of AgroalDataSourceConfiguration.
- AgroalDataSourceConfigurationSupplier() - Constructor for class io.agroal.api.configuration.supplier.AgroalDataSourceConfigurationSupplier
-
- AgroalDataSourceListener - Interface in io.agroal.api
-
This interface defines a set of callback methods that are invoked on events considered important for the state of the pool.
- AgroalDataSourceMetrics - Interface in io.agroal.api
-
Several metrics provided by the pool.
- AgroalDataSourceProvider - Interface in io.agroal.api
-
An interface for providers of AgroalDataSource.
- AgroalDefaultSecurityProvider - Class in io.agroal.api.security
-
- AgroalDefaultSecurityProvider() - Constructor for class io.agroal.api.security.AgroalDefaultSecurityProvider
-
- AgroalKerberosSecurityProvider - Class in io.agroal.api.security
-
- AgroalKerberosSecurityProvider() - Constructor for class io.agroal.api.security.AgroalKerberosSecurityProvider
-
- AgroalPoolInterceptor - Interface in io.agroal.api
-
Callback interface for pool actions.
- AgroalPropertiesReader - Class in io.agroal.api.configuration.supplier
-
Convenient way to build an Agroal configuration.
- AgroalPropertiesReader() - Constructor for class io.agroal.api.configuration.supplier.AgroalPropertiesReader
-
- AgroalPropertiesReader(String) - Constructor for class io.agroal.api.configuration.supplier.AgroalPropertiesReader
-
- AgroalSecurityProvider - Interface in io.agroal.api.security
-
Interface to be implemented in order to extend Agroal with custom types of authentication.
- asProperties() - Method in class io.agroal.api.security.NamePrincipal
-
- asProperties() - Method in class io.agroal.api.security.SimplePassword
-
- associate(TransactionAware, XAResource) - Method in interface io.agroal.api.transaction.TransactionIntegration
-
Agroal notifies the transaction layer a Tx aware resource (a connection) and it's corresponding XA resource were acquired.
- AUTO_COMMIT - Static variable in class io.agroal.api.configuration.supplier.AgroalPropertiesReader
-
- autoCommit() - Method in interface io.agroal.api.configuration.AgroalConnectionFactoryConfiguration
-
If connections should have the auto-commit mode on by default.
- autoCommit(boolean) - Method in class io.agroal.api.configuration.supplier.AgroalConnectionFactoryConfigurationSupplier
-
Sets the value of auto-commit for connections on the pool.
- availableCount() - Method in interface io.agroal.api.AgroalDataSourceMetrics
-
Number of idle connections in the pool, available to be acquired.
- awaitingCount() - Method in interface io.agroal.api.AgroalDataSourceMetrics
-
Approximate number of threads blocked, waiting to acquire a connection.
- call() - Method in interface io.agroal.api.transaction.TransactionAware.SQLCallable
-
- className() - Method in enum io.agroal.api.configuration.AgroalDataSourceConfiguration.DataSourceImplementation
-
- close() - Method in interface io.agroal.api.AgroalDataSource
- connectionFactoryConfiguration() - Method in interface io.agroal.api.configuration.AgroalConnectionPoolConfiguration
-
Configuration for the connection factory.
- connectionFactoryConfiguration(Supplier<? extends AgroalConnectionFactoryConfiguration>) - Method in class io.agroal.api.configuration.supplier.AgroalConnectionPoolConfigurationSupplier
-
Sets the configuration for the connection factory.
- connectionFactoryConfiguration(Function<? super AgroalConnectionFactoryConfigurationSupplier, ? extends AgroalConnectionFactoryConfigurationSupplier>) - Method in class io.agroal.api.configuration.supplier.AgroalConnectionPoolConfigurationSupplier
-
Modifies the configuration of the connection pool.
- connectionFactoryConfiguration() - Method in class io.agroal.api.configuration.supplier.AgroalConnectionPoolConfigurationSupplier
-
Allows access to the configuration builder for the connection pool.
- connectionPoolConfiguration() - Method in interface io.agroal.api.configuration.AgroalDataSourceConfiguration
-
Configuration of the pool of this DataSource
- connectionPoolConfiguration(AgroalConnectionPoolConfiguration) - Method in class io.agroal.api.configuration.supplier.AgroalDataSourceConfigurationSupplier
-
Sets the configuration of the connection pool.
- connectionPoolConfiguration(Supplier<? extends AgroalConnectionPoolConfiguration>) - Method in class io.agroal.api.configuration.supplier.AgroalDataSourceConfigurationSupplier
-
Sets the configuration of the connection pool.
- connectionPoolConfiguration(Function<? super AgroalConnectionPoolConfigurationSupplier, ? extends AgroalConnectionPoolConfigurationSupplier>) - Method in class io.agroal.api.configuration.supplier.AgroalDataSourceConfigurationSupplier
-
Modifies the configuration of the connection pool.
- connectionPoolConfiguration() - Method in class io.agroal.api.configuration.supplier.AgroalDataSourceConfigurationSupplier
-
Allows access to the configuration builder for the connection pool.
- connectionProviderClass() - Method in interface io.agroal.api.configuration.AgroalConnectionFactoryConfiguration
-
JDBC driver class to use as a supplier of connections.
- connectionProviderClass(Class<?>) - Method in class io.agroal.api.configuration.supplier.AgroalConnectionFactoryConfigurationSupplier
-
Sets a class from the JDBC driver to be used as a supplier of connections.
- connectionProviderClassName(String) - Method in class io.agroal.api.configuration.supplier.AgroalConnectionFactoryConfigurationSupplier
-
Attempts to load a JDBC driver class using its fully qualified name.
- connectionValidator() - Method in interface io.agroal.api.configuration.AgroalConnectionPoolConfiguration
-
The connection validation method.
- connectionValidator(AgroalConnectionPoolConfiguration.ConnectionValidator) - Method in class io.agroal.api.configuration.supplier.AgroalConnectionPoolConfigurationSupplier
-
Sets the connection validation method.
- creationCount() - Method in interface io.agroal.api.AgroalDataSourceMetrics
-
Number of created connections.
- creationTimeAverage() - Method in interface io.agroal.api.AgroalDataSourceMetrics
-
Average time for a connection to be created.
- creationTimeMax() - Method in interface io.agroal.api.AgroalDataSourceMetrics
-
Maximum time for a connection to be created.
- creationTimeTotal() - Method in interface io.agroal.api.AgroalDataSourceMetrics
-
Total time waiting for a connections to be created.
- credential(Object) - Method in class io.agroal.api.configuration.supplier.AgroalConnectionFactoryConfigurationSupplier
-
Sets credentials to use in order to authenticate to the database.
- CREDENTIAL - Static variable in class io.agroal.api.configuration.supplier.AgroalPropertiesReader
-
- credentials() - Method in interface io.agroal.api.configuration.AgroalConnectionFactoryConfiguration
-
Collection of evidence used for authentication.
- onConnectionAcquire(Connection) - Method in interface io.agroal.api.AgroalDataSourceListener
-
This callback is invoked when a connection is successfully acquired.
- onConnectionAcquire(Connection) - Method in interface io.agroal.api.AgroalPoolInterceptor
-
This callback is invoked when a connection is successfully acquired.
- onConnectionCreation(Connection) - Method in interface io.agroal.api.AgroalDataSourceListener
-
This callback is invoked for every new connection.
- onConnectionDestroy(Connection) - Method in interface io.agroal.api.AgroalDataSourceListener
-
This callback is invoked after a connection is closed.
- onConnectionFlush(Connection) - Method in interface io.agroal.api.AgroalDataSourceListener
-
This callback is invoked when after a connection is removed from the pool.
- onConnectionInvalid(Connection) - Method in interface io.agroal.api.AgroalDataSourceListener
-
This callback is invoked when a connection was checked and is invalid.
- onConnectionLeak(Connection, Thread) - Method in interface io.agroal.api.AgroalDataSourceListener
-
This connection is invoked when a connection is held for longer than the leak timeout and reports what thread acquired it.
- onConnectionPooled(Connection) - Method in interface io.agroal.api.AgroalDataSourceListener
-
This callback is invoked right after a connection is added to the pool.
- onConnectionReap(Connection) - Method in interface io.agroal.api.AgroalDataSourceListener
-
This callback is invoked if a connection is idle in the pool.
- onConnectionReturn(Connection) - Method in interface io.agroal.api.AgroalDataSourceListener
-
This callback is invoked right after a connection is returned to the pool.
- onConnectionReturn(Connection) - Method in interface io.agroal.api.AgroalPoolInterceptor
-
This callback is invoked before a connection is returned to the pool.
- onConnectionValid(Connection) - Method in interface io.agroal.api.AgroalDataSourceListener
-
This callback is invoked when a connection was checked and is valid.
- onInfo(String) - Method in interface io.agroal.api.AgroalDataSourceListener
-
Callback to allow reporting information of interest, for which a warning might be considered excessive.
- onMetricsEnabled(boolean) - Method in interface io.agroal.api.configuration.AgroalDataSourceConfiguration.MetricsEnabledListener
-
- onWarning(String) - Method in interface io.agroal.api.AgroalDataSourceListener
-
This callback is invoked to report anomalous circumstances that do not prevent the pool from functioning.
- onWarning(Throwable) - Method in interface io.agroal.api.AgroalDataSourceListener
-
This callback is invoked to report anomalous circumstances that do not prevent the pool from functioning.
- OracleExceptionSorter - Class in io.agroal.api.exceptionsorter
-
Exception sorter for Oracle databases.
- OracleExceptionSorter() - Constructor for class io.agroal.api.exceptionsorter.OracleExceptionSorter
-
- VALIDATION_TIMEOUT - Static variable in class io.agroal.api.configuration.supplier.AgroalPropertiesReader
-
- VALIDATION_TIMEOUT_M - Static variable in class io.agroal.api.configuration.supplier.AgroalPropertiesReader
-
- VALIDATION_TIMEOUT_MS - Static variable in class io.agroal.api.configuration.supplier.AgroalPropertiesReader
-
- VALIDATION_TIMEOUT_S - Static variable in class io.agroal.api.configuration.supplier.AgroalPropertiesReader
-
- validationTimeout() - Method in interface io.agroal.api.configuration.AgroalConnectionPoolConfiguration
-
Connections idle for longer than this time period are validated (background validation).
- validationTimeout(Duration) - Method in class io.agroal.api.configuration.supplier.AgroalConnectionPoolConfigurationSupplier
-
Sets the duration of background validation interval.
- valueOf(String) - Static method in enum io.agroal.api.AgroalDataSource.FlushMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.agroal.api.configuration.AgroalConnectionFactoryConfiguration.TransactionIsolation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.agroal.api.configuration.AgroalConnectionPoolConfiguration.MultipleAcquisitionAction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.agroal.api.configuration.AgroalConnectionPoolConfiguration.TransactionRequirement
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.agroal.api.configuration.AgroalDataSourceConfiguration.DataSourceImplementation
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.agroal.api.AgroalDataSource.FlushMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.agroal.api.configuration.AgroalConnectionFactoryConfiguration.TransactionIsolation
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.agroal.api.configuration.AgroalConnectionPoolConfiguration.MultipleAcquisitionAction
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.agroal.api.configuration.AgroalConnectionPoolConfiguration.TransactionRequirement
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.agroal.api.configuration.AgroalDataSourceConfiguration.DataSourceImplementation
-
Returns an array containing the constants of this enum type, in
the order they are declared.