@Deprecated public enum Index extends Enum<Index>
As of version 11 only modes NONE
and ALL
are actually internally supported and the indexing
mode no longer needs to be specified by the user because the system will determine it automatically.
Enum Constant and Description |
---|
ALL
Deprecated.
All cluster nodes will add the entry to the index.
|
NONE
Deprecated.
No indexing is performed.
|
PRIMARY_OWNER
Deprecated.
This mode is no longer supported since version 11.0. A configuration error will be raised if encountered.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled()
Deprecated.
Use
IndexingConfiguration.enabled() } instead |
boolean |
isPrimaryOwner()
Deprecated.
in 10.1. Equivalent to a simple equality comparison to
PRIMARY_OWNER . |
static Index |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static Index[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Index NONE
public static final Index ALL
@Deprecated public static final Index PRIMARY_OWNER
public static Index[] values()
for (Index c : Index.values()) System.out.println(c);
public static Index 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 nullpublic boolean isEnabled()
IndexingConfiguration.enabled()
} insteadpublic boolean isPrimaryOwner()
PRIMARY_OWNER
.Copyright © 2021 JBoss by Red Hat. All rights reserved.