com.xensource.xenapi
public static enum Types.AllocationAlgorithm extends java.lang.Enum<Types.AllocationAlgorithm>
Enum Constant and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static Types.AllocationAlgorithm |
valueOf(java.lang.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.
|
public static final Types.AllocationAlgorithm UNRECOGNIZED
public static final Types.AllocationAlgorithm BREADTH_FIRST
public static final Types.AllocationAlgorithm DEPTH_FIRST
public static Types.AllocationAlgorithm[] values()
for (Types.AllocationAlgorithm c : Types.AllocationAlgorithm.values()) System.out.println(c);
public static Types.AllocationAlgorithm 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 namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Types.AllocationAlgorithm>