| Enum Constant and Description |
|---|
ALL
All cluster nodes will add the entry to the index.
|
LOCAL
Deprecated.
since 9.1
|
NONE
No indexing is performed.
|
PRIMARY_OWNER
Only the primary owner of an entry will add it to the index.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEnabled()
Is indexing enabled?
|
boolean |
isLocalOnly()
Deprecated.
|
boolean |
isPrimaryOwner() |
static Index |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Index[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Index NONE
@Deprecated public static final Index LOCAL
PRIMARY_OWNER instead.public static final Index ALL
public static final Index PRIMARY_OWNER
public static Index[] values()
for (Index c : Index.values()) System.out.println(c);
public static Index 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 nullpublic boolean isEnabled()
@Deprecated public boolean isLocalOnly()
public boolean isPrimaryOwner()