@Test public void cConfigServerListNoEntriesTest() throws InterruptedException { ConfigurationManager.getConfigInstance().setProperty("janus.listOfServers."+VIP, ""); ConfigServerList serverList = new ConfigServerList(VIP); List<ServerInstance> servers = serverList.getListOfServers(); Assert.assertTrue( servers.size() == 0); }
@Override public List<ServerInstance> getListOfServers() { return servers.get(); }
ConfigServerList implements ServerList { @Override public List<ServerInstance> getListOfServers() { return servers.get(); } }
ConfigServerList implements ServerList { @Override public List<ServerInstance> getListOfServers() { return servers.get(); } ConfigServerList(String serviceName); }
ConfigServerList implements ServerList { @Override public List<ServerInstance> getListOfServers() { return servers.get(); } ConfigServerList(String serviceName); @Override String getServiceName(); @Override List<ServerInstance> getListOfServers(); }
ConfigServerList implements ServerList { @Override public List<ServerInstance> getListOfServers() { return servers.get(); } ConfigServerList(String serviceName); @Override String getServiceName(); @Override List<ServerInstance> getListOfServers(); final static String PROPERTY_NAME_PREFIX; }