Class DefaultSlotAssigner
- java.lang.Object
-
- org.apache.flink.runtime.scheduler.adaptive.allocator.DefaultSlotAssigner
-
- All Implemented Interfaces:
SlotAssigner
public class DefaultSlotAssigner extends Object implements SlotAssigner
SimpleSlotAssignerthat treats all slots and slot sharing groups equally.
-
-
Constructor Summary
Constructors Constructor Description DefaultSlotAssigner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<JobSchedulingPlan.SlotAssignment>assignSlots(JobInformation jobInformation, Collection<? extends SlotInfo> freeSlots, VertexParallelism vertexParallelism, JobAllocationsInformation previousAllocations)
-
-
-
Method Detail
-
assignSlots
public Collection<JobSchedulingPlan.SlotAssignment> assignSlots(JobInformation jobInformation, Collection<? extends SlotInfo> freeSlots, VertexParallelism vertexParallelism, JobAllocationsInformation previousAllocations)
- Specified by:
assignSlotsin interfaceSlotAssigner
-
-