Enum IOStrategyName
- java.lang.Object
-
- java.lang.Enum<IOStrategyName>
-
- org.hibernate.search.backend.lucene.lowlevel.index.IOStrategyName
-
- All Implemented Interfaces:
Serializable
,Comparable<IOStrategyName>
public enum IOStrategyName extends Enum<IOStrategyName>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEBUG
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, and the index writer is
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IOStrategyName
of(String value)
static IOStrategyName
valueOf(String name)
Returns the enum constant of this type with the specified name.static IOStrategyName[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEAR_REAL_TIME
public static final IOStrategyName 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, and the index writer is
-
DEBUG
public static final IOStrategyName DEBUG
-
-
Method Detail
-
values
public static IOStrategyName[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IOStrategyName c : IOStrategyName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IOStrategyName valueOf(String name)
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
-
of
public static IOStrategyName of(String value)
-
-