public class Globus extends Namespace
Namespace.EmptyIterator
Modifier and Type | Field and Description |
---|---|
static Map |
mAggregatorTable
The table that maps the various globus profile keys to their aggregator
functions.
|
static Aggregator |
mDefaultAggregator
The default aggregator to be used for profile aggregation, if none specified
in the aggregator table;
|
protected String |
mNamespace
The name of the implementing namespace.
|
static String |
NAMESPACE_NAME
The name of the namespace that this class implements.
|
DEPRECATED_KEY, EMPTY_KEY, MALFORMED_KEY, mLogger, mProfileMap, NOT_PERMITTED_KEY, UNKNOWN_KEY, VALID_KEY, VERSION
Constructor and Description |
---|
Globus()
The default constructor.
|
Globus(Map map)
The overloaded constructor
|
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
aggregator(String key)
Returns the aggregator to be used for the profile key while merging.
|
int |
checkKey(String key,
String value)
Additional method to handle the globus namespace with
convenience mappings.
|
void |
checkKeyInNS(PegasusProperties properties,
String pool)
It puts in the namespace specific information specified in the properties
file into the namespace.
|
Object |
clone()
Returns a copy of the current namespace object
|
void |
construct(String key,
String value)
Constructs a new element of the format (key=value).
|
private String |
convert(Map rsl)
Converts a map with RSL kv-pairs into an RSL string.
|
void |
merge(Namespace profiles)
Merge the profiles in the namespace in a controlled manner.
|
String |
namespaceName()
Returns the name of the namespace associated with the profile
implementations.
|
String |
toCondor()
Converts the contents of the map into the string that can be put in the
Condor file for printing.
|
assimilate, checkKeyInNS, checkKeyInNS, checkKeyInNS, checkKeyInNS, checkKeyInNS, containsKey, deprecatedKey, deprecatedTable, emptyKey, get, getProfileKeyIterator, isEmpty, isNamespaceValid, keySet, malformedKey, notPermitted, removeKey, toString, unknownKey
public static final String NAMESPACE_NAME
public static Map mAggregatorTable
public static Aggregator mDefaultAggregator
protected String mNamespace
Namespace.isNamespaceValid(String)
public Globus()
public Globus(Map map)
map
- a possibly empty map.public String namespaceName()
namespaceName
in class Namespace
NAMESPACE_NAME
public void construct(String key, String value)
public int checkKey(String key, String value)
arguments - not supported, clashes with Condor count - OK directory - not supported, clashes with Pegasus dryRun - OK, beware the consequences! environment - not supported, use env namespace executable - not supported, clashes with Condor gramMyjob - OK hostCount - OK jobType - OK to handle MPI jobs maxCpuTime - OK maxMemory - OK maxTime - OK maxWallTime - OK minMemory - OK project - OK queue - OK stdin - not supported, clashes with Pegasus stdout - not supported, clashes with Pegasus stderr - not supported, clashes with Pegasus rls - OK: Chimera's generic extension (AOB)
public void merge(Namespace profiles)
public void checkKeyInNS(PegasusProperties properties, String pool)
checkKeyInNS
in class Namespace
properties
- the PegasusProperties
object containing
all the properties that the user specified at various
places (like .chimerarc, properties file, command line).pool
- the pool name where the job is scheduled to run.public String toCondor()
public Object clone()
protected Aggregator aggregator(String key)
key
- the key for which the aggregator is found.Copyright © 2011 The University of Southern California. All Rights Reserved.