public enum NodeState extends java.lang.Enum<NodeState>
1.3.0 The unified sinking operation should be done first, and the node state should be radiated out later, mainly for whether the request can be processed and so on
| 枚举常量和说明 |
|---|
DOWN
Node is out of service, something abnormal happened.
|
ISOLATION
The Node is isolated.
|
STARTING
Node is starting.
|
SUSPICIOUS
Node may Crash.
|
UP
Node is up and ready for request.
|
public static final NodeState STARTING
public static final NodeState UP
public static final NodeState SUSPICIOUS
public static final NodeState DOWN
public static final NodeState ISOLATION
public static NodeState[] values()
for (NodeState c : NodeState.values()) System.out.println(c);
public static NodeState valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值Copyright © 2018–2022 Alibaba Group. All rights reserved.