public class EurekaReactiveDiscoveryClient extends Object implements org.springframework.cloud.client.discovery.ReactiveDiscoveryClient
ReactiveDiscoveryClient
implementation for Eureka.Constructor and Description |
---|
EurekaReactiveDiscoveryClient(com.netflix.discovery.EurekaClient eurekaClient,
com.netflix.discovery.EurekaClientConfig clientConfig) |
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 EurekaReactiveDiscoveryClient(com.netflix.discovery.EurekaClient eurekaClient, com.netflix.discovery.EurekaClientConfig clientConfig)
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 © 2020 Pivotal Software, Inc.. All rights reserved.