Class DefaultSlotTracker


  • public class DefaultSlotTracker
    extends Object
    Default SlotTracker implementation.
    • Constructor Detail

      • DefaultSlotTracker

        public DefaultSlotTracker()
    • Method Detail

      • registerSlotStatusUpdateListener

        public void registerSlotStatusUpdateListener​(org.apache.flink.runtime.resourcemanager.slotmanager.SlotStatusUpdateListener slotStatusUpdateListener)
      • removeSlots

        public void removeSlots​(Iterable<SlotID> slotsToRemove)
      • notifyFree

        public void notifyFree​(SlotID slotId)
      • notifyAllocationStart

        public void notifyAllocationStart​(SlotID slotId,
                                          org.apache.flink.api.common.JobID jobId)
      • notifyAllocationComplete

        public void notifyAllocationComplete​(SlotID slotId,
                                             org.apache.flink.api.common.JobID jobId)
      • notifySlotStatus

        public boolean notifySlotStatus​(Iterable<SlotStatus> slotStatuses)
      • getTaskExecutorsWithAllocatedSlotsForJob

        public Collection<TaskExecutorConnection> getTaskExecutorsWithAllocatedSlotsForJob​(org.apache.flink.api.common.JobID jobId)