Class Task
- java.lang.Object
- 
- org.apache.sysds.runtime.controlprogram.parfor.Task
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class Task extends Object implements Serializable A task is a logical group of one or multiple iterations (each iteration is assigned to exactly one task). There, each single task is executed sequentially. See TaskPartitioner for how tasks are created and ParWorker for how those tasks are eventually executed. NOTE: (Extension possibility: group of statements)- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classTask.TaskType
 - 
Field SummaryFields Modifier and Type Field Description static intMAX_TASK_SIZEstatic intMAX_VARNAME_SIZE
 - 
Constructor SummaryConstructors Constructor Description Task()Task(String iterVar, Task.TaskType type)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddIteration(IntObject indexVal)List<IntObject>getIterations()Task.TaskTypegetType()StringgetVarName()static TaskparseCompactString(String stask)intsize()StringtoCompactString()StringtoCompactString(int maxDigits)StringtoFormatedString()StringtoString()
 
- 
- 
- 
Field Detail- 
MAX_VARNAME_SIZEpublic static final int MAX_VARNAME_SIZE - See Also:
- Constant Field Values
 
 - 
MAX_TASK_SIZEpublic static final int MAX_TASK_SIZE - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
Taskpublic Task() 
 - 
Taskpublic Task(String iterVar, Task.TaskType type) 
 
- 
 - 
Method Detail- 
addIterationpublic void addIteration(IntObject indexVal) 
 - 
getTypepublic Task.TaskType getType() 
 - 
getVarNamepublic String getVarName() 
 - 
sizepublic int size() 
 - 
toFormatedStringpublic String toFormatedString() 
 - 
toCompactStringpublic String toCompactString() 
 - 
toCompactStringpublic String toCompactString(int maxDigits) 
 
- 
 
-