public class PollingConfigMapChangeDetector extends ConfigurationChangeDetector
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
log |
environment, properties, strategy| Constructor and Description |
|---|
PollingConfigMapChangeDetector(org.springframework.core.env.AbstractEnvironment environment,
ConfigReloadProperties properties,
ConfigurationUpdateStrategy strategy,
Class propertySourceClass,
org.springframework.cloud.bootstrap.config.PropertySourceLocator propertySourceLocator) |
| Modifier and Type | Method and Description |
|---|---|
void |
executeCycle() |
void |
init() |
changed, changed, findPropertySource, findPropertySources, locateMapPropertySources, reloadPropertiespublic PollingConfigMapChangeDetector(org.springframework.core.env.AbstractEnvironment environment,
ConfigReloadProperties properties,
ConfigurationUpdateStrategy strategy,
Class propertySourceClass,
org.springframework.cloud.bootstrap.config.PropertySourceLocator propertySourceLocator)
@PostConstruct public void init()
@Scheduled(initialDelayString="${spring.cloud.kubernetes.reload.period:15000}",
fixedDelayString="${spring.cloud.kubernetes.reload.period:15000}")
public void executeCycle()
Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.