Class PollingConfigMapChangeDetector
java.lang.Object
org.springframework.cloud.kubernetes.commons.config.reload.ConfigurationChangeDetector
org.springframework.cloud.kubernetes.commons.config.reload.PollingConfigMapChangeDetector
A change detector that periodically retrieves configmaps and fire a reload when
something changes.
- Author:
- Nicola Ferraro, Haytham Mohamed, Kris Iyer
-
Field Summary
FieldsFields inherited from class org.springframework.cloud.kubernetes.commons.config.reload.ConfigurationChangeDetector
environment, properties, strategy -
Constructor Summary
ConstructorsConstructorDescriptionPollingConfigMapChangeDetector(org.springframework.core.env.AbstractEnvironment environment, ConfigReloadProperties properties, ConfigurationUpdateStrategy strategy, Class propertySourceClass, org.springframework.cloud.bootstrap.config.PropertySourceLocator propertySourceLocator) Deprecated.PollingConfigMapChangeDetector(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 Summary
Methods inherited from class org.springframework.cloud.kubernetes.commons.config.reload.ConfigurationChangeDetector
changed, changed, findPropertySource, findPropertySources, locateMapPropertySources, reloadProperties
-
Field Details
-
log
protected org.apache.commons.logging.Log log
-
-
Constructor Details
-
PollingConfigMapChangeDetector
@Deprecated public PollingConfigMapChangeDetector(org.springframework.core.env.AbstractEnvironment environment, ConfigReloadProperties properties, ConfigurationUpdateStrategy strategy, Class propertySourceClass, org.springframework.cloud.bootstrap.config.PropertySourceLocator propertySourceLocator) Deprecated. -
PollingConfigMapChangeDetector
public PollingConfigMapChangeDetector(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
-
executeCycle
public void executeCycle()
-