java
文章平均质量分 66
java
略懂前端的后端
timo社区站长
展开
-
java实现缩略图(Thumbnailator库)
java实现缩略图1. Thumbnailator是一个用java生成高质量缩略图的第三方库,可以用来1.生成缩率图;2.添加水印;3.图片旋转;4.图片大小缩放;5.图片压缩;2.Thumbnailator的github地址https://github.com/coobird/thumbnailator3. 帮助文档https://github.com/coobird/thumbnailator/wiki/Examples4.thumbnailator库只有一个jar,不依赖第三转载 2021-12-12 15:50:30 · 3610 阅读 · 1 评论 -
Java线程池各个参数介绍
Java线程池各个参数介绍一、corePoolSize二、maximunPoolSize三、keepAliveTime四、unit五、workQueue六、threadFactory七、handlerJDK1.8线程池参数源代码: public ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, lon转载 2021-06-29 22:13:35 · 275 阅读 · 0 评论