public final class SchedulerConfig
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
protected static Config |
commandLineConfigs(java.lang.String cluster,
java.lang.String role,
java.lang.String environ)
Load the config parameters from the command line
|
static Config |
loadConfig(java.lang.String cluster,
java.lang.String role,
java.lang.String environ,
java.lang.String topologyJarFile,
java.lang.String topologyDefnFile,
TopologyAPI.Topology topology) |
protected static Config |
sandboxConfigs()
Load the defaults config
|
protected static Config |
topologyConfigs(java.lang.String topologyJarFile,
java.lang.String topologyDefnFile,
TopologyAPI.Topology topology)
Load the topology config
|
protected static Config topologyConfigs(java.lang.String topologyJarFile, java.lang.String topologyDefnFile, TopologyAPI.Topology topology)
topologyJarFile, - name of the user submitted topology jar/tar filetopologyDefnFile, - name of the topology defintion filetopology, - proto in memory version of topology definitionprotected static Config sandboxConfigs()
return config, the defaults config
protected static Config commandLineConfigs(java.lang.String cluster, java.lang.String role, java.lang.String environ)
cluster, - name of the clusterrole, - user roleenviron, - user provided environment/tagpublic static Config loadConfig(java.lang.String cluster, java.lang.String role, java.lang.String environ, java.lang.String topologyJarFile, java.lang.String topologyDefnFile, TopologyAPI.Topology topology)