@Component public class CloudFoundryReactiveHeartbeatSender extends Object implements org.springframework.context.ApplicationEventPublisherAware
HeartbeatEvent with a `Flux` of services as its state indicator. If
consumers detect a change it doesn't necessarily mean there is a change in the catalog.| Constructor and Description |
|---|
CloudFoundryReactiveHeartbeatSender(org.springframework.cloud.client.discovery.ReactiveDiscoveryClient client) |
| Modifier and Type | Method and Description |
|---|---|
void |
poll() |
void |
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher) |
public CloudFoundryReactiveHeartbeatSender(org.springframework.cloud.client.discovery.ReactiveDiscoveryClient client)
@Scheduled(fixedDelayString="${spring.cloud.cloudfoundry.discovery.heartbeatFrequency:5000}")
public void poll()
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher)
setApplicationEventPublisher in interface org.springframework.context.ApplicationEventPublisherAwareCopyright © 2021 Pivotal Software, Inc.. All rights reserved.