Class JobSchedulingPlan
- java.lang.Object
-
- org.apache.flink.runtime.scheduler.adaptive.JobSchedulingPlan
-
@Internal public class JobSchedulingPlan extends Object
A plan that describes how to executeJobGraph.vertexParallelismis necessary to createExecutionGraphslotAssignmentsare used to schedule it onto the cluster
AdaptiveSchedulerpasses this structure fromWaitingForResourcestoCreatingExecutionGraphstages.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJobSchedulingPlan.SlotAssignmentAssignment of a slot to some target (e.g. a slot sharing group).
-
Constructor Summary
Constructors Constructor Description JobSchedulingPlan(VertexParallelism vertexParallelism, Collection<JobSchedulingPlan.SlotAssignment> slotAssignments)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JobSchedulingPlanempty()Create an emptyJobSchedulingPlanwith no information about vertices or allocations.Collection<JobSchedulingPlan.SlotAssignment>getSlotAssignments()VertexParallelismgetVertexParallelism()StringtoString()
-
-
-
Constructor Detail
-
JobSchedulingPlan
public JobSchedulingPlan(VertexParallelism vertexParallelism, Collection<JobSchedulingPlan.SlotAssignment> slotAssignments)
-
-
Method Detail
-
getVertexParallelism
public VertexParallelism getVertexParallelism()
-
getSlotAssignments
public Collection<JobSchedulingPlan.SlotAssignment> getSlotAssignments()
-
empty
public static JobSchedulingPlan empty()
Create an emptyJobSchedulingPlanwith no information about vertices or allocations.
-
-