public static enum GridServiceProvider.IndexExtendMode extends java.lang.Enum<GridServiceProvider.IndexExtendMode>
Enum Constant and Description |
---|
extendwrite
if data file changes, assume its been extended, so extend the index
|
readonly
if index file exists, use it as is
|
rewrite
if data file changes, completely rewrite the index
|
Modifier and Type | Method and Description |
---|---|
static GridServiceProvider.IndexExtendMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GridServiceProvider.IndexExtendMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GridServiceProvider.IndexExtendMode rewrite
public static final GridServiceProvider.IndexExtendMode extendwrite
public static final GridServiceProvider.IndexExtendMode readonly
public static GridServiceProvider.IndexExtendMode[] values()
for (GridServiceProvider.IndexExtendMode c : GridServiceProvider.IndexExtendMode.values()) System.out.println(c);
public static GridServiceProvider.IndexExtendMode 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 null