public class ZookeeperServerList extends com.netflix.loadbalancer.AbstractServerList<ZookeeperServer>
Constructor and Description |
---|
ZookeeperServerList(org.apache.curator.x.discovery.ServiceDiscovery<ZookeeperInstance> serviceDiscovery) |
Modifier and Type | Method and Description |
---|---|
List<ZookeeperServer> |
getInitialListOfServers() |
List<ZookeeperServer> |
getUpdatedListOfServers() |
void |
initFromDependencies(com.netflix.client.config.IClientConfig clientConfig,
ZookeeperDependencies zookeeperDependencies) |
void |
initWithNiwsConfig(com.netflix.client.config.IClientConfig clientConfig) |
public ZookeeperServerList(org.apache.curator.x.discovery.ServiceDiscovery<ZookeeperInstance> serviceDiscovery)
public void initWithNiwsConfig(com.netflix.client.config.IClientConfig clientConfig)
public void initFromDependencies(com.netflix.client.config.IClientConfig clientConfig, ZookeeperDependencies zookeeperDependencies)
public List<ZookeeperServer> getInitialListOfServers()
public List<ZookeeperServer> getUpdatedListOfServers()
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.