/** * Gets the location info of the TaskManager that offers this slot. * * @return The location info of the TaskManager that offers this slot */ public TaskManagerLocation getTaskManagerLocation() { return slotContext.getTaskManagerLocation(); }
/** * Gets the location info of the TaskManager that offers this slot. * * @return The location info of the TaskManager that offers this slot */ public TaskManagerLocation getTaskManagerLocation() { return slotContext.getTaskManagerLocation(); }
@Override public TaskManagerLocation getTaskManagerLocation() { return slotContext.getTaskManagerLocation(); }
@Override public TaskManagerLocation getTaskManagerLocation() { return slotContext.getTaskManagerLocation(); }
/** * Gets the location info of the TaskManager that offers this slot. * * @return The location info of the TaskManager that offers this slot */ public TaskManagerLocation getTaskManagerLocation() { return slotContext.getTaskManagerLocation(); }
@Override public TaskManagerLocation getTaskManagerLocation() { return slotContext.getTaskManagerLocation(); }
/** * Gets the ID of the TaskManager that offers this slot. * * @return The ID of the TaskManager that offers this slot */ public ResourceID getTaskManagerID() { return slotContext.getTaskManagerLocation().getResourceID(); }
/** * Gets the ID of the TaskManager that offers this slot. * * @return The ID of the TaskManager that offers this slot */ public ResourceID getTaskManagerID() { return slotContext.getTaskManagerLocation().getResourceID(); }
/** * Gets the ID of the TaskManager that offers this slot. * * @return The ID of the TaskManager that offers this slot */ public ResourceID getTaskManagerID() { return slotContext.getTaskManagerLocation().getResourceID(); }
slotContext.getTaskManagerLocation(), taskManagerLocation -> new HashSet<>(4));
slotContext.getTaskManagerLocation(), taskManagerLocation -> new HashSet<>(4));
slotContext.getTaskManagerLocation(), taskManagerLocation -> new HashSet<>(4));
if (preferredResourceIDs.contains(slotContext.getTaskManagerLocation().getResourceID())) { if (additionalRequirementsFilter.test(candidate)) { if (preferredFQHostNames.contains(slotContext.getTaskManagerLocation().getFQDNHostname())) { if (additionalRequirementsFilter.test(candidate)) {
final Set<MultiTaskSlot> multiTaskSlots = resolvedRootSlots.get(slotContext.getTaskManagerLocation()); resolvedRootSlots.remove(slotContext.getTaskManagerLocation());
final Set<MultiTaskSlot> multiTaskSlots = resolvedRootSlots.get(slotContext.getTaskManagerLocation()); resolvedRootSlots.remove(slotContext.getTaskManagerLocation());
final Set<MultiTaskSlot> multiTaskSlots = resolvedRootSlots.get(slotContext.getTaskManagerLocation()); resolvedRootSlots.remove(slotContext.getTaskManagerLocation());
coLocationConstraint.lockLocation(slotContext.getTaskManagerLocation()); } else { log.debug("Failed to lock colocation constraint {} because assigned slot " +
coLocationConstraint.lockLocation(slotContext.getTaskManagerLocation()); } else { log.debug("Failed to lock colocation constraint {} because assigned slot " +
coLocationConstraint.lockLocation(slotContext.getTaskManagerLocation()); } else { log.debug("Failed to lock colocation constraint {} because assigned slot " +