public class EurekaDiscoveryClient extends Object implements org.springframework.cloud.client.discovery.DiscoveryClient
DiscoveryClient implementation for Eureka.| Modifier and Type | Class and Description |
|---|---|
static class |
EurekaDiscoveryClient.EurekaServiceInstance
Deprecated.
In favor of
EurekaServiceInstance. |
| Modifier and Type | Field and Description |
|---|---|
static String |
DESCRIPTION
Client description
String. |
| Constructor and Description |
|---|
EurekaDiscoveryClient(com.netflix.discovery.EurekaClient eurekaClient,
com.netflix.discovery.EurekaClientConfig clientConfig) |
EurekaDiscoveryClient(com.netflix.appinfo.EurekaInstanceConfig config,
com.netflix.discovery.EurekaClient eurekaClient)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
description() |
List<org.springframework.cloud.client.ServiceInstance> |
getInstances(String serviceId) |
int |
getOrder() |
List<String> |
getServices() |
public static final String DESCRIPTION
String.@Deprecated public EurekaDiscoveryClient(com.netflix.appinfo.EurekaInstanceConfig config, com.netflix.discovery.EurekaClient eurekaClient)
public EurekaDiscoveryClient(com.netflix.discovery.EurekaClient eurekaClient,
com.netflix.discovery.EurekaClientConfig clientConfig)
public String description()
description in interface org.springframework.cloud.client.discovery.DiscoveryClientpublic List<org.springframework.cloud.client.ServiceInstance> getInstances(String serviceId)
getInstances in interface org.springframework.cloud.client.discovery.DiscoveryClientpublic List<String> getServices()
getServices in interface org.springframework.cloud.client.discovery.DiscoveryClientpublic int getOrder()
getOrder in interface org.springframework.cloud.client.discovery.DiscoveryClientgetOrder in interface org.springframework.core.OrderedCopyright © 2019 Pivotal Software, Inc.. All rights reserved.