Enum BackendSetHealth.Status

  • All Implemented Interfaces:
    BmcEnum, Serializable, Comparable<BackendSetHealth.Status>
    Enclosing class:
    BackendSetHealth

    public static enum BackendSetHealth.Status
    extends Enum<BackendSetHealth.Status>
    implements BmcEnum
    Overall health status of the backend set.

    **OK:** All backend servers in the backend set return a status of OK.

    **WARNING:** Half or more of the backend set's backend servers return a status of OK and at least one backend server returns a status of WARNING, CRITICAL, or UNKNOWN.

    **CRITICAL:** Fewer than half of the backend set's backend servers return a status of OK.

    **UNKNOWN:** More than half of the backend set's backend servers return a status of UNKNOWN, the system was unable to retrieve metrics, or the backend set does not have a listener attached.

    • Method Detail

      • values

        public static BackendSetHealth.Status[] 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 (BackendSetHealth.Status c : BackendSetHealth.Status.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BackendSetHealth.Status 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 name
        NullPointerException - if the argument is null