|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
java.lang.Objectjava.lang.Enum<Types.AllocationAlgorithm>
com.xensource.xenapi.Types.AllocationAlgorithm
public static enum Types.AllocationAlgorithm
| Enum Constant Summary | |
|---|---|
BREADTH_FIRST
vGPUs of a given type are allocated evenly across supporting pGPUs. |
|
DEPTH_FIRST
vGPUs of a given type are allocated on supporting pGPUs until they are full. |
|
UNRECOGNIZED
The value does not belong to this enumeration |
|
| Method Summary | |
|---|---|
String |
toString()
|
static Types.AllocationAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Types.AllocationAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Types.AllocationAlgorithm UNRECOGNIZED
public static final Types.AllocationAlgorithm BREADTH_FIRST
public static final Types.AllocationAlgorithm DEPTH_FIRST
| Method Detail |
|---|
public static Types.AllocationAlgorithm[] values()
for (Types.AllocationAlgorithm c : Types.AllocationAlgorithm.values()) System.out.println(c);
public static Types.AllocationAlgorithm valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String toString()
toString in class Enum<Types.AllocationAlgorithm>
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||