instead.@Deprecated public class NoopDiscoveryClient extends Object implements DiscoveryClient
DEFAULT_ORDER| 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.
Gets all ServiceInstances associated with a particular serviceId.
|
List<String> |
getServices()
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOrderpublic NoopDiscoveryClient(ServiceInstance instance)
public String description()
DiscoveryClientdescription in interface DiscoveryClientpublic List<ServiceInstance> getInstances(String serviceId)
DiscoveryClientgetInstances in interface DiscoveryClientserviceId - The serviceId to query.public List<String> getServices()
getServices in interface DiscoveryClientCopyright © 2020 Pivotal Software, Inc.. All rights reserved.