|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ace.mws.jobs.JobRequirement
class JobRequirement
Field Summary | |
---|---|
private String |
architecture
The architecture required by the job. |
private Set |
attributes
(JobRequirementAttribute collection) Required node attributes, with version number support. |
private Set |
features
(String collection) The list of node features the job is scheduled against. |
private Set |
featuresExcluded
(String collection) Excluded node features. |
private JobRequirementFeaturesMode |
featuresExcludedMode
Indicates whether excluded features should be AND'ed or OR'd. |
private Set |
featuresRequested
(String collection) Requested node features. |
private JobRequirementFeaturesMode |
featuresRequestedMode
Indicates whether requested features should be AND'ed or OR'd. |
private String |
image
The image required by the job. |
private Integer |
index
The index of the requirement, starting with 0. |
private Map |
metrics
(Map of String => Double) Generic metrics associated with the job as reported by the resource manager. |
private NodeAccessPolicy |
nodeAccessPolicy
Specifies how node resources should be accessed. |
private NodeAllocationPolicy |
nodeAllocationPolicy
Specifies how node resources should be selected and allocated to the job. |
private Integer |
nodeCount
The number of nodes required by the job. |
private String |
nodeSet
The requested nodeset of the job. |
private Set |
nodes
(AllocatedNode collection) Nodes that have been allocated to meet this requirement. |
private DomainProxy |
reservation
The allocated reservation (assigned after the job has a reservation). |
private Map |
resourcesPerTask
(Map of String => Resource) Contains requirements for disk, memory, processors, swap, and generic resources. |
private Integer |
taskCount
The number of tasks (processors) required by this job. |
private Integer |
tasksPerNode
The number of tasks to map to each node. |
Constructor Summary | |
JobRequirement()
|
Method Summary | |
---|---|
String
|
getArchitecture()
The architecture required by the job. |
Set
|
getAttributes()
(JobRequirementAttribute collection) Required node attributes, with version number support. |
Set
|
getFeatures()
(String collection) The list of node features the job is scheduled against. |
Set
|
getFeaturesExcluded()
(String collection) Excluded node features. |
JobRequirementFeaturesMode
|
getFeaturesExcludedMode()
Indicates whether excluded features should be AND'ed or OR'd. |
Set
|
getFeaturesRequested()
(String collection) Requested node features. |
JobRequirementFeaturesMode
|
getFeaturesRequestedMode()
Indicates whether requested features should be AND'ed or OR'd. |
String
|
getImage()
The image required by the job. |
Integer
|
getIndex()
The index of the requirement, starting with 0. |
Map
|
getMetrics()
(Map of String => Double) Generic metrics associated with the job as reported by the resource manager. |
NodeAccessPolicy
|
getNodeAccessPolicy()
Specifies how node resources should be accessed. |
NodeAllocationPolicy
|
getNodeAllocationPolicy()
Specifies how node resources should be selected and allocated to the job. |
Integer
|
getNodeCount()
The number of nodes required by the job. |
String
|
getNodeSet()
The requested nodeset of the job. |
Set
|
getNodes()
(AllocatedNode collection) Nodes that have been allocated to meet this requirement. |
DomainProxy
|
getReservation()
The allocated reservation (assigned after the job has a reservation). |
Map
|
getResourcesPerTask()
(Map of String => Resource) Contains requirements for disk, memory, processors, swap, and generic resources. |
Integer
|
getTaskCount()
The number of tasks (processors) required by this job. |
Integer
|
getTasksPerNode()
The number of tasks to map to each node. |
void
|
setArchitecture(String architecture)
The architecture required by the job. |
void
|
setAttributes(Set attributes)
(JobRequirementAttribute collection) Required node attributes, with version number support. |
void
|
setFeatures(Set features)
(String collection) The list of node features the job is scheduled against. |
void
|
setFeaturesExcluded(Set featuresExcluded)
(String collection) Excluded node features. |
void
|
setFeaturesExcludedMode(JobRequirementFeaturesMode featuresExcludedMode)
Indicates whether excluded features should be AND'ed or OR'd. |
void
|
setFeaturesRequested(Set featuresRequested)
(String collection) Requested node features. |
void
|
setFeaturesRequestedMode(JobRequirementFeaturesMode featuresRequestedMode)
Indicates whether requested features should be AND'ed or OR'd. |
void
|
setImage(String image)
The image required by the job. |
void
|
setIndex(Integer index)
The index of the requirement, starting with 0. |
void
|
setMetrics(Map metrics)
(Map of String => Double) Generic metrics associated with the job as reported by the resource manager. |
void
|
setNodeAccessPolicy(NodeAccessPolicy nodeAccessPolicy)
Specifies how node resources should be accessed. |
void
|
setNodeAllocationPolicy(NodeAllocationPolicy nodeAllocationPolicy)
Specifies how node resources should be selected and allocated to the job. |
void
|
setNodeCount(Integer nodeCount)
The number of nodes required by the job. |
void
|
setNodeSet(String nodeSet)
The requested nodeset of the job. |
void
|
setNodes(Set nodes)
(AllocatedNode collection) Nodes that have been allocated to meet this requirement. |
void
|
setReservation(DomainProxy reservation)
The allocated reservation (assigned after the job has a reservation). |
void
|
setResourcesPerTask(Map resourcesPerTask)
(Map of String => Resource) Contains requirements for disk, memory, processors, swap, and generic resources. |
void
|
setTaskCount(Integer taskCount)
The number of tasks (processors) required by this job. |
void
|
setTasksPerNode(Integer tasksPerNode)
The number of tasks to map to each node. |
String
|
toString()
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
private String architecture
private Set attributes
private Set features
private Set featuresExcluded
private JobRequirementFeaturesMode featuresExcludedMode
private Set featuresRequested
private JobRequirementFeaturesMode featuresRequestedMode
private String image
private Integer index
private Map metrics
private NodeAccessPolicy nodeAccessPolicy
private NodeAllocationPolicy nodeAllocationPolicy
private Integer nodeCount
private String nodeSet
private Set nodes
private DomainProxy reservation
private Map resourcesPerTask
private Integer taskCount
private Integer tasksPerNode
Constructor Detail |
---|
JobRequirement()
Method Detail |
---|
String getArchitecture()
Set getAttributes()
Set getFeatures()
Set getFeaturesExcluded()
JobRequirementFeaturesMode getFeaturesExcludedMode()
Set getFeaturesRequested()
JobRequirementFeaturesMode getFeaturesRequestedMode()
String getImage()
Integer getIndex()
Map getMetrics()
NodeAccessPolicy getNodeAccessPolicy()
NodeAllocationPolicy getNodeAllocationPolicy()
Integer getNodeCount()
String getNodeSet()
Set getNodes()
DomainProxy getReservation()
Map getResourcesPerTask()
Integer getTaskCount()
Integer getTasksPerNode()
void setArchitecture(String architecture)
void setAttributes(Set attributes)
void setFeatures(Set features)
void setFeaturesExcluded(Set featuresExcluded)
void setFeaturesExcludedMode(JobRequirementFeaturesMode featuresExcludedMode)
void setFeaturesRequested(Set featuresRequested)
void setFeaturesRequestedMode(JobRequirementFeaturesMode featuresRequestedMode)
void setImage(String image)
void setIndex(Integer index)
void setMetrics(Map metrics)
void setNodeAccessPolicy(NodeAccessPolicy nodeAccessPolicy)
void setNodeAllocationPolicy(NodeAllocationPolicy nodeAllocationPolicy)
void setNodeCount(Integer nodeCount)
void setNodeSet(String nodeSet)
void setNodes(Set nodes)
void setReservation(DomainProxy reservation)
void setResourcesPerTask(Map resourcesPerTask)
void setTaskCount(Integer taskCount)
void setTasksPerNode(Integer tasksPerNode)
String toString()
Groovy Documentation