public class FixedThreadPoolWrapper extends Object implements org.opendaylight.controller.config.threadpool.ThreadPool, Closeable
ThreadPool using fixed number of threads wraps
ExecutorService.| Constructor and Description |
|---|
FixedThreadPoolWrapper(int threadCount,
ThreadFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ExecutorService |
getExecutor() |
int |
getMaxThreadCount() |
void |
setMaxThreadCount(int maxThreadCount) |
public FixedThreadPoolWrapper(int threadCount,
ThreadFactory factory)
public ExecutorService getExecutor()
getExecutor in interface org.opendaylight.controller.config.threadpool.ThreadPoolpublic void close()
close in interface Closeableclose in interface AutoCloseablepublic int getMaxThreadCount()
getMaxThreadCount in interface org.opendaylight.controller.config.threadpool.ThreadPoolpublic void setMaxThreadCount(int maxThreadCount)
Copyright © 2016 OpenDaylight. All rights reserved.