public abstract class Abstract extends Object implements SiteSelector
Modifier and Type | Field and Description |
---|---|
protected PegasusBag |
mBag
The bag of Pegasus objects.
|
protected LogManager |
mLogger
The handle to the logger.
|
protected PegasusProperties |
mProps
The properties passed to Pegasus at runtime.
|
protected SiteStore |
mSiteStore
The handle to the site catalog.
|
protected Mapper |
mTCMapper
The handle to the TCMapper object.
|
SITE_NOT_FOUND, VERSION
Constructor and Description |
---|
Abstract() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(PegasusBag bag)
Initializes the site selector.
|
void |
mapWorkflow(ADag workflow,
List sites)
Maps the jobs in the workflow to the various grid sites.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
description, mapWorkflow
protected PegasusProperties mProps
protected LogManager mLogger
protected SiteStore mSiteStore
protected Mapper mTCMapper
protected PegasusBag mBag
public void initialize(PegasusBag bag)
initialize
in interface SiteSelector
bag
- the bag of objects that is useful for initialization.public void mapWorkflow(ADag workflow, List sites)
mapWorkflow
in interface SiteSelector
workflow
- the workflow.sites
- the list of String
objects representing the
execution sites that can be used.Copyright © 2011 The University of Southern California. All Rights Reserved.