public class KubernetesCatalogWatch extends Object implements org.springframework.context.ApplicationEventPublisherAware
| Constructor and Description |
|---|
KubernetesCatalogWatch(io.fabric8.kubernetes.client.KubernetesClient kubernetesClient,
org.springframework.cloud.kubernetes.commons.discovery.KubernetesDiscoveryProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
catalogServicesWatch() |
void |
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher) |
public KubernetesCatalogWatch(io.fabric8.kubernetes.client.KubernetesClient kubernetesClient,
org.springframework.cloud.kubernetes.commons.discovery.KubernetesDiscoveryProperties properties)
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher)
setApplicationEventPublisher in interface org.springframework.context.ApplicationEventPublisherAware@Scheduled(fixedDelayString="${spring.cloud.kubernetes.discovery.catalogServicesWatchDelay:30000}")
public void catalogServicesWatch()
Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.