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, mTCMapper
Fields inherited from interface edu.isi.pegasus.planner.selector.SiteSelector
SITE_NOT_FOUND, VERSION
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
Maps a job in the workflow to the various grid sites.void
mapWorkflow
(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
initialize
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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 ofString
objects 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 ofString
objects representing the execution sites that can be used.
-