上一页 1 2 3 4 5 6 ··· 53 下一页
摘要: import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; /** * 限流器 */ public class RateLimiter { /** * 时间窗口,单位毫秒 */ pri 阅读全文
posted @ 2024-09-14 10:54 黄河大道东 阅读(14) 评论(0) 推荐(0)
摘要: ![image](https://img2024.cnblogs.com/blog/2153794/202409/2153794-20240913145136903-1763999407.png) 阅读全文
posted @ 2024-09-13 14:52 黄河大道东 阅读(23) 评论(0) 推荐(0)
摘要: docker拉取镜像报错:error pulling : download failed after attempts=6: dial tcp 69.162.134.178:443: i/o time 1、vim /etc/resolv.conf nameserver 8.8.8.8 nameser 阅读全文
posted @ 2024-08-23 10:54 黄河大道东 阅读(23) 评论(0) 推荐(0)
摘要: 定时工具 import cn.hutool.cron.CronUtil; import cn.hutool.cron.task.Task; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annot 阅读全文
posted @ 2024-02-19 14:07 黄河大道东 阅读(29) 评论(0) 推荐(0)
摘要: 原因是mysql连接数过多 解决方案一: 1、linux登录mysql: mysql -u root -p; 2、查看mysql允许的最大连接数 show variables like '%max_connections%'; 3、查看这次mysql服务启动到现在,同一时刻最多mysql有多少连接 阅读全文
posted @ 2023-12-21 13:44 黄河大道东 阅读(155) 评论(0) 推荐(0)
摘要: 目录UML 类图类图关系概述1、泛化关系(generalization)2、实现关系(realization)3、依赖关系(dependent)4、关联关系(association)4.1、一对一的关系4.2、单向的一对多4.3、单向多对一4.4、双向一对多、多对一4.5、单向多对多5、聚合关系(a 阅读全文
posted @ 2023-12-19 10:49 黄河大道东 阅读(88) 评论(0) 推荐(0)
摘要: 【xxx.pro】 QT += websockets 【mainwindow.h】 #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include "ui_mainwindow.h" #include "QWebSo 阅读全文
posted @ 2023-11-19 23:05 黄河大道东 阅读(19) 评论(0) 推荐(0)
摘要: https://www.php3.cn/a/224.html https://zhuanlan.zhihu.com/p/539727210 阅读全文
posted @ 2023-11-16 18:30 黄河大道东 阅读(30) 评论(0) 推荐(0)
摘要: 示例一 import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.nio.charset.StandardCharsets; import java.util.Ar 阅读全文
posted @ 2023-11-07 16:26 黄河大道东 阅读(19) 评论(0) 推荐(0)
摘要: 示例 1、在.pro工程描述文件中添加网络模块 QT += network 2、示例代码 #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include "ui_mainwindow.h" #include <QDe 阅读全文
posted @ 2023-11-07 12:46 黄河大道东 阅读(370) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 53 下一页