| Modifier and Type | Method and Description |
|---|---|
List<ServiceInstance> |
Consultant.list(String serviceName)
Deprecated.
|
List<ServiceInstance> |
ServiceInstanceBackend.listInstances(String serviceName)
Retrieves a list of service instances from Consul ordered by network distance (nearest to farthest) in the
local datacenter.
|
List<ServiceInstance> |
ServiceInstanceBackend.listInstances(String serviceName,
String datacenter)
Retrieves a list of service instances from Consul ordered by network distance (nearest to farthest) in the
specified datacenter.
|
Optional<ServiceInstance> |
ServiceLocator.next() |
Copyright © 2018. All rights reserved.