Class JobSchedulingPlan
java.lang.Object
org.apache.flink.runtime.scheduler.adaptive.JobSchedulingPlan
A plan that describes how to execute
JobGraph.
vertexParallelismis necessary to createExecutionGraphslotAssignmentsare used to schedule it onto the cluster
AdaptiveScheduler passes this structure from WaitingForResources to CreatingExecutionGraph stages.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAssignment of a slot to some target (e.g. a slot sharing group). -
Constructor Summary
ConstructorsConstructorDescriptionJobSchedulingPlan(VertexParallelism vertexParallelism, Collection<JobSchedulingPlan.SlotAssignment> slotAssignments) -
Method Summary
Modifier and TypeMethodDescriptionstatic JobSchedulingPlanempty()Create an emptyJobSchedulingPlanwith no information about vertices or allocations.toString()
-
Constructor Details
-
JobSchedulingPlan
public JobSchedulingPlan(VertexParallelism vertexParallelism, Collection<JobSchedulingPlan.SlotAssignment> slotAssignments)
-
-
Method Details
-
getVertexParallelism
-
getSlotAssignments
-
empty
Create an emptyJobSchedulingPlanwith no information about vertices or allocations. -
toString
-