|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<NodeAllocationPolicy>
com.ace.moab.api.node.NodeAllocationPolicy
public enum NodeAllocationPolicy
Enum Constant Summary | |
---|---|
CONTIGUOUS
This algorithm will allocate nodes in contiguous (linear) blocks as required by the Compaq RMS system. |
|
CPULOAD
Nodes are selected which have the maximum amount of available, unused cpu power, i.e. |
|
FASTEST
This algorithm will select nodes in 'fastest node first' order. |
|
FIRSTAVAILABLE
Simple first come, first served algorithm where nodes are allocated in the order they are presented by the resource manager. |
|
LASTAVAILABLE
This algorithm selects resources so as to minimize the amount of time after the job and before the trailing reservation. |
|
LOCAL
This will call the locally created contrib node allocation algorithm. |
|
MAXBALANCE
This algorithm will attempt to allocate the most 'balanced' set of nodes possible to a job. |
|
MINRESOURCE
This algorithm prioritizes nodes according to the configured resources on each node. |
|
NONE
No node allocation policy is specified. |
|
PRIORITY
This algorithm allows a site to specify the priority of various static and dynamic aspects of compute nodes and allocate them with preference for higher priority nodes. |
Method Summary | |
---|---|
static java.util.Vector<java.lang.String> |
getNames()
Returns a collection of all the names of the enum values NodeAllocationPolicy type. |
static NodeAllocationPolicy |
parseNodeAllocationPolicyString(java.lang.String nodeAllocationPolicyString)
Parses a string and converts it into a NodeAllocationPolicy enum value if possible. |
java.lang.String |
toString()
Returns a string representation of this object |
static NodeAllocationPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static NodeAllocationPolicy[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final NodeAllocationPolicy NONE
public static final NodeAllocationPolicy FIRSTAVAILABLE
public static final NodeAllocationPolicy LASTAVAILABLE
public static final NodeAllocationPolicy MINRESOURCE
public static final NodeAllocationPolicy CPULOAD
public static final NodeAllocationPolicy LOCAL
public static final NodeAllocationPolicy CONTIGUOUS
public static final NodeAllocationPolicy MAXBALANCE
public static final NodeAllocationPolicy PRIORITY
public static final NodeAllocationPolicy FASTEST
Method Detail |
---|
public static final NodeAllocationPolicy[] values()
for(NodeAllocationPolicy c : NodeAllocationPolicy.values()) System.out.println(c);
public static NodeAllocationPolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic java.lang.String toString()
toString
in class java.lang.Enum<NodeAllocationPolicy>
public static NodeAllocationPolicy parseNodeAllocationPolicyString(java.lang.String nodeAllocationPolicyString) throws java.lang.IllegalArgumentException
nodeAllocationPolicyString
- the string to be parsed.
java.lang.IllegalArgumentException
- if the String cannot be parsed.public static java.util.Vector<java.lang.String> getNames()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |