com.netflix.niws.loadbalancer
Class DiscoveryEnabledNIWSServerList

java.lang.Object
  extended by com.netflix.loadbalancer.AbstractServerList<DiscoveryEnabledServer>
      extended by 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


Constructor Summary
DiscoveryEnabledNIWSServerList()
           
 
Method Summary
 com.netflix.loadbalancer.AbstractServerListFilter<DiscoveryEnabledServer> getFilterImpl(com.netflix.client.config.IClientConfig niwsClientConfig)
           
 java.util.List<DiscoveryEnabledServer> getInitialListOfServers()
           
 java.util.List<DiscoveryEnabledServer> getUpdatedListOfServers()
           
 java.lang.String getVipAddresses()
           
 void initWithNiwsConfig(com.netflix.client.config.IClientConfig clientConfig)
           
 void setVipAddresses(java.lang.String vipAddresses)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DiscoveryEnabledNIWSServerList

public DiscoveryEnabledNIWSServerList()
Method Detail

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