public enum LocationPolicy extends java.lang.Enum<LocationPolicy>
Enum Constant and Description |
---|
MMAP
Allocations will be in memory-mapped file
|
RAM
Allocations will be in RAM
|
Modifier and Type | Method and Description |
---|---|
static LocationPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LocationPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocationPolicy RAM
public static final LocationPolicy MMAP
public static LocationPolicy[] values()
for (LocationPolicy c : LocationPolicy.values()) System.out.println(c);
public static LocationPolicy 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 nullCopyright © 2019. All rights reserved.