com.netflix.niws.loadbalancer
Class DiscoveryEnabledNIWSServerList
java.lang.Object
com.netflix.loadbalancer.AbstractServerList<DiscoveryEnabledServer>
com.netflix.niws.loadbalancer.DiscoveryEnabledNIWSServerList
- All Implemented Interfaces:
- com.netflix.client.IClientConfigAware, com.netflix.loadbalancer.ServerList<DiscoveryEnabledServer>
public class DiscoveryEnabledNIWSServerList
- extends com.netflix.loadbalancer.AbstractServerList<DiscoveryEnabledServer>
Class to hold a list of servers that NIWS RestClient can use
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DiscoveryEnabledNIWSServerList
public DiscoveryEnabledNIWSServerList()
initWithNiwsConfig
public void initWithNiwsConfig(com.netflix.client.config.IClientConfig clientConfig)
getInitialListOfServers
public java.util.List<DiscoveryEnabledServer> getInitialListOfServers()
getUpdatedListOfServers
public java.util.List<DiscoveryEnabledServer> getUpdatedListOfServers()
getVipAddresses
public java.lang.String getVipAddresses()
setVipAddresses
public void setVipAddresses(java.lang.String vipAddresses)
getFilterImpl
public com.netflix.loadbalancer.AbstractServerListFilter<DiscoveryEnabledServer> getFilterImpl(com.netflix.client.config.IClientConfig niwsClientConfig)
throws com.netflix.client.ClientException
- Overrides:
getFilterImpl
in class com.netflix.loadbalancer.AbstractServerList<DiscoveryEnabledServer>
- Throws:
com.netflix.client.ClientException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object