public class EurekaDiscoveryClient extends Object implements org.springframework.cloud.client.discovery.DiscoveryClient
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.DiscoveryClient
public org.springframework.cloud.client.ServiceInstance getLocalServiceInstance()
getLocalServiceInstance
in interface org.springframework.cloud.client.discovery.DiscoveryClient
public List<org.springframework.cloud.client.ServiceInstance> getInstances(String serviceId)
getInstances
in interface org.springframework.cloud.client.discovery.DiscoveryClient
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.