public class DiscoveryClientServiceInstanceListSupplier extends Object implements ServiceInstanceListSupplier
ServiceInstanceListSupplier implementation.ServiceInstanceListSupplier.FixedServiceInstanceListSupplier| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_DISCOVERY_TIMEOUT
Property that establishes the timeout for calls to service discovery.
|
| Constructor and Description |
|---|
DiscoveryClientServiceInstanceListSupplier(DiscoveryClient delegate,
org.springframework.core.env.Environment environment) |
DiscoveryClientServiceInstanceListSupplier(ReactiveDiscoveryClient delegate,
org.springframework.core.env.Environment environment) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Flux<List<ServiceInstance>> |
get() |
String |
getServiceId() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilder, fixed, fixedpublic static final String SERVICE_DISCOVERY_TIMEOUT
public DiscoveryClientServiceInstanceListSupplier(DiscoveryClient delegate, org.springframework.core.env.Environment environment)
public DiscoveryClientServiceInstanceListSupplier(ReactiveDiscoveryClient delegate, org.springframework.core.env.Environment environment)
public String getServiceId()
getServiceId in interface ServiceInstanceListSupplierpublic reactor.core.publisher.Flux<List<ServiceInstance>> get()
get in interface Supplier<reactor.core.publisher.Flux<List<ServiceInstance>>>Copyright © 2021 Pivotal Software, Inc.. All rights reserved.