LoadbalanceAlgorithm algorithm,
ConfigurationContext configCtx,
boolean isClusteringEnabled,
String endpointName) {
for (Map.Entry<String, String> entry : hostDomainMap.entrySet()) {
AlgorithmContext algorithmContext =
new AlgorithmContext(isClusteringEnabled, configCtx, endpointName + "." + entry.getKey());
this.hostDomainAlgorithmContextMap.put(entry.getKey(),
new DomainAlgorithmContext(entry.getValue(), algorithm.clone(), algorithmContext));
}
}