java.io.Serializable, java.lang.Comparable<HealthMonitor.State>@Private public static enum HealthMonitor.State extends java.lang.Enum<HealthMonitor.State>
| Enum Constant | Description |
|---|---|
HEALTH_MONITOR_FAILED |
The health monitor itself failed unrecoverably and can
no longer provide accurate information.
|
INITIALIZING |
The health monitor is still starting up.
|
SERVICE_HEALTHY |
The service is connected and healthy.
|
SERVICE_NOT_RESPONDING |
The service is not responding to health check RPCs.
|
SERVICE_UNHEALTHY |
The service is running but unhealthy.
|
| Modifier and Type | Method | Description |
|---|---|---|
static HealthMonitor.State |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static HealthMonitor.State[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HealthMonitor.State INITIALIZING
public static final HealthMonitor.State SERVICE_NOT_RESPONDING
public static final HealthMonitor.State SERVICE_HEALTHY
public static final HealthMonitor.State SERVICE_UNHEALTHY
public static final HealthMonitor.State HEALTH_MONITOR_FAILED
public static HealthMonitor.State[] values()
for (HealthMonitor.State c : HealthMonitor.State.values()) System.out.println(c);
public static HealthMonitor.State valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2008–2025 Apache Software Foundation. All rights reserved.