|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.griphyn.cPlanner.classes.Data
org.griphyn.cPlanner.classes.SubInfo
org.griphyn.cPlanner.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 Collection |
mConstituentJobs
The collection of jobs that are contained in the aggregated job. |
| Fields inherited from class org.griphyn.cPlanner.classes.SubInfo |
|---|
CLEANUP_JOB, COMPUTE_JOB, condorUniverse, condorVariables, CREATE_DIR_JOB, dagmanVariables, 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_OUT_JOB, STAGED_COMPUTE_JOB, stdErr, stdIn, stdOut, strargs, UNASSIGNED_JOB, vdsNS, version |
| Fields inherited from class org.griphyn.cPlanner.classes.Data |
|---|
mLogger, mLogMsg |
| Constructor Summary | |
|---|---|
AggregatedJob()
The default constructor. |
|
AggregatedJob(int num)
The overloaded constructor. |
|
AggregatedJob(SubInfo job,
int num)
The overloaded constructor. |
|
| Method Summary | |
|---|---|
void |
add(SubInfo 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. |
String |
toString()
Returns a textual description of the object. |
| Methods inherited from class org.griphyn.cPlanner.classes.Data |
|---|
setToString, vectorToString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private Collection mConstituentJobs
| Constructor Detail |
|---|
public AggregatedJob()
public AggregatedJob(int num)
num - the number of constituent jobs
public AggregatedJob(SubInfo 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 void add(SubInfo job)
job - the job to be added.public Object clone()
clone in class SubInfopublic Iterator constituentJobsIterator()
public String toString()
toString in class SubInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||