@Override public AllocationID getAllocationId() { return slotContext.getAllocationId(); }
@Override public int getPhysicalSlotNumber() { return slotContext.getPhysicalSlotNumber(); }
/** * Gets the actor gateway that can be used to send messages to the TaskManager. * * <p>This method should be removed once the new interface-based RPC abstraction is in place * * @return The actor gateway that can be used to send messages to the TaskManager. */ public TaskManagerGateway getTaskManagerGateway() { return slotContext.getTaskManagerGateway(); }
/** * 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(); }
LOG.trace("Fulfill multi task slot [{}] with slot [{}].", slotRequestId, slotContext.getAllocationId()); slotContext.getTaskManagerLocation(), taskManagerLocation -> new HashSet<>(4));
/** * 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(); }
LOG.trace("Fulfill multi task slot [{}] with slot [{}].", slotRequestId, slotContext.getAllocationId()); slotContext.getTaskManagerLocation(), taskManagerLocation -> new HashSet<>(4));
@Override public TaskManagerLocation getTaskManagerLocation() { return slotContext.getTaskManagerLocation(); }
@Override public AllocationID getAllocationId() { return slotContext.getAllocationId(); }
/** * Gets the actor gateway that can be used to send messages to the TaskManager. * * <p>This method should be removed once the new interface-based RPC abstraction is in place * * @return The actor gateway that can be used to send messages to the TaskManager. */ public TaskManagerGateway getTaskManagerGateway() { return slotContext.getTaskManagerGateway(); }
@Override public int getPhysicalSlotNumber() { return slotContext.getPhysicalSlotNumber(); }
@Override public TaskManagerLocation getTaskManagerLocation() { return slotContext.getTaskManagerLocation(); }
@Override public AllocationID getAllocationId() { return slotContext.getAllocationId(); }
/** * Gets the actor gateway that can be used to send messages to the TaskManager. * * <p>This method should be removed once the new interface-based RPC abstraction is in place * * @return The actor gateway that can be used to send messages to the TaskManager. */ public TaskManagerGateway getTaskManagerGateway() { return slotContext.getTaskManagerGateway(); }
@Override public int getPhysicalSlotNumber() { return slotContext.getPhysicalSlotNumber(); }
/** * 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 AllocationID getAllocationId() { return getSlotContext().getAllocationId(); }
@Override public TaskManagerGateway getTaskManagerGateway() { return slotContext.getTaskManagerGateway(); }
private SharedSlot( SlotContext slotInformation, SlotOwner owner, int slotNumber, SlotSharingGroupAssignment assignmentGroup, @Nullable SharedSlot parent, @Nullable AbstractID groupId) { super(slotInformation, owner, slotNumber, parent, groupId); this.assignmentGroup = checkNotNull(assignmentGroup); this.subSlots = new HashSet<Slot>(); }
@Override public TaskManagerLocation getTaskManagerLocation() { return slotContext.getTaskManagerLocation(); }