NodeInstance nodeInstance = nodeInstanceEntry.getValue(); for (RoleStatus roleStatus : roleStatuses) { if (nodeInstance.exceedsFailureThreshold(roleStatus)) { shouldBeBlacklisted = true; break;
NodeInstance nodeInstance = nodeInstanceEntry.getValue(); for (RoleStatus roleStatus : roleStatuses) { if (nodeInstance.exceedsFailureThreshold(roleStatus)) { shouldBeBlacklisted = true; break;
|| (candidate.isOnline() && !candidate.exceedsFailureThreshold(role))) { targets.remove(i);
|| (candidate.isOnline() && !candidate.exceedsFailureThreshold(role))) { targets.remove(i);