public enum StorageLevel extends Enum<StorageLevel>
| Enum Constant and Description |
|---|
DISK
Stores data on disk.
|
MAPPED
Stores data in a memory-mapped file.
|
MEMORY
Stores data in memory only.
|
| Modifier and Type | Method and Description |
|---|---|
static StorageLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StorageLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StorageLevel MEMORY
public static final StorageLevel MAPPED
public static final StorageLevel DISK
public static StorageLevel[] values()
for (StorageLevel c : StorageLevel.values()) System.out.println(c);
public static StorageLevel 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 © 2013–2018. All rights reserved.