Package io.helidon.dbclient.metrics.jdbc
Class JdbcMetricsExtensionProvider
- java.lang.Object
-
- io.helidon.dbclient.metrics.jdbc.JdbcMetricsExtensionProvider
-
- All Implemented Interfaces:
HikariCpExtensionProvider
public class JdbcMetricsExtensionProvider extends Object implements HikariCpExtensionProvider
JDBC Configuration Interceptor Provider for Metrics. Returns JDBC Configuration Interceptor instance on request.
-
-
Constructor Summary
Constructors Constructor Description JdbcMetricsExtensionProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
configKey()
Configuration key of the extension provider.HikariCpExtension
extension(Config config)
Get instance of JDBC DB Client configuration extension.
-
-
-
Method Detail
-
configKey
public String 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
public HikariCpExtension extension(Config config)
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
-
-