@ConfigurationProperties(prefix="spring.cloud.discovery.client.simple") public class SimpleReactiveDiscoveryProperties extends Object
ReactiveDiscoveryClient
service instance
for a given service. It also holds the user-configurable order that will be used to
establish the precedence of this client in the list of clients used by
CompositeDiscoveryClient
.Constructor and Description |
---|
SimpleReactiveDiscoveryProperties() |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Flux<ServiceInstance> |
getInstances(String service) |
DefaultServiceInstance |
getLocal() |
int |
getOrder() |
void |
init() |
void |
setInstances(Map<String,List<DefaultServiceInstance>> instances) |
void |
setOrder(int order) |
public reactor.core.publisher.Flux<ServiceInstance> getInstances(String service)
public void setInstances(Map<String,List<DefaultServiceInstance>> instances)
public DefaultServiceInstance getLocal()
public int getOrder()
public void setOrder(int order)
@PostConstruct public void init()
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.