|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ThreadPoolFactory
| Method Summary | |
|---|---|
ExecutorService |
newCachedThreadPool(ThreadFactory threadFactory)
Creates a new cached thread pool The cached thread pool is a term from the JDK from the method Executors.newCachedThreadPool(). |
ScheduledExecutorService |
newScheduledThreadPool(ThreadPoolConfig config,
ThreadFactory threadFactory)
Create a scheduled thread pool using the given thread pool profile |
ExecutorService |
newThreadPool(ThreadPoolConfig config,
ThreadFactory threadFactory)
Create a thread pool using the given thread pool profile |
| Method Detail |
|---|
ExecutorService newCachedThreadPool(ThreadFactory threadFactory)
Executors.newCachedThreadPool().
Typically it will have no size limit (this is why it is handled separately
threadFactory - factory for creating threads
ExecutorService newThreadPool(ThreadPoolConfig config,
ThreadFactory threadFactory)
config - parameters of the thread poolthreadFactory - factory for creating threads
ScheduledExecutorService newScheduledThreadPool(ThreadPoolConfig config,
ThreadFactory threadFactory)
config - parameters of the thread poolthreadFactory - factory for creating threads
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||