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 servers in a backend set 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 servers in a backend set return a status of
OK
.
**UNKNOWN:** If no probes have yet been sent to the backends, or the system is unable to retrieve metrics from the backends.
Enum Constant and Description |
---|
Critical |
Ok |
Unknown |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Warning |
Modifier and Type | Method and Description |
---|---|
static BackendSetHealth.Status |
create(String key) |
String |
getValue() |
static BackendSetHealth.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackendSetHealth.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackendSetHealth.Status Ok
public static final BackendSetHealth.Status Warning
public static final BackendSetHealth.Status Critical
public static final BackendSetHealth.Status Unknown
public static final BackendSetHealth.Status UnknownEnumValue
public static BackendSetHealth.Status[] values()
for (BackendSetHealth.Status c : BackendSetHealth.Status.values()) System.out.println(c);
public static BackendSetHealth.Status valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static BackendSetHealth.Status create(String key)
Copyright © 2016–2024. All rights reserved.