}
private void processMainServer(Map<Server, Long> servers, RouterConfig routerConfig, Map<String, Long> numbers) {
for (Entry<String, Long> entry : numbers.entrySet()) {
String domainName = entry.getKey();
Domain defaultDomainConfig = m_configManager.getRouterConfig().getDomains().get(domainName);
Long value = entry.getValue();
if (defaultDomainConfig == null) {
Server server = findMinProcessServer(servers);
Long oldValue = servers.get(server);
Domain domainConfig = new Domain(domainName);
servers.put(server, oldValue + value);
domainConfig.addServer(server);
routerConfig.addDomain(domainConfig);
} else {
routerConfig.addDomain(defaultDomainConfig);
Server server = defaultDomainConfig.getServers().get(0);