STM32單片機(jī)開發(fā)-項(xiàng)目(盈享會(huì)員
2022-12-22 14:33 作者:bili_1559000721 | 我要投稿
lic EurekaClient eurekaClient(ApplicationInfoManager manager, EurekaClientConfig config,
? ? ? ? ? ? ? ? ? ?EurekaInstanceConfig instance, @Autowired(required = false) HealthCheckHandler healthCheckHandler) {
? ? ? ? ? ? ? ?//創(chuàng)建eurekaclient,注冊(cè)register,renew,refresh任務(wù)到線程池
? ? ? ? ? ? ? ?CloudEurekaClient cloudEurekaClient = new CloudEurekaClient(appManager, config, this.optionalArgs,
? ? ? ? ? ? ? ? ? ? ? ?this.context);
? ? ? ? ? ? ? ?cloudEurekaClient.registerHealthCheck(healthCheckHandler);
? ? ? ? ? ? ? ?return cloudEurekaClient;
? ? ? ? ? ?}
標(biāo)簽: