Class PollingConfigMapChangeDetector

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

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

    • PollingConfigMapChangeDetector

      public PollingConfigMapChangeDetector(org.springframework.core.env.AbstractEnvironment environment, ConfigReloadProperties configReloadProperties, ConfigurationUpdateStrategy strategy, Class<? extends org.springframework.core.env.MapPropertySource> propertySourceClass, org.springframework.cloud.bootstrap.config.PropertySourceLocator propertySourceLocator, org.springframework.scheduling.TaskScheduler taskExecutor)