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
|
ServiceInstance |
getLocalServiceInstance()
Deprecated.
|
List<String> |
getServices()
Deprecated.
|
public NoopDiscoveryClient(ServiceInstance instance)
public String description()
DiscoveryClient
description
in interface DiscoveryClient
public ServiceInstance getLocalServiceInstance()
getLocalServiceInstance
in interface DiscoveryClient
public List<ServiceInstance> getInstances(String serviceId)
DiscoveryClient
getInstances
in interface DiscoveryClient
serviceId
- the serviceId to querypublic List<String> getServices()
getServices
in interface DiscoveryClient
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.