摘要: 懒汉式 public class Singleton { private static Singleton instance; private Singleton() { } public static synchronized Singleton getInstance() { if (insta 阅读全文
posted @ 2022-10-29 23:18 咖啡因的取悦 阅读(19) 评论(0) 推荐(0)
摘要: 在openfeign之前的版本中集成了ribbon,并且openfeign和ribbon都有超时时间,那在项目中具体以哪个超时时间为准,我们一探究竟 首先是依赖的版本: <dependency> <groupId>com.alibaba.cloud</groupId> <artifactId>spr 阅读全文
posted @ 2022-10-29 10:41 咖啡因的取悦 阅读(139) 评论(0) 推荐(0)