Inheritance diagram for com.scalagent.task.composed.Parallel:


Public Member Functions | |
| Parallel () | |
| Parallel (short to, AgentId parent, AgentId child[]) | |
Protected Member Functions | |
| void | startSubtasks () throws Exception |
| Object | buildResult () throws Exception |
Composed task with a parallel order of execution of sub-tasks.
Definition at line 35 of file Parallel.java.
| com.scalagent.task.composed.Parallel.Parallel | ( | ) |
Default constructor
Definition at line 39 of file Parallel.java.
Creates an agent to be deployed remotely.
| to | agent server id where agent is to be deployed | |
| parent | agent to report status to | |
| child | children tasks ids |
Definition at line 50 of file Parallel.java.
References com.scalagent.task.composed.Composed.child.
| void com.scalagent.task.composed.Parallel.startSubtasks | ( | ) | throws Exception [protected, virtual] |
Starts sub-tasks that can be started (all their dependent tasks have completed).
Implements com.scalagent.task.composed.Composed.
Definition at line 58 of file Parallel.java.
References com.scalagent.task.composed.Composed.child, com.scalagent.task.composed.Composed.parameter, and com.scalagent.task.TaskHandle.status.
| Object com.scalagent.task.composed.Parallel.buildResult | ( | ) | throws Exception [protected] |
Builds the result object when this task completes.
Returns the array of sub-tasks results, or null if all results are null.
Reimplemented from com.scalagent.task.Task.
Definition at line 80 of file Parallel.java.
References com.scalagent.task.composed.Composed.child, and com.scalagent.task.TaskHandle.result.
1.5.0