public enum FileMode extends Enum<FileMode>
| Enum Constant and Description |
|---|
direct
Use in-JVM caching
|
mapped
Use memory mapped files
|
| Modifier and Type | Method and Description |
|---|---|
static FileMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileMode mapped
public static final FileMode direct
public static FileMode[] values()
for (FileMode c : FileMode.values()) System.out.println(c);
public static FileMode 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 nullLicensed under the Apache License, Version 2.0