Enum LockingStrategyName
- java.lang.Object
-
- java.lang.Enum<LockingStrategyName>
-
- org.hibernate.search.backend.lucene.lowlevel.directory.LockingStrategyName
-
- All Implemented Interfaces:
Serializable
,Comparable<LockingStrategyName>
public enum LockingStrategyName extends Enum<LockingStrategyName>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NATIVE_FILESYSTEM
NONE
SIMPLE_FILESYSTEM
SINGLE_INSTANCE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LockingStrategyName
of(String value)
static LockingStrategyName
valueOf(String name)
Returns the enum constant of this type with the specified name.static LockingStrategyName[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIMPLE_FILESYSTEM
public static final LockingStrategyName SIMPLE_FILESYSTEM
-
NATIVE_FILESYSTEM
public static final LockingStrategyName NATIVE_FILESYSTEM
-
SINGLE_INSTANCE
public static final LockingStrategyName SINGLE_INSTANCE
-
NONE
public static final LockingStrategyName NONE
-
-
Method Detail
-
values
public static LockingStrategyName[] 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 (LockingStrategyName c : LockingStrategyName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LockingStrategyName 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 LockingStrategyName of(String value)
-
-