public enum SpillPolicy extends Enum<SpillPolicy>
Enum Constant and Description |
---|
EXTERNAL
This policy means - use external allocation for spills.
|
FAIL
This policy means - no spills will be ever possible, exception will be thrown.
|
REALLOCATE
This policy means - use external allocation for spills + reallocate at the end of loop.
|
Modifier and Type | Method and Description |
---|---|
static SpillPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpillPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpillPolicy EXTERNAL
public static final SpillPolicy REALLOCATE
public static final SpillPolicy FAIL
public static SpillPolicy[] values()
for (SpillPolicy c : SpillPolicy.values()) System.out.println(c);
public static SpillPolicy 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 © 2018. All rights reserved.