Class PollingSecretsChangeDetector

java.lang.Object
org.springframework.cloud.kubernetes.commons.config.reload.ConfigurationChangeDetector
org.springframework.cloud.kubernetes.commons.config.reload.PollingSecretsChangeDetector

public class PollingSecretsChangeDetector extends ConfigurationChangeDetector
A change detector that periodically retrieves secrets and fire a reload when something changes.
Author:
Nicola Ferraro, Haytham Mohamed, Kris Iyer
  • Field Details

    • log

      protected org.apache.commons.logging.Log log
  • Constructor Details

    • PollingSecretsChangeDetector

      @Deprecated public PollingSecretsChangeDetector(org.springframework.core.env.AbstractEnvironment environment, ConfigReloadProperties properties, ConfigurationUpdateStrategy strategy, Class propertySourceClass, org.springframework.cloud.bootstrap.config.PropertySourceLocator propertySourceLocator)
      Deprecated.
    • PollingSecretsChangeDetector

      public PollingSecretsChangeDetector(org.springframework.core.env.AbstractEnvironment environment, ConfigReloadProperties properties, ConfigurationUpdateStrategy strategy, Class propertySourceClass, org.springframework.cloud.bootstrap.config.PropertySourceLocator propertySourceLocator, org.springframework.scheduling.TaskScheduler taskExecutor)
  • Method Details

    • init

      @PostConstruct public void init()
    • executeCycle

      public void executeCycle()