码迷,mamicode.com
首页 > 其他好文 > 详细

ThreadPoolExecutor

时间:2019-11-24 15:59:11      阅读:44      评论:0      收藏:0      [点我收藏+]

标签:ati   rri   run   com   Fix   fixed   author   new   imp   

package com.snake.test;

import java.util.concurrent.Executors;
import java.util.concurrent.ThreadPoolExecutor;

/**

  • @Author Snake
  • @Date 2019/11/24 14:21
  • @Version 1.0.0
    */

public class myTest {

public static void main(String[] args) {
    ThreadPoolExecutor executor = (ThreadPoolExecutor) Executors.newFixedThreadPool(5);
    executor.execute(new Runnable() {
        @Override
        public void run() {
            
        }
    });
}

}

ThreadPoolExecutor

标签:ati   rri   run   com   Fix   fixed   author   new   imp   

原文地址:https://www.cnblogs.com/snake107/p/11922403.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!