Set<Map.Entry<String, Set<WorkerSlot>>> entries = usedSlots.entrySet(); for (Map.Entry<String, Set<WorkerSlot>> entry : entries) { if (!cluster.isBlacklistedHost(entry.getKey())) { cluster.freeSlots(entry.getValue());
Set<Map.Entry<String, Set<WorkerSlot>>> entries = usedSlots.entrySet(); for (Map.Entry<String, Set<WorkerSlot>> entry : entries) { if (!cluster.isBlacklistedHost(entry.getKey())) { cluster.freeSlots(entry.getValue());