Class EagerThreadPool
java.lang.Object
org.apache.dubbo.common.threadpool.support.eager.EagerThreadPool
- All Implemented Interfaces:
ThreadPool
EagerThreadPool
When the core threads are all in busy,
create new thread instead of putting task into blocking queue.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EagerThreadPool
public EagerThreadPool()
-
-
Method Details
-
getExecutor
Description copied from interface:ThreadPoolThread pool- Specified by:
getExecutorin interfaceThreadPool- Parameters:
url- URL contains thread parameter- Returns:
- thread pool
-