|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.loadbalancer.AbstractServerList<T>
public abstract class AbstractServerList<T extends Server>
The class includes an API to create a filter to be use by load balancer
to filter the servers returned from ServerList.getUpdatedListOfServers() or ServerList.getInitialListOfServers().
| Constructor Summary | |
|---|---|
AbstractServerList()
|
|
| Method Summary | |
|---|---|
AbstractServerListFilter<T> |
getFilterImpl(com.netflix.client.config.IClientConfig niwsClientConfig)
Get a ServerListFilter instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.netflix.loadbalancer.ServerList |
|---|
getInitialListOfServers, getUpdatedListOfServers |
| Methods inherited from interface com.netflix.client.IClientConfigAware |
|---|
initWithNiwsConfig |
| Constructor Detail |
|---|
public AbstractServerList()
| Method Detail |
|---|
public AbstractServerListFilter<T> getFilterImpl(com.netflix.client.config.IClientConfig niwsClientConfig)
throws com.netflix.client.ClientException
ClientFactory.instantiateInstanceWithClientConfig(String, IClientConfig)
which in turn uses reflection to initialize the filter instance.
The filter class name is determined by the value of CommonClientConfigKey.NIWSServerListFilterClassName
in the IClientConfig. The default implementation is ZoneAffinityServerListFilter.
com.netflix.client.ClientException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||