|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.griphyn.cPlanner.classes.Data
org.griphyn.cPlanner.namespace.Namespace
org.griphyn.cPlanner.namespace.VDS
public class VDS
A Planner specific namespace. It defines profiles that are used to fine tune Pegasus behaviour on a per job basis if required.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.griphyn.cPlanner.namespace.Namespace |
|---|
Namespace.EmptyIterator |
| Field Summary | |
|---|---|
static String |
BUNDLE_KEY
The name of the key that if set, determines the number of super jobs that are made corresponding to a logical transformation and an execution pool. |
static String |
BUNDLE_STAGE_IN_KEY
The name of the key that determines the bundling parameter for the stagein transfer node. |
static String |
BUNDLE_STAGE_OUT_KEY
The name of the key that determines the bundling parameter for the stageout transfer node. |
static String |
CHAIN_STAGE_IN_KEY
The name of the key that determines the number of chains of stagein nodes that are to be created per site. |
static String |
CHANGE_DIR_KEY
The name of the profile key that triggers the kickstart to change directory before launching an executable instead of launching the executable from the directory where kickstart is being run. |
static String |
COLLAPSE_KEY
The name of the key that if set in the VDS namespace determines the number of jobs that are collapsed into the super job. |
static String |
COLLAPSER_KEY
The name of the key that determines the collapser executable to be used to run the merged/collapsed job. |
static String |
CONDOR_STYLE
The style indicating that the submit files are to be generated for a vanilla condor execution. |
static String |
DEPRECATED_BUNDLE_STAGE_IN_KEY
The deprecated bundle stagein key. |
static String |
DEPRECATED_CHANGE_DIR_KEY
The deprecated change dir key. |
static String |
GLIDEIN_STYLE
The style indicating that the submit files are to be generated for a glidein execution. |
static String |
GLOBUS_STYLE
The style indicating that the submit files are to be generated for a CondorG execution. |
static String |
GRIDSTART_ARGUMENTS_KEY
The name of the profile key, that determines the arguments with which the GridStart that is used to launch a job on the remote site is invoked with. |
static String |
GRIDSTART_KEY
The name of the profile key that determines the launching executable to be used to launch a job on the grid. |
static String |
GROUP_KEY
The name of the profile key in vds namespace that does the grouping. |
static String |
LABEL_KEY
The name of the profile key in vds namespace that does the labelling by default. |
protected static Map |
mDeprecatedTable
The table containing the mapping of the deprecated keys to the newer keys. |
protected String |
mNamespace
The name of the implementing namespace. |
static String |
NAMESPACE_NAME
The name of the namespace that this class implements. |
static String |
REMOTE_INITIALDIR_KEY
The name of the key that sets a remote initial dir for a condor globus job. |
static String |
RUNTIME_KEY
The name of the profile key when associated with a transformation in the transformation catalog gives expected runtime in seconds. |
static String |
STYLE_KEY
The name of the key, that denotes the style of the dag that is constructed. |
static String |
TRANSFER_ARGUMENTS_KEY
The name of the profile key, that when associated with transfer jobs determines the arguments with which the transfer executable is invoked. |
static String |
TRANSFER_PROXY_KEY
The name of the profile key if associated with a job, results in an explicit transfer of the proxy from the submit host to the remote site, instead of banking upon CondorG to transfer the proxy. |
| Fields inherited from class org.griphyn.cPlanner.namespace.Namespace |
|---|
DEPRECATED_KEY, MALFORMED_KEY, mProfileMap, NOT_PERMITTED_KEY, UNKNOWN_KEY, VALID_KEY, VERSION |
| Fields inherited from class org.griphyn.cPlanner.classes.Data |
|---|
mLogger, mLogMsg |
| Constructor Summary | |
|---|---|
VDS()
The default constructor. |
|
VDS(Map mp)
The overloaded constructor. |
|
| Method Summary | |
|---|---|
int |
checkKey(String key,
String value)
This checks whether the key passed by the user is valid in the current namespace or not. |
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). |
boolean |
containsKey(Object key)
Returns true if the namespace contains a mapping for the specified key. |
Map |
deprecatedTable()
Singleton access to the deprecated table that holds the deprecated keys, and the keys that replace them. |
Object |
get(Object key)
Returns the value to which this namespace maps the specified key. |
boolean |
getBooleanValue(Object key)
Returns a boolean value, that a particular key is mapped to in this namespace. |
String |
getStringValue(Object key)
Returns a String value, that a particular key is mapped to in this namespace. |
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 |
toString()
Converts the contents of the map into the string that can be put in the Condor file for printing. |
void |
unknownKey(String key,
String value)
Warns about an unknown profile key and constructs it anyway. |
| Methods inherited from class org.griphyn.cPlanner.namespace.Namespace |
|---|
checkKeyInNS, checkKeyInNS, checkKeyInNS, checkKeyInNS, deprecatedKey, getProfileKeyIterator, isNamespaceValid, keySet, malformedKey, notPermitted, removeKey |
| Methods inherited from class org.griphyn.cPlanner.classes.Data |
|---|
setToString, vectorToString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String NAMESPACE_NAME
public static final String REMOTE_INITIALDIR_KEY
public static final String BUNDLE_KEY
COLLAPSE_KEY,
Constant Field Valuespublic static final String COLLAPSE_KEY
public static final String COLLAPSER_KEY
public static final String GROUP_KEY
public static final String LABEL_KEY
public static final String GRIDSTART_KEY
public static final String GRIDSTART_ARGUMENTS_KEY
public static final String DEPRECATED_CHANGE_DIR_KEY
CHANGE_DIR_KEY,
Constant Field Valuespublic static final String CHANGE_DIR_KEY
public static final String DEPRECATED_BUNDLE_STAGE_IN_KEY
CHANGE_DIR_KEY,
Constant Field Valuespublic static final String BUNDLE_STAGE_IN_KEY
public static final String BUNDLE_STAGE_OUT_KEY
public static final String CHAIN_STAGE_IN_KEY
public static final String TRANSFER_PROXY_KEY
public static final String TRANSFER_ARGUMENTS_KEY
public static final String RUNTIME_KEY
public static final String STYLE_KEY
public static final String CONDOR_STYLE
public static final String GLOBUS_STYLE
public static final String GLIDEIN_STYLE
protected String mNamespace
Namespace.isNamespaceValid(String)protected static Map mDeprecatedTable
| Constructor Detail |
|---|
public VDS()
public VDS(Map mp)
mp - the initial map.| Method Detail |
|---|
public String namespaceName()
namespaceName in class NamespaceNAMESPACE_NAME
public void construct(String key,
String value)
construct in class Namespacekey - is the left-hand-sidevalue - is the right hand side
public int checkKey(String key,
String value)
checkKey in class Namespacekey - (left hand side)value - (right hand side)
public void checkKeyInNS(PegasusProperties properties,
String pool)
checkKeyInNS in class Namespaceproperties - 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.COLLAPSER_KEY,
TRANSFER_PROXY_KEYpublic void merge(Namespace profiles)
merge in class Namespaceprofiles - the Namespace object containing the profiles.public Map deprecatedTable()
deprecatedTable in class Namespacepublic String toString()
toString in class Data
public void unknownKey(String key,
String value)
unknownKey in class Namespacekey - is the left-hand-sidevalue - is the right hand sidepublic boolean containsKey(Object key)
containsKey in class Namespacekey - The key that you want to search for
in the namespace.
public Object get(Object key)
get in class Namespacekey - The key whose value you want.
public boolean getBooleanValue(Object key)
key - The key whose boolean value you desire.
public String getStringValue(Object key)
key - The key whose boolean value you desire.
public Object clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||