Fork me on GitHub
摘要: #并发大纲 ##java.util.concurrent包涵盖三块内容 atomic locks 其他 ##start线程解读 初始程序 public static void main(String[] args) { Thread t1 = new Thread(() ->{ },"t1"); t 阅读全文
posted @ 2022-07-02 22:23 风をした 阅读(163) 评论(0) 推荐(0)
摘要: #1.消息中间件的三大功能: ###异步处理 ###流量控制 ###应用解耦 大多应用中,可通过消息服务中间件来提升系统异步通信、扩展解耦能力 消息服务中两个重要概念:消息代理(message broker)和目的地(destination)当消息发送者发送消息以后,将由消息代理接管,消息代理保证消 阅读全文
posted @ 2022-06-14 10:54 风をした 阅读(44) 评论(0) 推荐(0)
摘要: #什么是 GOF 在 1994 年,由 Erich Gamma、Richard Helm、Ralph Johnson 和 John Vlissides 四人合著出版了一本名为 Design Patterns - Elements of Reusable Object-Oriented Softwar 阅读全文
posted @ 2022-05-24 18:36 风をした 阅读(54) 评论(0) 推荐(0)
摘要: SpringBoot中Spring-data-redis入门使用 1、引入依赖 <!-- redis --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-r 阅读全文
posted @ 2022-04-29 12:04 风をした 阅读(88) 评论(0) 推荐(0)
摘要: 0、简介 mysql用作持久化存储,ES用作检索 基本概念:index库>type表>document文档 index索引 动词:相当于mysql的insert 名词:相当于mysql的db Type类型 在index中,可以定义一个或多个类型 类似于mysql的table,每一种类型的数据放在一起 阅读全文
posted @ 2022-04-08 15:07 风をした 阅读(104) 评论(0) 推荐(0)
摘要: DispatcherServlet url-pattern中 /、/*、*.do中的区别与作用"/'表示匹配所有请求(其中包含除.jsp和.jspx外的所有后缀)。如果不配置静态资源,它会把匹配所有请求都当做是对控制器的访问,去掉后缀进行匹配。例如你访问/main.css会变成/main,这也是造成 阅读全文
posted @ 2022-04-02 09:27 风をした 阅读(435) 评论(0) 推荐(0)
摘要: //选择排序 public class SelectionSort { public static void main(String[] args) { int[] arr={1,3,2,45,65,33,12}; System.out.println("交换之前:"); for(int num:a 阅读全文
posted @ 2022-03-23 19:56 风をした 阅读(15) 评论(0) 推荐(0)
摘要: 1.新建数据库seata_config运行源码中该文件下脚本(script\server\db\mysql.sql) ## 新建数据库seate_server,并执行脚本 -- The script used when storeMode is 'db' -- the table to store 阅读全文
posted @ 2022-03-15 19:44 风をした 阅读(777) 评论(0) 推荐(0)
摘要: 1.服务端签名直传并设置上传回调出现的问题:Consider defining a bean of type 'com.aliyun.oss.OSSClient' in your configuration. 找到他的自动装配类打开这个OssContextAutoConfiguration类 @Co 阅读全文
posted @ 2022-03-07 08:29 风をした 阅读(775) 评论(0) 推荐(0)
摘要: //1.页面加载完成之后发送Ajax请求,要到分页数据 $(function () { var totalRecord,currentPage; //显示第一页 to_page(1); //添加员工 addUser(); //修改用户 reviseUser(); //单个删除用户 deleteUse 阅读全文
posted @ 2021-12-13 21:32 风をした 阅读(36) 评论(0) 推荐(0)