public static enum Reader.FileMode extends Enum<Reader.FileMode>
Enum Constant and Description |
---|
MEMORY
Loads the database into memory when the reader is constructed.
|
MEMORY_MAPPED
The default file mode.
|
Modifier and Type | Method and Description |
---|---|
static Reader.FileMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Reader.FileMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Reader.FileMode MEMORY_MAPPED
public static final Reader.FileMode MEMORY
public static Reader.FileMode[] values()
for (Reader.FileMode c : Reader.FileMode.values()) System.out.println(c);
public static Reader.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 nullCopyright © 2015 MaxMind, Inc.. All rights reserved.