public enum AllocationPolicy extends Enum<AllocationPolicy>
Enum Constant and Description |
---|
OVERALLOCATE
This policy means - we'll be overallocating memory, following WorkspaceConfiguration.overallocationLimit
|
STRICT
This policy means - we're allocating exact values we specify for WorkspaceConfiguration.initialSize, or learn during loops
|
Modifier and Type | Method and Description |
---|---|
static AllocationPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AllocationPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AllocationPolicy STRICT
public static final AllocationPolicy OVERALLOCATE
public static AllocationPolicy[] values()
for (AllocationPolicy c : AllocationPolicy.values()) System.out.println(c);
public static AllocationPolicy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020. All rights reserved.