|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.classes.Data
edu.isi.pegasus.planner.classes.Job
edu.isi.pegasus.planner.classes.AggregatedJob
public class AggregatedJob
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.
| Field Summary | |
|---|---|
private List |
mConstituentJobs
The collection of jobs that are contained in the aggregated job. |
private boolean |
mHasBeenRenderedToExecutableForm
Boolean indicating whether a job has been fully rendered to an executable job or not i.e the aggregated job has been mapped to the aggregator and the constituent jobs have been gridstarted or not. |
private JobAggregator |
mJobAggregator
Handle to the JobAggregator that created this job. |
| Fields inherited from class edu.isi.pegasus.planner.classes.Job |
|---|
CHMOD_JOB, CLEANUP_JOB, COMPUTE_JOB, condorUniverse, condorVariables, CREATE_DIR_JOB, DAG_JOB, dagmanVariables, DAX_JOB, dvName, dvNamespace, dvVersion, envVariables, executable, executionPool, globusRSL, globusScheduler, hints, inputFiles, INTER_POOL_JOB, jobClass, jobID, jobName, level, logicalId, logicalName, namespace, outputFiles, REPLICA_REG_JOB, STAGE_IN_JOB, STAGE_IN_WORKER_PACKAGE_JOB, STAGE_OUT_JOB, stdErr, stdIn, stdOut, strargs, UNASSIGNED_JOB, vdsNS, version |
| Fields inherited from class edu.isi.pegasus.planner.classes.Data |
|---|
mLogger, mLogMsg |
| Constructor Summary | |
|---|---|
AggregatedJob()
The default constructor. |
|
AggregatedJob(int num)
The overloaded constructor. |
|
AggregatedJob(Job job,
int num)
The overloaded constructor. |
|
| Method Summary | |
|---|---|
void |
add(Job job)
Adds a job to the aggregated job. |
Object |
clone()
Returns a new copy of the Object. |
Iterator |
constituentJobsIterator()
Returns an iterator to the constituent jobs of the AggregatedJob. |
Job |
getConstituentJob(int index)
Returns a job from a particular position in the list of constituent jobs |
String |
getDAXID()
Clustered jobs never originate in the DAX. |
JobAggregator |
getJobAggregator()
Returns the JobAggregator that created this aggregated job. |
int |
numberOfConsitutentJobs()
Returns the number of constituent jobs. |
boolean |
renderedToExecutableForm()
Returns a boolean indicating whether a job has been rendered to an executable form or not |
void |
setJobAggregator(JobAggregator aggregator)
Sets the JobAggregator that created this aggregated job. |
void |
setRenderedToExecutableForm(boolean value)
Returns a boolean indicating whether a job has been rendered to an executable form or not |
String |
toString()
Returns a textual description of the object. |
| Methods inherited from class edu.isi.pegasus.planner.classes.Data |
|---|
setToString, vectorToString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private List mConstituentJobs
private boolean mHasBeenRenderedToExecutableForm
private JobAggregator mJobAggregator
| Constructor Detail |
|---|
public AggregatedJob()
public AggregatedJob(int num)
num - the number of constituent jobs
public AggregatedJob(Job job,
int num)
job - the job whose shallow copy is created, and is the main job.num - the number of constituent jobs.| Method Detail |
|---|
public boolean renderedToExecutableForm()
public void setRenderedToExecutableForm(boolean value)
value - boolean to set to.public void setJobAggregator(JobAggregator aggregator)
aggregator - handle to the JobAggregator used for aggregating the jobpublic JobAggregator getJobAggregator()
public void add(Job job)
job - the job to be added.public String getDAXID()
getDAXID in class Jobpublic Object clone()
clone in class Jobpublic Iterator constituentJobsIterator()
public Job getConstituentJob(int index)
index - the index to retrieve from
public int numberOfConsitutentJobs()
public String toString()
toString in class Job
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||