org.griphyn.cPlanner.selector.site
Class AbstractPerJob
java.lang.Object
org.griphyn.cPlanner.selector.site.Abstract
org.griphyn.cPlanner.selector.site.AbstractPerJob
- All Implemented Interfaces:
- SiteSelector
- Direct Known Subclasses:
- NonJavaCallout, Random, RoundRobin
public abstract class AbstractPerJob
- extends Abstract
The base class for the site selectors that want to map one job at a time.
- Version:
- $Revision: 298 $
- Author:
- Karan Vahi
|
Method Summary |
abstract void |
mapJob(SubInfo job,
List sites)
Maps a job in the workflow to the various grid sites. |
void |
mapWorkflow(Graph workflow,
List sites)
Maps the jobs in the workflow to the various grid sites. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractPerJob
public AbstractPerJob()
mapWorkflow
public void mapWorkflow(Graph workflow,
List sites)
- Maps the jobs in the workflow to the various grid sites.
- Parameters:
workflow - the workflow in a Graph form.sites - the list of String objects representing the
execution sites that can be used.
mapJob
public abstract void mapJob(SubInfo job,
List sites)
- Maps a job in the workflow to the various grid sites.
- Parameters:
job - the job to be mapped.sites - the list of String objects representing the
execution sites that can be used.
Copyright © 2007 The University of Southern California. All Rights Reserved.