instead@Deprecated public class NoopDiscoveryClient extends Object implements DiscoveryClient
| Constructor and Description |
|---|
NoopDiscoveryClient(ServiceInstance instance)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
description()
Deprecated.
A human readable description of the implementation, used in HealthIndicator
|
List<ServiceInstance> |
getInstances(String serviceId)
Deprecated.
Get all ServiceInstances associated with a particular serviceId
|
List<String> |
getServices()
Deprecated.
|
public NoopDiscoveryClient(ServiceInstance instance)
public String description()
DiscoveryClientdescription in interface DiscoveryClientpublic List<ServiceInstance> getInstances(String serviceId)
DiscoveryClientgetInstances in interface DiscoveryClientserviceId - the serviceId to querypublic List<String> getServices()
getServices in interface DiscoveryClientCopyright © 2018 Pivotal Software, Inc.. All rights reserved.