com.alibaba.dubbo.common.threadpool.support.fixed
Class FixedThreadPool

java.lang.Object
  extended by com.alibaba.dubbo.common.threadpool.support.fixed.FixedThreadPool
All Implemented Interfaces:
ThreadPool

public class FixedThreadPool
extends Object
implements ThreadPool

此线程池启动时即创建固定大小的线程数,不做任何伸缩,来源于:Executors.newFixedThreadPool()

Author:
william.liangf
See Also:
Executors.newFixedThreadPool(int)

Constructor Summary
FixedThreadPool()
           
 
Method Summary
 Executor getExecutor(URL url)
          线程池
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixedThreadPool

public FixedThreadPool()
Method Detail

getExecutor

public Executor getExecutor(URL url)
Description copied from interface: ThreadPool
线程池

Specified by:
getExecutor in interface ThreadPool
Parameters:
url - 线程参数
Returns:
线程池


Copyright © 2012–2017 Alibaba. All rights reserved.