nacos-1.1.3/client/src/main/java/com/alibaba/nacos/client/naming/net/NamingProxy.java publicclassNamingProxy{privatestaticfinalintDEFAULT_SERVER_PORT =8848;privateintserverPort = DEFAULT_SERVER_PORT;privateString namespaceId;privateString endpoint;privateString nacosDomain;privateList<String> serverList;pri...
ServerListManager的start方法在非isStarted且非isFixed的条件下会执行GetServerListTask,失败重试次数为initServerlistRetryTimes,如果serverUrls为空则抛出NacosException;如果不为空则注册该getServersTask每隔30秒执行一次来刷新server list 到此,相信大家对“nacos client中ServerListManager的start有什么作用”有了更深的了...