| |
|
| java.lang.Object org.griphyn.cPlanner.classes.Data org.griphyn.cPlanner.classes.SubInfo org.griphyn.cPlanner.classes.AggregatedJob
AggregatedJob | public class AggregatedJob extends SubInfo (Code) | | This class holds all the specifics of an aggregated job. An aggregated job
or a clustered job is a job, that contains a collection of smaller jobs.
An aggregated job during execution may explode into n smaller job executions.
At present it does not store information about the dependencies between the
jobs.
author: Karan Vahi version: $Revision: 50 $ |
AggregatedJob | public AggregatedJob()(Code) | | The default constructor.
|
AggregatedJob | public AggregatedJob(int num)(Code) | | The overloaded constructor.
Parameters: num - the number of constituent jobs |
AggregatedJob | public AggregatedJob(SubInfo job, int num)(Code) | | The overloaded constructor.
Parameters: job - the job whose shallow copy is created, and is the main job. Parameters: num - the number of constituent jobs. |
add | public void add(SubInfo job)(Code) | | Adds a job to the aggregated job.
Parameters: job - the job to be added. |
clone | public Object clone()(Code) | | Returns a new copy of the Object. The constituent jobs are also cloned.
Object |
constituentJobsIterator | public Iterator constituentJobsIterator()(Code) | | Returns an iterator to the constituent jobs of the AggregatedJob.
Iterator |
toString | public String toString()(Code) | | Returns a textual description of the object.
textual description of the job. |
|
|
|