public class YamlJobManager
extends java.lang.Object
| Constructor and Description |
|---|
YamlJobManager() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDefaultNetwork()
Which network is used if none was specified.
|
int |
getJobLimit()
How many object can the Job Manager manage at the same time.
|
YamlResource |
getJobResources()
The maximum amount of resources that the Job Manager can allocate for a
single object.
|
YamlResource |
getMachineResources()
The maximum amount of resources that the Job Manager can allocate.
|
java.util.List<YamlNetwork> |
getNetworks()
All the networks in the Job Manager.
|
void |
setDefaultNetwork(java.lang.String defaultNetwork)
Which network is used if none was specified.
|
void |
setJobLimit(int jobLimit)
How many object can the Job Manager manage at the same time.
|
void |
setJobResources(YamlResource jobResources)
The maximum amount of resources that the Job Manager can allocate for a
single object.
|
void |
setMachineResources(YamlResource machineResources)
The maximum amount of resources that the Job Manager can allocate.
|
void |
setNetworks(java.util.List<YamlNetwork> networks)
All the networks in the Job Manager.
|
public YamlResource getMachineResources()
public void setMachineResources(YamlResource machineResources)
machineResources - the resources available globallypublic YamlResource getJobResources()
public void setJobResources(YamlResource jobResources)
jobResources - the resources available for a single jobpublic int getJobLimit()
public void setJobLimit(int jobLimit)
jobLimit - the maximum number of jobspublic java.lang.String getDefaultNetwork()
public void setDefaultNetwork(java.lang.String defaultNetwork)
defaultNetwork - the default networkpublic java.util.List<YamlNetwork> getNetworks()
public void setNetworks(java.util.List<YamlNetwork> networks)
networks - the networks in the job manager