@Configuration public class EurekaRibbonClientConfiguration extends Object
@zone
, NIWSServerListClassName, DeploymentContextBasedVipAddresses,
NFLoadBalancerRuleClassName, NIWSServerListFilterClassName and moreModifier and Type | Field and Description |
---|---|
protected static String |
DEFAULT_NAMESPACE |
protected static String |
VALUE_NOT_SET |
Constructor and Description |
---|
EurekaRibbonClientConfiguration() |
EurekaRibbonClientConfiguration(com.netflix.discovery.EurekaClientConfig clientConfig,
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.IPing |
ribbonPing(com.netflix.client.config.IClientConfig config) |
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 EurekaRibbonClientConfiguration()
public EurekaRibbonClientConfiguration(com.netflix.discovery.EurekaClientConfig clientConfig, String serviceId)
@Bean @ConditionalOnMissingBean public com.netflix.loadbalancer.IPing ribbonPing(com.netflix.client.config.IClientConfig config)
@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 © 2015 Pivotal Software, Inc.. All rights reserved.