Class CachedThreadPool
java.lang.Object
org.apache.dubbo.common.threadpool.support.cached.CachedThreadPool
- All Implemented Interfaces:
ThreadPool
This thread pool is self-tuned. Thread will be recycled after idle for one minute, and new thread will be created for
the upcoming request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CachedThreadPool
public CachedThreadPool()
-
-
Method Details
-
getExecutor
Description copied from interface:ThreadPoolThread pool- Specified by:
getExecutorin interfaceThreadPool- Parameters:
url- URL contains thread parameter- Returns:
- thread pool
-