| Enum Constant | Description |
|---|---|
DECOMMISSIONED |
Node is out of service
|
DECOMMISSIONING |
Node decommission is in progress
|
LOST |
Node has not sent a heartbeat for some configured time threshold
|
NEW |
New node
|
REBOOTED |
Node has rebooted
|
RUNNING |
Running node
|
SHUTDOWN |
Node has shutdown gracefully.
|
UNHEALTHY |
Node is unhealthy
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
isActiveState() |
|
boolean |
isInactiveState() |
|
boolean |
isUnusable() |
|
static NodeState |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static NodeState[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeState NEW
public static final NodeState RUNNING
public static final NodeState UNHEALTHY
public static final NodeState DECOMMISSIONED
public static final NodeState LOST
public static final NodeState REBOOTED
public static final NodeState DECOMMISSIONING
public static final NodeState SHUTDOWN
public static NodeState[] values()
for (NodeState c : NodeState.values()) System.out.println(c);
public static NodeState 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 nullpublic boolean isUnusable()
public boolean isInactiveState()
public boolean isActiveState()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.