Enum Class的使用
com.alibaba.nacos.core.cluster.NodeState
使用NodeState的程序包
-
com.alibaba.nacos.core.cluster中NodeState的使用
修饰符和类型方法说明Member.getState()static NodeStateReturns the enum constant of this class with the specified name.static NodeState[]NodeState.values()Returns an array containing the constants of this enum class, in the order they are declared.参数类型为NodeState的com.alibaba.nacos.core.cluster中的方法修饰符和类型方法说明void