Class PendingTaskManager

java.lang.Object
org.apache.flink.runtime.resourcemanager.slotmanager.PendingTaskManager

public class PendingTaskManager extends Object
Represents a pending task manager in the SlotManager.
  • Constructor Details

    • PendingTaskManager

      public PendingTaskManager(ResourceProfile totalResourceProfile, int numSlots)
  • Method Details

    • getTotalResourceProfile

      public ResourceProfile getTotalResourceProfile()
    • getDefaultSlotResourceProfile

      public ResourceProfile getDefaultSlotResourceProfile()
    • getPendingTaskManagerId

      public PendingTaskManagerId getPendingTaskManagerId()
    • getNumSlots

      public int getNumSlots()
    • getUnusedResource

      public ResourceProfile getUnusedResource()
    • getPendingSlotAllocationRecords

      public Map<org.apache.flink.api.common.JobID,ResourceCounter> getPendingSlotAllocationRecords()
    • clearAllPendingAllocations

      public void clearAllPendingAllocations()
    • replaceAllPendingAllocations

      public void replaceAllPendingAllocations(Map<org.apache.flink.api.common.JobID,ResourceCounter> pendingSlotAllocations)
    • clearPendingAllocationsOfJob

      public void clearPendingAllocationsOfJob(org.apache.flink.api.common.JobID jobId)
    • toString

      public String toString()
      Overrides:
      toString in class Object