public class ReactiveCompositeDiscoveryClient extends Object implements ReactiveDiscoveryClient
ReactiveDiscoveryClient that is composed of other discovery clients and
delegates calls to each of them in order.DEFAULT_ORDER| Constructor and Description |
|---|
ReactiveCompositeDiscoveryClient(List<ReactiveDiscoveryClient> discoveryClients) |
| Modifier and Type | Method and Description |
|---|---|
String |
description()
A human-readable description of the implementation, used in HealthIndicator.
|
List<ReactiveDiscoveryClient> |
getDiscoveryClients() |
reactor.core.publisher.Flux<ServiceInstance> |
getInstances(String serviceId)
Gets all ServiceInstances associated with a particular serviceId.
|
reactor.core.publisher.Flux<String> |
getServices() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOrder, probepublic ReactiveCompositeDiscoveryClient(List<ReactiveDiscoveryClient> discoveryClients)
public String description()
ReactiveDiscoveryClientdescription in interface ReactiveDiscoveryClientpublic reactor.core.publisher.Flux<ServiceInstance> getInstances(String serviceId)
ReactiveDiscoveryClientgetInstances in interface ReactiveDiscoveryClientserviceId - The serviceId to query.public reactor.core.publisher.Flux<String> getServices()
getServices in interface ReactiveDiscoveryClientpublic List<ReactiveDiscoveryClient> getDiscoveryClients()
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.