摘要: 在比较 Redis、MongoDB 和 Memcached 这三种缓存数据库时,我们可以从它们的架构、数据模型、使用场景、性能等方面进行详细的比较。 1. ‌架构‌ ‌Redis‌ ‌架构‌:内存存储系统,支持多种数据结构如字符串(strings)、哈希(hashes)、列表(lists)、集合(s 阅读全文
posted @ 2026-02-08 15:55 ConfidentLiu 阅读(0) 评论(0) 推荐(0)
摘要: 1.查询 集合中的统计总和与平均值 SELECT asses_user, user_id, su, av,rn FROM ( select asses_user,user_id,t.asses_all_data, sum(asses_all_data) OVER (PARTITION BY user 阅读全文
posted @ 2026-02-03 16:51 ConfidentLiu 阅读(4) 评论(0) 推荐(0)
摘要: 影像智能分析:计算机视觉领域的核心深度学习技术,yolov8,U-Net++,Transformer gis https://www.supermap.com/zh-cn/a/product/gis-tec-1-2025.html#nav-list 检测、图像对比、推演灾害等情况 阅读全文
posted @ 2026-02-03 10:47 ConfidentLiu 阅读(3) 评论(0) 推荐(0)
摘要: 引用:https://blog.csdn.net/m0_50932526/article/details/130204863 Java中如何使用CountDownLatch实现多线程同步,确保主线程在所有子线程执行完毕后继续执行。通过创建线程并使用CountDownLatch进行计数,主线程会等待所 阅读全文
posted @ 2026-02-02 15:43 ConfidentLiu 阅读(2) 评论(0) 推荐(0)
摘要: /** * 1、业务场景 * 1、定时执行时,可能出现数据量大,执行不完,线程直接被终止掉,丢数据。 */ import java.util.ArrayList; import java.util.List; import java.util.concurrent.ExecutorService; 阅读全文
posted @ 2026-02-02 15:43 ConfidentLiu 阅读(2) 评论(0) 推荐(0)
摘要: 一、核心概念:ThreadPoolTaskExecutor 是什么? ThreadPoolTaskExecutor 是 Spring 框架 对 JDK 原生 ThreadPoolExecutor 的封装(属于 spring-context-support 模块),相比原生线程池,它: 提供更简洁的配 阅读全文
posted @ 2026-02-02 15:43 ConfidentLiu 阅读(16) 评论(0) 推荐(0)
摘要: ThreadPoolExecutor共4个构造方法: 直接看参数最多的7个参数分别代表: public ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, Block 阅读全文
posted @ 2026-02-02 15:43 ConfidentLiu 阅读(2) 评论(0) 推荐(0)
摘要: 1. 异步执行一个方法 import java.util.concurrent.CompletableFuture; public class AsyncExample { public static void main(String[] args) { CompletableFuture<Void 阅读全文
posted @ 2026-02-02 13:47 ConfidentLiu 阅读(4) 评论(0) 推荐(0)
摘要: 偷个懒 直接引用 https://blog.csdn.net/qq_55410341/article/details/134900865 阅读全文
posted @ 2025-12-30 17:02 ConfidentLiu 阅读(6) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/zhyh1986/article/details/8766131 我在使用过程中“翻译”了几篇外国人写的博客,这些博客质量很高(当然,不是说翻译的质量高),它们可以指引你使用docx4j,目录如下: 使用Docx4j创建word文档 https:// 阅读全文
posted @ 2025-12-30 13:58 ConfidentLiu 阅读(34) 评论(0) 推荐(0)