@Configuration public class EtcdRibbonClientConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
DEFAULT_NAMESPACE |
protected static String |
VALUE_NOT_SET |
Constructor and Description |
---|
EtcdRibbonClientConfiguration() |
EtcdRibbonClientConfiguration(String serviceId) |
Modifier and Type | Method and Description |
---|---|
protected String |
getKey(String serviceId,
String suffix) |
protected com.netflix.config.DynamicStringProperty |
getProperty(String key) |
void |
preprocess() |
com.netflix.loadbalancer.ServerList<?> |
ribbonServerList(com.netflix.client.config.IClientConfig config) |
protected void |
setProp(String serviceId,
String suffix,
String value) |
protected static final String VALUE_NOT_SET
protected static final String DEFAULT_NAMESPACE
public EtcdRibbonClientConfiguration()
public EtcdRibbonClientConfiguration(String serviceId)
@Bean @ConditionalOnMissingBean public com.netflix.loadbalancer.ServerList<?> ribbonServerList(com.netflix.client.config.IClientConfig config)
@PostConstruct public void preprocess()
protected com.netflix.config.DynamicStringProperty getProperty(String key)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.