|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<NodeAccessPolicy>
com.ace.moab.api.node.NodeAccessPolicy
public enum NodeAccessPolicy
This enum describes how node resources will be shared by various tasks.
| Enum Constant Summary | |
|---|---|
SHARED
Tasks from any combination of jobs may utilize available resources. |
|
SHAREDONLY
Only jobs requesting shared node access may utilize available resources. |
|
SINGLEJOB
Tasks from a single job may utilize available resourceses. |
|
SINGLETASK
A single task from a single job may run on the node. |
|
SINGLEUSER
Tasks from any jobs owned by the same user may utilize available resources. |
|
UNIQUEUSER
Any number of tasks from a single job may allocate resources from a node but only if the user has no other jobs running on that node. |
|
| Method Summary | |
|---|---|
java.lang.String |
getMoabLabel()
Returns the label for this access policy used in the moab.cfg and moab.dat |
static java.util.List<java.lang.String> |
getNames()
Returns a collection of all the names of the enum values NodeAccessPolicy type. |
static NodeAccessPolicy |
parseNodeAccessPolicyString(java.lang.String nodeAccessPolicyString)
Parses a string and converts it into a NodeAccessPolicy enum value if possible. |
java.lang.String |
toString()
|
static NodeAccessPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static NodeAccessPolicy[] |
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 NodeAccessPolicy SHARED
public static final NodeAccessPolicy SHAREDONLY
public static final NodeAccessPolicy SINGLEJOB
public static final NodeAccessPolicy SINGLETASK
public static final NodeAccessPolicy SINGLEUSER
public static final NodeAccessPolicy UNIQUEUSER
| Method Detail |
|---|
public static final NodeAccessPolicy[] values()
for(NodeAccessPolicy c : NodeAccessPolicy.values())
System.out.println(c);
public static NodeAccessPolicy 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<NodeAccessPolicy>public java.lang.String getMoabLabel()
public static NodeAccessPolicy parseNodeAccessPolicyString(java.lang.String nodeAccessPolicyString)
throws java.text.ParseException
nodeAccessPolicyString - the string to be parsed.
java.text.ParseException - thrown if the String cannot be parsed.public static java.util.List<java.lang.String> getNames()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||