Class HikariDataSourceSystemConfigurationConfigurer

java.lang.Object
com.flowable.platform.service.configuration.service.HikariDataSourceSystemConfigurationConfigurer
All Implemented Interfaces:
SystemConfigurationConfigurer

public class HikariDataSourceSystemConfigurationConfigurer extends Object implements SystemConfigurationConfigurer
Author:
Filip Hrisafov
  • Field Details

    • PROPERTY_CONNECTION_TIMEOUT

      protected static final String PROPERTY_CONNECTION_TIMEOUT
      See Also:
    • PROPERTY_IDLE_TIMEOUT

      protected static final String PROPERTY_IDLE_TIMEOUT
      See Also:
    • PROPERTY_MAX_LIFETIME

      protected static final String PROPERTY_MAX_LIFETIME
      See Also:
    • PROPERTY_VALIDATION_TIMEOUT

      protected static final String PROPERTY_VALIDATION_TIMEOUT
      See Also:
    • PROPERTY_MAX_POOL_SIZE

      protected static final String PROPERTY_MAX_POOL_SIZE
      See Also:
    • PROPERTY_MINIMUM_IDLE

      protected static final String PROPERTY_MINIMUM_IDLE
      See Also:
    • hikariConfig

      protected final com.zaxxer.hikari.HikariConfigMXBean hikariConfig
    • defaultConnectionTimeout

      protected final long defaultConnectionTimeout
    • defaultIdleTimeout

      protected final long defaultIdleTimeout
    • defaultMaxLifetime

      protected final long defaultMaxLifetime
    • defaultValidationTimeout

      protected final long defaultValidationTimeout
    • defaultMaxPoolSize

      protected final int defaultMaxPoolSize
    • defaultMinimumIdle

      protected final int defaultMinimumIdle
  • Constructor Details

    • HikariDataSourceSystemConfigurationConfigurer

      public HikariDataSourceSystemConfigurationConfigurer(com.zaxxer.hikari.HikariConfigMXBean hikariConfig)
  • Method Details

    • getType

      public String getType()
      Description copied from interface: SystemConfigurationConfigurer
      The type of the system configuration that this configurer is meant for
      Specified by:
      getType in interface SystemConfigurationConfigurer
    • applyDefaultConfiguration

      public void applyDefaultConfiguration()
      Description copied from interface: SystemConfigurationConfigurer
      If possible applies the default configuration.
      Specified by:
      applyDefaultConfiguration in interface SystemConfigurationConfigurer
    • applyConfiguration

      public void applyConfiguration(com.fasterxml.jackson.databind.node.ObjectNode configuration)
      Description copied from interface: SystemConfigurationConfigurer
      Apply the given configuration.
      Specified by:
      applyConfiguration in interface SystemConfigurationConfigurer
      Parameters:
      configuration - the configuration to apply
    • validateConfiguration

      public void validateConfiguration(com.fasterxml.jackson.databind.node.ObjectNode configuration)
      Description copied from interface: SystemConfigurationConfigurer
      Validate the configuration
      Specified by:
      validateConfiguration in interface SystemConfigurationConfigurer
      Parameters:
      configuration - the configuration to validate
    • validateConnectionTimeout

      protected void validateConnectionTimeout(com.fasterxml.jackson.databind.JsonNode fieldValue)
    • validateIdleTimeout

      protected void validateIdleTimeout(com.fasterxml.jackson.databind.JsonNode fieldValue)
    • validateValidationTimeout

      protected void validateValidationTimeout(com.fasterxml.jackson.databind.JsonNode fieldValue)