摘要:
HttpClient 使用Java发送get post请求 导入依赖 <!-- GetPost请求--> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <ve 阅读全文
posted @ 2021-03-06 12:34
长相厮守
阅读(21)
评论(0)
推荐(0)
摘要:
SpringBoot整合Redis SpringBoot 操作数据 :spring-data jpa jdbc mongodb redis! SpringData 也是和SpringBoot 齐名的一个项目 说明:在 SpringBoot2.X之后,之前使用的jedis被替换为了lettuce je 阅读全文
posted @ 2021-03-06 09:00
长相厮守
阅读(82)
评论(0)
推荐(0)
摘要:
分布式理论 《分布式系统原理与范型》中如下定义:“分布式系统是若干独立计算机的集合,这些计算机对于用户来说就像单个相关系统”; 分布式系统是由一组通过网络进行通信,为了完成共同的任务而协调工作的计算机节点组成的系统。分布式系统的出现是为了用链家的普通的机器完成单个计算机无法完成的计算、存储任务。其目 阅读全文
posted @ 2021-03-06 08:58
长相厮守
阅读(78)
评论(0)
推荐(0)
摘要:
异步任务 测试代码 Controller层 @RestController public class HelloController { @Autowired private AsyncService asyncService; @RequestMapping("/hello") public St 阅读全文
posted @ 2021-03-06 08:56
长相厮守
阅读(45)
评论(0)
推荐(0)
浙公网安备 33010602011771号