public abstract class TaskPartitioner extends Object
| Modifier and Type | Method and Description | 
|---|---|
abstract List<Task> | 
createTasks()
Creates and returns set of all tasks for given problem at once. 
 | 
abstract long | 
createTasks(LocalTaskQueue<Task> queue)
Creates set of all tasks for given problem, but streams them directly
 into task queue. 
 | 
long | 
getNumIterations()  | 
public abstract List<Task> createTasks()
public abstract long createTasks(LocalTaskQueue<Task> queue)
queue - queue of taksspublic long getNumIterations()
Copyright © 2021 The Apache Software Foundation. All rights reserved.