NioClientSocketChannelFactory.java 文件源码

java
阅读 34 收藏 0 点赞 0 评论 0

项目:simple-netty-source 作者:
/**
 * Creates a new instance.
 *
 * @param bossExecutor
 *        the {@link Executor} which will execute the boss thread
 * @param workerExecutor
 *        the {@link Executor} which will execute the worker threads
 * @param bossCount
 *        the maximum number of boss threads
 * @param workerCount
 *        the maximum number of I/O worker threads
 */
public NioClientSocketChannelFactory(
        Executor bossExecutor, Executor workerExecutor,
        int bossCount, int workerCount) {
    this(bossExecutor, bossCount, new NioWorkerPool(workerExecutor, workerCount));
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号