public class ConsulReactiveDiscoveryClient extends Object implements org.springframework.cloud.client.discovery.ReactiveDiscoveryClient
ReactiveDiscoveryClient.| Constructor and Description |
|---|
ConsulReactiveDiscoveryClient(com.ecwid.consul.v1.ConsulClient client,
ConsulDiscoveryProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
String |
description() |
reactor.core.publisher.Flux<org.springframework.cloud.client.ServiceInstance> |
getInstances(String serviceId) |
int |
getOrder() |
reactor.core.publisher.Flux<String> |
getServices() |
public ConsulReactiveDiscoveryClient(com.ecwid.consul.v1.ConsulClient client,
ConsulDiscoveryProperties properties)
public String description()
description in interface org.springframework.cloud.client.discovery.ReactiveDiscoveryClientpublic reactor.core.publisher.Flux<org.springframework.cloud.client.ServiceInstance> getInstances(String serviceId)
getInstances in interface org.springframework.cloud.client.discovery.ReactiveDiscoveryClientpublic reactor.core.publisher.Flux<String> getServices()
getServices in interface org.springframework.cloud.client.discovery.ReactiveDiscoveryClientpublic int getOrder()
getOrder in interface org.springframework.cloud.client.discovery.ReactiveDiscoveryClientgetOrder in interface org.springframework.core.OrderedCopyright © 2021 Pivotal Software, Inc.. All rights reserved.