Interface SlotInfo

  • All Known Subinterfaces:
    PhysicalSlot, SlotContext

    public interface SlotInfo
    Interface that provides basic information in the context of a slot.
    • Method Detail

      • getAllocationId

        AllocationID getAllocationId()
        Gets the id under which the slot has been allocated on the TaskManager. This id uniquely identifies the physical slot.
        Returns:
        The id under which the slot has been allocated on the TaskManager
      • getTaskManagerLocation

        TaskManagerLocation getTaskManagerLocation()
        Gets the location info of the TaskManager that offers this slot.
        Returns:
        The location info of the TaskManager that offers this slot
      • getPhysicalSlotNumber

        int getPhysicalSlotNumber()
        Gets the number of the slot.
        Returns:
        The number of the slot on the TaskManager.
      • getResourceProfile

        ResourceProfile getResourceProfile()
        Returns the resource profile of the slot.
        Returns:
        the resource profile of the slot.
      • willBeOccupiedIndefinitely

        boolean willBeOccupiedIndefinitely()
        Returns whether the slot will be occupied indefinitely.
        Returns:
        true if the slot will be occupied indefinitely, otherwise false.