Interface TaskManagerSlotInformation

  • All Known Implementing Classes:
    FineGrainedTaskManagerSlot

    public interface TaskManagerSlotInformation
    Basic information about a TaskManager slot.
    • Method Detail

      • getSlotId

        SlotID getSlotId()
      • getJobId

        @Nullable
        org.apache.flink.api.common.JobID getJobId()
      • getState

        org.apache.flink.runtime.resourcemanager.slotmanager.SlotState getState()
      • isMatchingRequirement

        default boolean isMatchingRequirement​(ResourceProfile required)
        Returns true if the required ResourceProfile can be fulfilled by this slot.
        Parameters:
        required - resources
        Returns:
        true if the this slot can fulfill the resource requirements
      • getResourceProfile

        ResourceProfile getResourceProfile()
        Get resource profile of this slot.
        Returns:
        resource profile of this slot