Package io.helidon.dbclient.metrics.jdbc
Class JdbcMetricsExtensionProvider
java.lang.Object
io.helidon.dbclient.metrics.jdbc.JdbcMetricsExtensionProvider
- All Implemented Interfaces:
HikariCpExtensionProvider
JDBC Configuration Interceptor Provider for Metrics.
Returns JDBC Configuration Interceptor instance on request.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionConfiguration key of the extension provider.Get instance of JDBC DB Client configuration extension.
-
Constructor Details
-
JdbcMetricsExtensionProvider
public JdbcMetricsExtensionProvider()
-
-
Method Details
-
configKey
Description copied from interface:HikariCpExtensionProvider
Configuration key of the extension provider.- Specified by:
configKey
in interfaceHikariCpExtensionProvider
- Returns:
- configuration key expected under
connection.helidon
-
extension
Description copied from interface:HikariCpExtensionProvider
Get instance of JDBC DB Client configuration extension.- Specified by:
extension
in interfaceHikariCpExtensionProvider
- Parameters:
config
- configuration of this provider to obtain an extension instance- Returns:
- JDBC DB Client configuration extension
-