boolean isFound = false;
for (String hostname : listOfHostnames) {
// check to see whether hostname is blocked or not
if (!ClientUtils.isEmpty(hostname) && !ClientData.isBlockHost(hostname)) {
String firstHostname = listOfHostnames.removeFirst();
executeForServers(responseFuture, key, firstHostname, listOfHostnames);
isFound = true;
break;
} else {
listOfHostnames.removeFirst();
}
}
// all the servers were in block list
if (!isFound) {
responseFuture.set(new DataResponse(null, DataErrorEnum.SERVICE_UNAVAILABLE,