03 2023 档案

摘要:1、创建执行线程有两种方法 扩展Thread类(重新run方法) @Override public void run() {} new MyThread().start();//启动线程 实现Runnable接口 public class MyThread extends Thread{ @Over 阅读全文
posted @ 2023-03-22 09:04 快乐的小太阳 阅读(28) 评论(0) 推荐(0)
摘要:1、添加-取样器-http请求 ![](https://img2023.cnblogs.com/blog/759563/202303/759563-20230321111153685-635260108.png) web服务器 协议: IP: 端口 HTTP请求 GET 路径 POST 路径 添加参 阅读全文
posted @ 2023-03-21 11:28 快乐的小太阳 阅读(66) 评论(0) 推荐(0)
摘要:ExecutorService es= Executors.newFixedThreadPool(200); for(int i=0; i<500; i++){ es.submit(new Runnable() { @Override public void run() { empService.g 阅读全文
posted @ 2023-03-16 14:54 快乐的小太阳 阅读(21) 评论(0) 推荐(0)
摘要:你好 1、创建RestTemplate并注入spring容器(application: ) @Beanpublic RestTemplate restTemplate(){ return new RestTemplate();} 2、利用RestTemplate发起http请求,查询用户 @Auto 阅读全文
posted @ 2023-03-16 10:37 快乐的小太阳 阅读(21) 评论(0) 推荐(0)
摘要:原文链接:https://blog.csdn.net/anzimaster/article/details/127639283 1.删除注册表 win+R输入regedit 分别粘贴如下两条语句 HKEY_CURRENT_USER\Software\PremiumSoft\Data HKEY_CUR 阅读全文
posted @ 2023-03-15 16:40 快乐的小太阳 阅读(277) 评论(0) 推荐(0)
摘要:https://www.bilibili.com/video/BV1844y1z7LQ/?p=2&spm_id_from=pageDriver&vd_source=1af041d26ebf495b747a116e19a0096a 1、创建项目 2、添加相关依赖 redis 通用池 mysql myb 阅读全文
posted @ 2023-03-14 13:41 快乐的小太阳 阅读(29) 评论(0) 推荐(0)