Interface ParametersConfig.CacheConfig

Enclosing interface:
ParametersConfig

public static interface ParametersConfig.CacheConfig
Cache configuration.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Enable or disable client cache.
    boolean
    Does not start the microservices if an error occurs while retrieving the parameters during the startup phase.
    boolean
    Pull parameters during start phase
    Update parameter scheduler configuration in milliseconds.
  • Method Details

    • enabled

      @WithName("enabled") @WithDefault("true") boolean enabled()
      Enable or disable client cache.
    • updateSchedule

      @WithName("update-schedule") @WithDefault("900000") Long updateSchedule()
      Update parameter scheduler configuration in milliseconds.
    • updateAtStart

      @WithName("update-at-start") @WithDefault("false") boolean updateAtStart()
      Pull parameters during start phase
    • failedAtStart

      @WithName("failed-at-start") @WithDefault("false") boolean failedAtStart()
      Does not start the microservices if an error occurs while retrieving the parameters during the startup phase.