Class LocalParWorker
- java.lang.Object
- 
- org.apache.sysds.runtime.controlprogram.parfor.ParWorker
- 
- org.apache.sysds.runtime.controlprogram.parfor.LocalParWorker
 
 
- 
- All Implemented Interfaces:
- Runnable
 
 public class LocalParWorker extends ParWorker implements Runnable Instances of this class can be used to execute tasks in parallel. Within each ParWorker multiple iterations of a single task and subsequent tasks are executed sequentially. Resiliency approach: retry on computation error, abort on task queue error
- 
- 
Constructor SummaryConstructors Constructor Description LocalParWorker(long ID, LocalTaskQueue<Task> q, ParForBody body, CompilerConfig cconf, int max_retry, boolean monitor)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<String>getFunctionNames()voidrun()voidsetFunctionNames(Collection<String> fnNames)- 
Methods inherited from class org.apache.sysds.runtime.controlprogram.parfor.ParWorkergetExecutedIterations, getExecutedTasks, getExecutionContext, getVariables
 
- 
 
- 
- 
- 
Constructor Detail- 
LocalParWorkerpublic LocalParWorker(long ID, LocalTaskQueue<Task> q, ParForBody body, CompilerConfig cconf, int max_retry, boolean monitor)
 
- 
 - 
Method Detail- 
setFunctionNamespublic void setFunctionNames(Collection<String> fnNames) 
 - 
getFunctionNamespublic Collection<String> getFunctionNames() 
 
- 
 
-