public class PageRankWorker extends TaskWorker
computeEnvironment, config, persistentVolume, taskExecutor, volatileVolume, workerController, workerEnvironment, workerId
Constructor and Description |
---|
PageRankWorker() |
Modifier and Type | Method and Description |
---|---|
static ComputeGraph |
buildComputationTG(int parallelismValue,
Config conf) |
static ComputeGraph |
buildDataPointsTG(java.lang.String dataDirectory,
int dsize,
int parallelismValue,
Config conf) |
static ComputeGraph |
buildGraphInitialValueTG(java.lang.String dataDirectory,
int dsize,
int parallelismValue,
Config conf) |
void |
execute()
A user needs to implement this method to create the task graph and execute it
|
execute
public void execute()
TaskWorker
execute
in class TaskWorker
public static ComputeGraph buildDataPointsTG(java.lang.String dataDirectory, int dsize, int parallelismValue, Config conf)
public static ComputeGraph buildGraphInitialValueTG(java.lang.String dataDirectory, int dsize, int parallelismValue, Config conf)
public static ComputeGraph buildComputationTG(int parallelismValue, Config conf)