摘要: package cn.how2j.springcloud; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.ThreadLocalRandom; import java.util.concurr 阅读全文
posted @ 2020-12-29 21:35 弓呆的胖次 阅读(64) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/f030aa5d7a28 阅读全文
posted @ 2020-12-29 15:46 弓呆的胖次 阅读(52) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/jpfss/p/11143041.html 1.概述 ExecutorService是JDK提供的框架,它简化了异步模式下的任务执行。一般来说,ExecutorService会自动提供一个线程池和API,用于为其分配任务。 2.实例化ExecutorS 阅读全文
posted @ 2020-12-29 14:36 弓呆的胖次 阅读(163) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/alimayun/p/10934202.html 从多个任务的角度来看,任务是可以串行执行的,也可以是并发执行的。从单个任务的角度来看,任务的执行方式可以是同步的,也可以是异步的。 Runnable、Callable、FutureTask 1、Runn 阅读全文
posted @ 2020-12-29 13:15 弓呆的胖次 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 开源项目 JAVE (Java Audio Video Encoder) 引入依赖 <dependency> <groupId>ws.schild</groupId> <artifactId>jave-all-deps</artifactId> <version>2.7.2</version> </ 阅读全文
posted @ 2020-12-29 10:28 弓呆的胖次 阅读(935) 评论(0) 推荐(0) 编辑