
juc
文章平均质量分 89
zxk1995
这个作者很懒,什么都没留下…
展开
-
juc - 线程池的使用
import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.concurrent.*; /** * @description: 测试使用线程池 */ public class TestThreadPool { public static void main(String[] args) { //...原创 2019-09-27 13:56:16 · 273 阅读 · 0 评论 -
定时器的简单使用
import java.util.Timer; import java.util.TimerTask; /** * @description: 测试使用单线程定时器 * @author: zhaoxk * @date: 2019/9/27 */ public class TestTimer { public static void main(String[] args) { Ti...原创 2019-09-27 15:20:56 · 173 阅读 · 0 评论