Class FixedThreadPoolWrapper
java.lang.Object
org.opendaylight.controller.config.threadpool.util.FixedThreadPoolWrapper
- All Implemented Interfaces:
Closeable,AutoCloseable,ThreadPool
Implementation of
ThreadPool using fixed number of threads wraps
ExecutorService.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FixedThreadPoolWrapper
-
-
Method Details
-
getExecutor
- Specified by:
getExecutorin interfaceThreadPool
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
getMaxThreadCount
public int getMaxThreadCount()- Specified by:
getMaxThreadCountin interfaceThreadPool
-
setMaxThreadCount
public void setMaxThreadCount(int maxThreadCount)
-