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:
getExecutor
in interfaceThreadPool
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
getMaxThreadCount
public int getMaxThreadCount()- Specified by:
getMaxThreadCount
in interfaceThreadPool
-
setMaxThreadCount
public void setMaxThreadCount(int maxThreadCount)
-