|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ace.mws.policies.NodeAllocationPolicy
class NodeAllocationPolicy
Node allocation is the process of selecting the best resources to allocate to a job
from a list of available resources. Moab contains a number of allocation algorithms
that address this in the NodeAllocationPolicy.
This class inherits fields from Policy.
Field Summary | |
---|---|
private Boolean |
conflicted
|
private String |
customPriorityFunction
Defines the priority function when the NodeAllocationAlgorithm.CustomPriority algorithm is used. |
private String |
description
|
private String |
id
|
private String |
name
|
private NodeAllocationAlgorithm |
nodeAllocationAlgorithm
Configures the node allocation algorithm utilized when the policy is active. |
private Set |
potentialConflicts
(String collection) |
private Integer |
priority
|
private PolicyState |
state
|
private Set |
tags
(String collection) |
private Set |
types
(String collection) |
Constructor Summary | |
NodeAllocationPolicy()
|
Method Summary | |
---|---|
Boolean
|
getConflicted()
|
String
|
getCustomPriorityFunction()
Defines the priority function when the NodeAllocationAlgorithm.CustomPriority algorithm is used. |
String
|
getDescription()
|
String
|
getId()
|
String
|
getName()
|
NodeAllocationAlgorithm
|
getNodeAllocationAlgorithm()
Configures the node allocation algorithm utilized when the policy is active. |
Set
|
getPotentialConflicts()
(String collection) |
Integer
|
getPriority()
|
PolicyState
|
getState()
|
Set
|
getTags()
(String collection) |
Set
|
getTypes()
(String collection) |
void
|
setConflicted(Boolean conflicted)
|
void
|
setCustomPriorityFunction(String customPriorityFunction)
Defines the priority function when the NodeAllocationAlgorithm.CustomPriority algorithm is used. |
void
|
setDescription(String description)
|
void
|
setId(String id)
|
void
|
setName(String name)
|
void
|
setNodeAllocationAlgorithm(NodeAllocationAlgorithm nodeAllocationAlgorithm)
Configures the node allocation algorithm utilized when the policy is active. |
void
|
setPotentialConflicts(Set potentialConflicts)
(String collection) |
void
|
setPriority(Integer priority)
|
void
|
setState(PolicyState state)
|
void
|
setTags(Set tags)
(String collection) |
void
|
setTypes(Set types)
(String collection) |
String
|
toString()
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
private Boolean conflicted
private String customPriorityFunction
private String description
private String id
private String name
private NodeAllocationAlgorithm nodeAllocationAlgorithm
private Set potentialConflicts
private Integer priority
private PolicyState state
private Set tags
private Set types
Constructor Detail |
---|
NodeAllocationPolicy()
Method Detail |
---|
Boolean getConflicted()
String getCustomPriorityFunction()
String getDescription()
String getId()
String getName()
NodeAllocationAlgorithm getNodeAllocationAlgorithm()
Set getPotentialConflicts()
Integer getPriority()
PolicyState getState()
Set getTags()
Set getTypes()
void setConflicted(Boolean conflicted)
void setCustomPriorityFunction(String customPriorityFunction)
void setDescription(String description)
void setId(String id)
void setName(String name)
void setNodeAllocationAlgorithm(NodeAllocationAlgorithm nodeAllocationAlgorithm)
void setPotentialConflicts(Set potentialConflicts)
void setPriority(Integer priority)
void setState(PolicyState state)
void setTags(Set tags)
void setTypes(Set types)
String toString()
Groovy Documentation