public static enum Index.Type extends Enum<Index.Type>
| Enum Constant and Description |
|---|
ASYNCHRONOUS
Asynchronous index modifications get evaluated in a separate task.
|
LAZY
Lazy index modifications get queued and are evaluated
as part of the access operation (by reader).
|
SYNCHRONOUS
Synchronous indices as evaluated as part of insert/update (by writer).
|
UNIQUE
Unique index is evaluated as part of insert/update (synchronously).
|
| Modifier and Type | Method and Description |
|---|---|
static Index.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Index.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Index.Type UNIQUE
public static final Index.Type SYNCHRONOUS
public static final Index.Type ASYNCHRONOUS
public static final Index.Type LAZY
public static Index.Type[] values()
for (Index.Type c : Index.Type.values()) System.out.println(c);
public static Index.Type 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 null