【发布时间】:2015-10-29 07:36:57
【问题描述】:
来自AsynchronousFileChannel API:
如果在未指定线程池的情况下创建 AsynchronousFileChannel,则该通道与 系统相关的默认线程池相关联,该线程池可与其他通道共享。
我没有在其他任何地方看到过这个术语,也没有通过网络搜索找到任何具体的解释。系统依赖的默认线程池到底是什么?它的特点是什么?它们在不同系统之间有何不同?
【问题讨论】:
-
好吧,我瞎了
The default thread pool is configured by the system properties defined by theAsynchronousChannelGroupclass. -
去回答你自己的问题:)
标签: java multithreading threadpool nio