public class Random extends AbstractPerJob
mBag, mLogger, mProps, mSiteStore, mTCMapperSITE_NOT_FOUND, VERSION| Constructor and Description |
|---|
Random()
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
description()
Returns a brief description of the site selection technique being used.
|
void |
initialize(edu.isi.pegasus.planner.classes.PegasusBag bag)
Initializes the site selector.
|
void |
mapJob(edu.isi.pegasus.planner.classes.Job job,
List sites)
Maps a job in the workflow to an execution site.
|
private String |
selectRandomSite(List sites)
The random selection that selects randomly one of the records returned by
the transformation catalog.
|
mapWorkflowpublic Random()
public void initialize(edu.isi.pegasus.planner.classes.PegasusBag bag)
initialize in interface SiteSelectorinitialize in class Abstractbag - the bag of objects that is useful for initialization.public void mapJob(edu.isi.pegasus.planner.classes.Job job,
List sites)
mapJob in class AbstractPerJobjob - the job to be mapped.sites - the list of String objects representing the
execution sites that can be used.public String description()