public class BusEventBasedConfigMapWatcherChangeDetector extends ConfigMapWatcherChangeDetector implements org.springframework.context.ApplicationEventPublisherAware
k8SConfigurationProperties, log| Constructor and Description |
|---|
BusEventBasedConfigMapWatcherChangeDetector(org.springframework.core.env.AbstractEnvironment environment,
org.springframework.cloud.kubernetes.commons.config.reload.ConfigReloadProperties properties,
io.fabric8.kubernetes.client.KubernetesClient kubernetesClient,
org.springframework.cloud.kubernetes.commons.config.reload.ConfigurationUpdateStrategy strategy,
org.springframework.cloud.kubernetes.fabric8.config.Fabric8ConfigMapPropertySourceLocator fabric8ConfigMapPropertySourceLocator,
org.springframework.cloud.bus.BusProperties busProperties,
ConfigurationWatcherConfigurationProperties k8SConfigurationProperties,
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor threadPoolTaskExecutor) |
| Modifier and Type | Method and Description |
|---|---|
void |
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) |
protected reactor.core.publisher.Mono<Void> |
triggerRefresh(io.fabric8.kubernetes.api.model.ConfigMap configMap) |
isSpringCloudKubernetesConfig, onEventshutdown, unwatch, watchpublic BusEventBasedConfigMapWatcherChangeDetector(org.springframework.core.env.AbstractEnvironment environment,
org.springframework.cloud.kubernetes.commons.config.reload.ConfigReloadProperties properties,
io.fabric8.kubernetes.client.KubernetesClient kubernetesClient,
org.springframework.cloud.kubernetes.commons.config.reload.ConfigurationUpdateStrategy strategy,
org.springframework.cloud.kubernetes.fabric8.config.Fabric8ConfigMapPropertySourceLocator fabric8ConfigMapPropertySourceLocator,
org.springframework.cloud.bus.BusProperties busProperties,
ConfigurationWatcherConfigurationProperties k8SConfigurationProperties,
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor threadPoolTaskExecutor)
protected reactor.core.publisher.Mono<Void> triggerRefresh(io.fabric8.kubernetes.api.model.ConfigMap configMap)
triggerRefresh in class ConfigMapWatcherChangeDetectorpublic void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
setApplicationEventPublisher in interface org.springframework.context.ApplicationEventPublisherAwareCopyright © 2017–2020 Pivotal Software, Inc.. All rights reserved.