public class MemoryServerListProvider extends java.lang.Object implements IServerListProvider
| Constructor and Description |
|---|
MemoryServerListProvider() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ServerRecord> |
fetchServerList()
Returns the stored server list in memory
|
void |
updateServerList(java.util.List<ServerRecord> endpoints)
Stores the supplied list of servers in memory
|
public java.util.List<ServerRecord> fetchServerList()
fetchServerList in interface IServerListProviderpublic void updateServerList(java.util.List<ServerRecord> endpoints)
updateServerList in interface IServerListProviderendpoints - List of endpoints (servers)