类 NacosInstanceManageUtil


  • public class NacosInstanceManageUtil
    extends Object
    Instance manage util for multiple serviceNames To resolve bug with https://github.com/apache/dubbo/issues/5885 and https://github.com/apache/dubbo/issues/5899
    从以下版本开始:
    2.7.6
    • 构造器详细资料

      • NacosInstanceManageUtil

        public NacosInstanceManageUtil()
    • 方法详细资料

      • setCorrespondingServiceNames

        public static void setCorrespondingServiceNames​(String serviceName,
                                                        Set<String> serviceNames)
      • initOrRefreshServiceInstanceList

        public static void initOrRefreshServiceInstanceList​(String serviceName,
                                                            List<com.alibaba.nacos.api.naming.pojo.Instance> instanceList)
      • getAllCorrespondingServiceInstanceList

        public static List<com.alibaba.nacos.api.naming.pojo.Instance> getAllCorrespondingServiceInstanceList​(String serviceName)