ThreadPoolExecutor
2018-05-07 17:46:38   0  举报             
     
         
 ThreadPoolExecutor
    作者其他创作
 大纲/内容
 unit
    ExecutorService
  corePoolSize
  ArrayBlockingQueue
  一般不建议用ThreadPoolExecutor直接建立线程池。一般推荐用Executor类的3个静态方法去构建线程池(实际上还是调用的ThreadPoolExecutor的构造方法,只不过参数被固定了。)
  ThreadPoolExecutor
  拒绝服务时的策略
  AbstractExecutorService
  workQueue
  构造函数关键参数
  Executor
  threadFactory
  handler
  LinkedBlockingQueue
  maximumPoolSize
  keepAliveTime
  SynchronousQueue
    
    收藏 
      
    收藏 
     
 
 
 
 
  0 条评论
 下一页
  
  
  
  
  
  
  
  
  
 