Interface AgroalDataSourceConfiguration


  • public interface AgroalDataSourceConfiguration
    Configuration of an AgroalDataSource.
    Author:
    Luis Barreiro
    • Method Detail

      • metricsEnabled

        boolean metricsEnabled()
        If this AgroalDataSource collects metrics.
      • setMetricsEnabled

        void setMetricsEnabled​(boolean metricsEnabled)
        Enables or disables the collection of metrics.
      • registerMetricsEnabledListener

        void registerMetricsEnabledListener​(AgroalDataSourceConfiguration.MetricsEnabledListener metricsEnabledListener)
        Allows registration of a callback to be invoked each time there is a change on the status of metrics collection.