public abstract class BenchWindowTaskWorker extends TaskWorker
Modifier and Type | Class and Description |
---|---|
protected static class |
BenchWindowTaskWorker.SourceWindowTask |
Modifier and Type | Field and Description |
---|---|
protected ComputeConnection |
computeConnection |
protected ComputeGraph |
computeGraph |
protected ComputeGraphBuilder |
computeGraphBuilder |
protected ExecutionPlan |
executionPlan |
protected static int[] |
inputDataArray |
protected static JobParameters |
jobParameters |
protected static BenchmarkResultsRecorder |
resultsRecorder |
protected static java.lang.String |
SINK |
protected static java.lang.String |
SOURCE |
computeEnvironment, config, persistentVolume, taskExecutor, volatileVolume, workerController, workerEnvironment, workerId
Constructor and Description |
---|
BenchWindowTaskWorker() |
Modifier and Type | Method and Description |
---|---|
abstract ComputeGraphBuilder |
buildTaskGraph() |
void |
execute()
A user needs to implement this method to create the task graph and execute it
|
execute
protected static final java.lang.String SOURCE
protected static final java.lang.String SINK
protected ComputeGraph computeGraph
protected ComputeGraphBuilder computeGraphBuilder
protected ExecutionPlan executionPlan
protected ComputeConnection computeConnection
protected static JobParameters jobParameters
protected static int[] inputDataArray
protected static BenchmarkResultsRecorder resultsRecorder
public void execute()
TaskWorker
execute
in class TaskWorker
public abstract ComputeGraphBuilder buildTaskGraph()