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
.vertexParallelism
is necessary to createExecutionGraph
slotAssignments
are used to schedule it onto the cluster
AdaptiveScheduler
passes this structure fromWaitingForResources
toCreatingExecutionGraph
stages.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JobSchedulingPlan.SlotAssignment
Assignment 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 JobSchedulingPlan
empty()
Create an emptyJobSchedulingPlan
with no information about vertices or allocations.Collection<JobSchedulingPlan.SlotAssignment>
getSlotAssignments()
VertexParallelism
getVertexParallelism()
String
toString()
-
-
-
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 emptyJobSchedulingPlan
with no information about vertices or allocations.
-
-