public enum HealthCheckUpdateResult extends Enum<HealthCheckUpdateResult>
HealthCheckUpdateHandler.| Enum Constant and Description |
|---|
AS_IS
Tells
HealthCheckService to leave the Server healthiness unchanged. |
HEALTHY
Tells
HealthCheckService to mark the Server as 'healthy'. |
UNHEALTHY
Tells
HealthCheckService to mark the Server as 'unhealthy'. |
| Modifier and Type | Method and Description |
|---|---|
static HealthCheckUpdateResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HealthCheckUpdateResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HealthCheckUpdateResult HEALTHY
HealthCheckService to mark the Server as 'healthy'.public static final HealthCheckUpdateResult UNHEALTHY
HealthCheckService to mark the Server as 'unhealthy'.public static final HealthCheckUpdateResult AS_IS
HealthCheckService to leave the Server healthiness unchanged.public static HealthCheckUpdateResult[] values()
for (HealthCheckUpdateResult c : HealthCheckUpdateResult.values()) System.out.println(c);
public static HealthCheckUpdateResult 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 nullCopyright © 2020 LeanCloud. All rights reserved.