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