Enum Index
- All Implemented Interfaces:
Serializable
,Comparable<Index>
Deprecated.
since 11.0. The indexing mode is automatically detected and not configurable anymore (ignored) and will be
completely removed in next major version.
Used to configure indexing mode of entries in the cache for index-assisted searching.
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.
- Author:
- Paul Ferraro
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.All cluster nodes will add the entry to the index.Deprecated.No indexing is performed.Deprecated.This mode is no longer supported since version 11.0. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.UseIndexingConfiguration.enabled()
} insteadboolean
Deprecated.in 10.1.static Index
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.
-
Enum Constant Details
-
NONE
Deprecated.No indexing is performed. -
ALL
Deprecated.All cluster nodes will add the entry to the index. -
PRIMARY_OWNER
Deprecated.This mode is no longer supported since version 11.0. A configuration error will be raised if encountered.Only the primary owner of an entry will add it to the index.
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
isEnabled
public boolean isEnabled()Deprecated.UseIndexingConfiguration.enabled()
} insteadIs indexing enabled? -
isPrimaryOwner
public boolean isPrimaryOwner()Deprecated.in 10.1. Equivalent to a simple equality comparison toPRIMARY_OWNER
.
-