public class RoundRobin extends AbstractPerJob
Modifier and Type | Class and Description |
---|---|
(package private) class |
RoundRobin.NameValue
A inner name value class that associates a string with an int value.
|
Modifier and Type | Field and Description |
---|---|
private int |
mCurrentLevel
The current level in the abstract workflow.
|
private LinkedList |
mExecPools
The list of pools that have been given by the user at run time or has been
authenticated against.
|
mBag, mLogger, mProps, mSiteStore, mTCMapper
SITE_NOT_FOUND, VERSION
Constructor and Description |
---|
RoundRobin()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
description()
Returns a brief description of the site selection techinque implemented by
this class.
|
private void |
initialiseList(List pools)
It initialises the internal list.
|
void |
mapJob(Job job,
List sites)
Maps a job in the workflow to an execution site.
|
mapWorkflow
initialize, mapWorkflow
private int mCurrentLevel
private LinkedList mExecPools
public String description()
public void mapJob(Job job, List sites)
mapJob
in class AbstractPerJob
job
- the job to be mapped.sites
- the list of String
objects representing the
execution sites that can be used.private void initialiseList(List pools)
pools
- ListCopyright © 2011 The University of Southern California. All Rights Reserved.