com.netflix.loadbalancer
Interface ServerList<T extends Server>
- Type Parameters:
T
-
- All Known Implementing Classes:
- AbstractServerList, ConfigurationBasedServerList
public interface ServerList<T extends Server>
Interface that defines the methods sed to obtain the List of Servers
getInitialListOfServers
java.util.List<T> getInitialListOfServers()
getUpdatedListOfServers
java.util.List<T> getUpdatedListOfServers()
- Return updated list of servers. This is called say every 30 secs
(configurable) by the Loadbalancer's Ping cycle
- Returns: