Class AbstractPerJob
java.lang.Object
edu.isi.pegasus.planner.selector.site.Abstract
edu.isi.pegasus.planner.selector.site.AbstractPerJob
- All Implemented Interfaces:
SiteSelector
- Direct Known Subclasses:
NonJavaCallout,Random,RoundRobin
The base class for the site selectors that want to map one job at a time.
- Version:
- $Revision$
- Author:
- Karan Vahi
-
Field Summary
Fields inherited from class edu.isi.pegasus.planner.selector.site.Abstract
mBag, mLogger, mProps, mSiteStore, mTCMapperFields inherited from interface edu.isi.pegasus.planner.selector.SiteSelector
SITE_NOT_FOUND, VERSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidMaps a job in the workflow to the various grid sites.voidmapWorkflow(edu.isi.pegasus.planner.classes.ADag workflow, List sites) Maps the jobs in the workflow to the various grid sites.Methods inherited from class edu.isi.pegasus.planner.selector.site.Abstract
initializeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.isi.pegasus.planner.selector.SiteSelector
description
-
Constructor Details
-
AbstractPerJob
public AbstractPerJob()
-
-
Method Details
-
mapWorkflow
Maps the jobs in the workflow to the various grid sites.- Parameters:
workflow- the workflow in a Graph form.sites- the list ofStringobjects representing the execution sites that can be used.
-
mapJob
Maps a job in the workflow to the various grid sites.- Parameters:
job- the job to be mapped.sites- the list ofStringobjects representing the execution sites that can be used.
-