Enum Class IOStrategyName
- All Implemented Interfaces:
Serializable, Comparable<IOStrategyName>, Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA simple, low-performance strategy mainly useful for debugging, where index readers are created on each search query execution and the index writer is committed after each write.The default, near-real-time strategy, where index readers are based on the index writer to get up-to-date search results, the index writer is committed periodically. -
Method Summary
Modifier and TypeMethodDescriptionstatic IOStrategyNamestatic IOStrategyNameReturns the enum constant of this class with the specified name.static IOStrategyName[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEAR_REAL_TIME
The default, near-real-time strategy, where index readers are based on the index writer to get up-to-date search results, the index writer is committed periodically. -
DEBUG
A simple, low-performance strategy mainly useful for debugging, where index readers are created on each search query execution and the index writer is committed after each write.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
of
-