Class ParWorker
- java.lang.Object
- 
- org.apache.sysds.runtime.controlprogram.parfor.ParWorker
 
- 
- Direct Known Subclasses:
- DataPartitionerRemoteSparkMapper,- LocalParWorker,- RemoteDPParForSparkWorker,- RemoteParForSparkWorker
 
 public abstract class ParWorker extends Object Super class for master/worker pattern implementations. Central place to execute set or range tasks.
- 
- 
Constructor SummaryConstructors Constructor Description ParWorker()ParWorker(long ID, ParForBody body, boolean monitor)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetExecutedIterations()Returns a summary statistic of executed iterations and hence should only be called after execution.longgetExecutedTasks()Returns a summary statistic of executed tasks and hence should only be called after execution.ExecutionContextgetExecutionContext()LocalVariableMapgetVariables()
 
- 
- 
- 
Constructor Detail- 
ParWorkerpublic ParWorker() 
 - 
ParWorkerpublic ParWorker(long ID, ParForBody body, boolean monitor)
 
- 
 - 
Method Detail- 
getExecutionContextpublic ExecutionContext getExecutionContext() 
 - 
getVariablespublic LocalVariableMap getVariables() 
 - 
getExecutedTaskspublic long getExecutedTasks() Returns a summary statistic of executed tasks and hence should only be called after execution.- Returns:
- number of executed tasks
 
 - 
getExecutedIterationspublic long getExecutedIterations() Returns a summary statistic of executed iterations and hence should only be called after execution.- Returns:
- number of executed iterations
 
 
- 
 
-