|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JobAggregator
The interface that dictates how the jobs are clumped together into one single larger job. The interface does not dictate how the graph structure is to be modified as a result of the clumping. That is handled outside of the implementing class in NodeCollapser.
| Field Summary | |
|---|---|
static String |
VERSION
The version number associated with this API of Job Aggregator. |
| Method Summary | |
|---|---|
boolean |
abortOnFristJobFailure()
Returns a boolean indicating whether to fail the aggregated job on detecting the first failure during execution of constituent jobs. |
AggregatedJob |
construct(List jobs,
String name,
String id)
Constructs a new aggregated job that contains all the jobs passed to it. |
boolean |
entryNotInTC(String site)
Determines whether there is NOT an entry in the transformation catalog for the job aggregator executable on a particular site. |
String |
getCollapserLFN()
Returns the logical name of the transformation that is used to collapse the jobs. |
void |
initialize(ADag dag,
PegasusBag bag)
Initializes the JobAggregator impelementation |
void |
setAbortOnFirstJobFailure(boolean fail)
Setter method to indicate , failure on first consitutent job should result in the abort of the whole aggregated job. |
| Field Detail |
|---|
static final String VERSION
| Method Detail |
|---|
void initialize(ADag dag,
PegasusBag bag)
dag - the workflow that is being clustered.bag - the bag of objects that is useful for initialization.
AggregatedJob construct(List jobs,
String name,
String id)
jobs - the list of SubInfo objects that need to be
collapsed. All the jobs being collapsed should be scheduled
at the same pool, to maintain correct semantics.name - the logical name of the jobs in the list passed to this
function.id - the id that is given to the new job.
SubInfo object corresponding to the aggregated
job containing the jobs passed as List in the input,
null if the list of jobs is emptyvoid setAbortOnFirstJobFailure(boolean fail)
fail - indicates whether to abort or not .boolean abortOnFristJobFailure()
boolean entryNotInTC(String site)
site - the site at which existence check is required.
String getCollapserLFN()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||