Package edu.isi.pegasus.planner.selector
Interface SiteSelector
- All Known Implementing Classes:
Abstract,AbstractPerJob,Group,Heft,NonJavaCallout,Random,RoundRobin
public interface SiteSelector
The interface for the Site Selector. Allows us to maps the workflows to different sites.
- Version:
- $Revision$
- Author:
- Karan Vahi, Jens-S. Vöckler, Gaurang Mehta
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionThis method returns a String describing the site selection technique that is being implemented by the implementing class.voidinitialize(edu.isi.pegasus.planner.classes.PegasusBag bag) Initializes the site selector.voidmapWorkflow(edu.isi.pegasus.planner.classes.ADag workflow, List sites) Maps the jobs in the workflow to the various grid sites.
-
Field Details
-
VERSION
The version of the API of the Site Selector.- See Also:
-
SITE_NOT_FOUND
The value for the pool handle, when the pool is not found.- See Also:
-
-
Method Details
-
initialize
void initialize(edu.isi.pegasus.planner.classes.PegasusBag bag) Initializes the site selector.- Parameters:
bag- the bag of objects that is useful for initialization.
-
mapWorkflow
Maps the jobs in the workflow to the various grid sites. The jobs are mapped by setting the site handle for the jobs.- Parameters:
workflow- the workflow.sites- the list ofStringobjects representing the execution sites that can be used.
-
description
String description()This method returns a String describing the site selection technique that is being implemented by the implementing class.- Returns:
- a short description
-