类 NacosClusterOperationService


  • @Service
    public class NacosClusterOperationService
    extends java.lang.Object
    NacosClusterOperationService.
    作者:
    dongyafei
    • 构造器详细资料

      • NacosClusterOperationService

        public NacosClusterOperationService​(ServerMemberManager memberManager)
    • 方法详细资料

      • listNodes

        public java.util.Collection<Member> listNodes​(java.lang.String address,
                                                      NodeState nodeState)
                                               throws com.alibaba.nacos.api.exception.NacosException
        The console displays the list of cluster members.
        抛出:
        com.alibaba.nacos.api.exception.NacosException
      • updateNodes

        public java.lang.Boolean updateNodes​(java.util.List<Member> nodes)
        cluster members information update.
      • updateLookup

        public java.lang.Boolean updateLookup​(LookupUpdateRequest request)
                                       throws com.alibaba.nacos.api.exception.NacosException
        Addressing mode switch.
        抛出:
        com.alibaba.nacos.api.exception.NacosException
      • selfHealth

        public java.lang.String selfHealth()
        query health of current node.