felix.task
Class ExecuteOperatorTask

java.lang.Object
  extended by felix.society.Task
      extended by felix.task.ExecuteOperatorTask

public class ExecuteOperatorTask
extends Task

Task Object for executing an operator.

Author:
czhang

Nested Class Summary
 class ExecuteOperatorTask.ExecuteOperatorWorker
          A worker that simply calls the run() function of the operator object.
 
Nested classes/interfaces inherited from class felix.society.Task
Task.TaskType
 
Field Summary
 StatOperator sop
          Operator.
 
Fields inherited from class felix.society.Task
currentFuture, currentWorker, softpool
 
Constructor Summary
ExecuteOperatorTask(StatOperator _sop)
          Constructor.
 
Method Summary
 Worker generateWorker()
          Generate worker for TASK (threads).
 Worker generateWorker(java.util.concurrent.ExecutorService pool)
          Generate worker for TASKLIST, TASKSET (threads).
 
Methods inherited from class felix.society.Task
addSubTask, execute, getType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sop

public StatOperator sop
Operator.

Constructor Detail

ExecuteOperatorTask

public ExecuteOperatorTask(StatOperator _sop)
Constructor.

Parameters:
_sop -
Method Detail

generateWorker

public Worker generateWorker()
Description copied from class: Task
Generate worker for TASK (threads).

Specified by:
generateWorker in class Task
Returns:

generateWorker

public Worker generateWorker(java.util.concurrent.ExecutorService pool)
Description copied from class: Task
Generate worker for TASKLIST, TASKSET (threads).

Specified by:
generateWorker in class Task
Parameters:
pool - The thread pool in which subtasks will run.
Returns: