摘要:
转载自:https://www.cnblogs.com/wanqieddy/p/3853863.html 在Java5之后,并发线程这块发生了根本的变化,最重要的莫过于新的启动、调度、管理线程的一大堆API了。在Java5以后,通过Executor来启动线程比用Thread的start()更好。在新 阅读全文
posted @ 2019-05-15 17:21
AmilyAmily
阅读(341)
评论(1)
推荐(0)
摘要:
转载自:https://www.jianshu.com/p/f030aa5d7a28 ThreadPoolExecutor提供了四个构造方法: ThreadPoolExecutor构造方法.png 我们以最后一个构造方法(参数最多的那个),对其参数进行解释: public ThreadPoolExe 阅读全文
posted @ 2019-05-15 17:20
AmilyAmily
阅读(284)
评论(0)
推荐(0)

浙公网安备 33010602011771号