上一页 1 2 3 4 5 6 7 8 9 ··· 24 下一页
  2020年7月22日
摘要: (SpringCloud Consul 2.2.3)ribbon-loadbalancer-2.3.0.jar 1. feign 调用时,server 选取的流程:(借助 ribbon 实现的)可以加一个 feign.RequestInterceptor ,然后在 inteceptor 上打断点,找 阅读全文
posted @ 2020-07-22 17:24 快鸟 阅读(1324) 评论(0) 推荐(0) 编辑
  2020年7月18日
摘要: 参考:https://blog.csdn.net/u013332124/article/details/84647915 阅读全文
posted @ 2020-07-18 17:51 快鸟 阅读(1787) 评论(0) 推荐(1) 编辑
  2020年7月15日
摘要: 参考:http://blog.itpub.net/31545684/viewspace-2375117/ 阅读全文
posted @ 2020-07-15 22:32 快鸟 阅读(138) 评论(0) 推荐(0) 编辑
  2020年7月13日
摘要: https://docs.oracle.com/javase/specs/jls/se8/html/jls-17.html#jls-17.4 Happens-before 的定义 通过上面的定义,我们得出 happens-before 的原则: happens-before 定义了什么时候会发生数据 阅读全文
posted @ 2020-07-13 17:14 快鸟 阅读(258) 评论(0) 推荐(0) 编辑
  2020年7月12日
摘要: 线程池分两种:普通线程池——ThreadPoolExecutor定时线程池——ScheduledThreadPoolExecutor 当前线程数还没有达到 corePoolSize 之前,新任务总是会 new 一个新的线程出来。当达到 corePoolSize 之后,任务就会入 workQueue, 阅读全文
posted @ 2020-07-12 16:39 快鸟 阅读(207) 评论(0) 推荐(0) 编辑
  2020年6月20日
摘要: 使用 IDEA 运行 springboot 程序与 java -jar 运行 springboot 程序时 ClassLoader 不同,导致 classloader.getResource() 拿不到资源 使用 this.getClass().getClassLoader() 获取 classlo 阅读全文
posted @ 2020-06-20 16:39 快鸟 阅读(2104) 评论(1) 推荐(0) 编辑
  2020年6月13日
摘要: K8S: pod pod 的中文翻译是豆荚,里面可以有多颗豆子。 pod 里面可以有多个 docker container pod 是一组 container,pod 里面的 container 是共享网络栈和存储卷等资源,是一个整体 nodeIP:nodePort 可以被外网访问(k8s 之外的网 阅读全文
posted @ 2020-06-13 11:21 快鸟 阅读(163) 评论(0) 推荐(0) 编辑
  2020年5月27日
摘要: (jvisualvm.exe) 可以打开 visual vm,然后在 工具 --> 插件 --> 可用插件里面下载 (有时刷不出来,将设置代理点一下,点击不设置代理,再刷一下) 实在不行,就只能拿这个出错的链接自己想办法去下载了。下载了之后:工具 --> 插件 --> 已下载 进行离线安装 安装后效 阅读全文
posted @ 2020-05-27 17:57 快鸟 阅读(983) 评论(0) 推荐(0) 编辑
  2020年4月27日
摘要: 1. 连接 ZK server ① 可以通过官方提供的 zkInspector 来连接。② 可以通过官网下载的 zookeeper-xx.tar.gz 包中的 zkCli.cmd 来连接 (对界面没有要求的话,这种方式还是不错的) zkCli.cmd -timeout 5000 -r -server 阅读全文
posted @ 2020-04-27 17:08 快鸟 阅读(1031) 评论(0) 推荐(0) 编辑
  2020年4月16日
摘要: (SpringBoot 版本:2.2.2.RELEASE) 可以说 @Configuration 是 SpringBoot 配置的基石,自然 @Configuration 类的处理是很有必要研究的。 @Configuration 类的处理是由 ConfigurationClassPostProces 阅读全文
posted @ 2020-04-16 21:42 快鸟 阅读(2406) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 24 下一页