Class ParWorker
java.lang.Object
org.apache.sysds.runtime.controlprogram.parfor.ParWorker
- Direct Known Subclasses:
DataPartitionerRemoteSparkMapper,LocalParWorker,RemoteDPParForSparkWorker,RemoteParForSparkWorker
Super class for master/worker pattern implementations. Central place to
execute set or range tasks.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns a summary statistic of executed iterations and hence should only be called after execution.longReturns a summary statistic of executed tasks and hence should only be called after execution.
-
Constructor Details
-
ParWorker
public ParWorker() -
ParWorker
-
-
Method Details
-
getExecutionContext
-
getVariables
-
getExecutedTasks
public long getExecutedTasks()Returns a summary statistic of executed tasks and hence should only be called after execution.- Returns:
- number of executed tasks
-
getExecutedIterations
public long getExecutedIterations()Returns a summary statistic of executed iterations and hence should only be called after execution.- Returns:
- number of executed iterations
-