public class ZookeeperDiscoveryClient extends Object implements org.springframework.cloud.client.discovery.DiscoveryClient
Constructor and Description |
---|
ZookeeperDiscoveryClient(ZookeeperServiceDiscovery serviceDiscovery,
ZookeeperDependencies zookeeperDependencies) |
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 ZookeeperDiscoveryClient(ZookeeperServiceDiscovery serviceDiscovery, ZookeeperDependencies zookeeperDependencies)
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.