public class EurekaDiscoveryClient extends Object implements org.springframework.cloud.client.discovery.DiscoveryClient
| Modifier and Type | Class and Description |
|---|---|
static class |
EurekaDiscoveryClient.EurekaServiceInstance |
| Modifier and Type | Field and Description |
|---|---|
static String |
DESCRIPTION |
| Constructor and Description |
|---|
EurekaDiscoveryClient() |
| Modifier and Type | Method and Description |
|---|---|
String |
description() |
List<org.springframework.cloud.client.ServiceInstance> |
getInstances(String serviceId) |
org.springframework.cloud.client.ServiceInstance |
getLocalServiceInstance() |
List<String> |
getServices() |
public static final String DESCRIPTION
public String description()
description in interface org.springframework.cloud.client.discovery.DiscoveryClientpublic org.springframework.cloud.client.ServiceInstance getLocalServiceInstance()
getLocalServiceInstance 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.DiscoveryClientCopyright © 2016 Pivotal Software, Inc.. All rights reserved.