Enum Class UncleanShutdownAction

java.lang.Object
java.lang.Enum<UncleanShutdownAction>
org.infinispan.configuration.global.UncleanShutdownAction
All Implemented Interfaces:
Serializable, Comparable<UncleanShutdownAction>, Constable

public enum UncleanShutdownAction extends Enum<UncleanShutdownAction>
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
  • Enum Constant Details

    • FAIL

      public static final UncleanShutdownAction FAIL
      Prevents startup of the cache manager if a dangling lock file is found in the persistent global state.
    • PURGE

      public static final UncleanShutdownAction PURGE
      Clears the persistent global state if a dangling lock file is found in the persistent global state.
    • IGNORE

      public static final UncleanShutdownAction IGNORE
      Ignores the presence of a dangling lock file in the persistent global state.
  • Method Details

    • values

      public static UncleanShutdownAction[] 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

      public static UncleanShutdownAction valueOf(String name)
      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 name
      NullPointerException - if the argument is null