Enum Class StorageStatus.Code

java.lang.Object
java.lang.Enum<StorageStatus.Code>
org.opends.server.backends.pluggable.spi.StorageStatus.Code
All Implemented Interfaces:
Serializable, Comparable<StorageStatus.Code>, java.lang.constant.Constable
Enclosing class:
StorageStatus

public static enum StorageStatus.Code extends Enum<StorageStatus.Code>
Enumeration of the possible states.
  • Enum Constant Details

    • AVAILABLE

      public static final StorageStatus.Code AVAILABLE
      Storage is working normally, enough disk space, full read/write access.
    • LOCKED_DOWN

      public static final StorageStatus.Code LOCKED_DOWN
      Storage resources start getting scarce. Restricted access due to low disk space, searches are allowed for everyone, otherwise full access to those with bypass lockdown privilege.
    • UNAVAILABLE

      public static final StorageStatus.Code UNAVAILABLE
      Storage failure that may be fixed without a server restart (e.g., no access for anyone due to a full disk, which may be solved at runtime if admin restores some disk space).
    • INTERNAL_ERROR

      public static final StorageStatus.Code INTERNAL_ERROR
      Storage failure due to an internal error, which requires a server restart.
  • Method Details

    • values

      public static StorageStatus.Code[] 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 StorageStatus.Code 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