Class PendingTaskManager


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

      • PendingTaskManager

        public PendingTaskManager​(ResourceProfile totalResourceProfile,
                                  int numSlots)
    • Method Detail

      • getTotalResourceProfile

        public ResourceProfile getTotalResourceProfile()
      • getDefaultSlotResourceProfile

        public ResourceProfile getDefaultSlotResourceProfile()
      • getNumSlots

        public int getNumSlots()
      • 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)