Interface TaskManagerSlotInformation

All Known Implementing Classes:
FineGrainedTaskManagerSlot

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

    • getSlotId

      SlotID getSlotId()
    • getAllocationId

      @Nullable AllocationID getAllocationId()
    • getJobId

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

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

      InstanceID getInstanceId()
    • getTaskManagerConnection

      TaskExecutorConnection getTaskManagerConnection()
    • 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