Class PollingSecretsChangeDetector
java.lang.Object
org.springframework.cloud.kubernetes.commons.config.reload.ConfigurationChangeDetector
org.springframework.cloud.kubernetes.commons.config.reload.PollingSecretsChangeDetector
A change detector that periodically retrieves secrets and fires a reload when something
changes.
- Author:
- Nicola Ferraro, Haytham Mohamed, Kris Iyer
-
Field Summary
FieldsFields inherited from class ConfigurationChangeDetector
strategy -
Constructor Summary
ConstructorsConstructorDescriptionPollingSecretsChangeDetector(org.springframework.core.env.AbstractEnvironment environment, ConfigReloadProperties properties, ConfigurationUpdateStrategy strategy, Class<? extends org.springframework.core.env.MapPropertySource> propertySourceClass, org.springframework.cloud.bootstrap.config.PropertySourceLocator propertySourceLocator, org.springframework.scheduling.TaskScheduler taskExecutor) -
Method Summary
Methods inherited from class ConfigurationChangeDetector
reloadProperties
-
Field Details
-
log
protected org.apache.commons.logging.Log log
-
-
Constructor Details
-
PollingSecretsChangeDetector
public PollingSecretsChangeDetector(org.springframework.core.env.AbstractEnvironment environment, ConfigReloadProperties properties, ConfigurationUpdateStrategy strategy, Class<? extends org.springframework.core.env.MapPropertySource> propertySourceClass, org.springframework.cloud.bootstrap.config.PropertySourceLocator propertySourceLocator, org.springframework.scheduling.TaskScheduler taskExecutor)
-