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
    Modifier and Type
    Field
    Description
    static final String
    The value for the pool handle, when the pool is not found.
    static final String
    The version of the API of the Site Selector.
  • Method Summary

    Modifier and Type
    Method
    Description
    This method returns a String describing the site selection technique that is being implemented by the implementing class.
    void
    initialize(edu.isi.pegasus.planner.classes.PegasusBag bag)
    Initializes the site selector.
    void
    mapWorkflow(edu.isi.pegasus.planner.classes.ADag workflow, List sites)
    Maps the jobs in the workflow to the various grid sites.
  • Field Details

  • 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

      void mapWorkflow(edu.isi.pegasus.planner.classes.ADag workflow, List sites)
      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 of String objects 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