public class ArtiSynthThreadManager extends SimpleThreadManager
Constructor and Description |
---|
ArtiSynthThreadManager(java.lang.String name)
Creates primary thread pool
|
ArtiSynthThreadManager(java.lang.String name,
int nThreads)
Creates primary thread pool
|
ArtiSynthThreadManager(java.lang.String name,
int nThreads,
long timeoutMS)
Creates primary thread pool
|
Modifier and Type | Method and Description |
---|---|
static int |
getDefaultNumThreads() |
awaitNextCompleted, awaitTermination, execute, execute, getNextCompleted, hasNextFuture, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, popFuture, shutdown, shutdownNow, submit, submit, submit
public ArtiSynthThreadManager(java.lang.String name)
name
- name of the thread managerpublic ArtiSynthThreadManager(java.lang.String name, int nThreads)
name
- name of the thread managernThreads
- fixed number of threads in the primary poolpublic ArtiSynthThreadManager(java.lang.String name, int nThreads, long timeoutMS)
name
- name of the thread managernThreads
- fixed number of threads in the primary pooltimeoutMS
- thread time-out