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.ReactiveDiscoveryClient
public reactor.core.publisher.Flux<org.springframework.cloud.client.ServiceInstance> getInstances(String serviceId)
getInstances
in interface org.springframework.cloud.client.discovery.ReactiveDiscoveryClient
public reactor.core.publisher.Flux<String> getServices()
getServices
in interface org.springframework.cloud.client.discovery.ReactiveDiscoveryClient
public int getOrder()
getOrder
in interface org.springframework.cloud.client.discovery.ReactiveDiscoveryClient
getOrder
in interface org.springframework.core.Ordered
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.