public final class TaskPlanBuilder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static LogicalPlan |
build(int workerID,
java.util.List<JobMasterAPI.WorkerInfo> workerInfoList,
TaskSchedulePlan schedulePlan,
TaskIdGenerator idGenerator)
Create a task plan based on the resource plan from resources and scheduled plan
|
public static LogicalPlan build(int workerID, java.util.List<JobMasterAPI.WorkerInfo> workerInfoList, TaskSchedulePlan schedulePlan, TaskIdGenerator idGenerator)
schedulePlan
- schedule planidGenerator
- global task id generator