Enum Class UncleanShutdownAction
- All Implemented Interfaces:
Serializable
,Comparable<UncleanShutdownAction>
,Constable
Defines the action taken when a dangling lock file is found in the persistent global state, signifying an
unclean shutdown of the node (usually because of a crash or an external termination).
- Since:
- 15.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionPrevents startup of the cache manager if a dangling lock file is found in the persistent global state.Ignores the presence of a dangling lock file in the persistent global state.Clears the persistent global state if a dangling lock file is found in the persistent global state. -
Method Summary
Modifier and TypeMethodDescriptionstatic UncleanShutdownAction
Returns the enum constant of this class with the specified name.static UncleanShutdownAction[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FAIL
Prevents startup of the cache manager if a dangling lock file is found in the persistent global state. -
PURGE
Clears the persistent global state if a dangling lock file is found in the persistent global state. -
IGNORE
Ignores the presence of a dangling lock file in the persistent global state.
-
-
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
-