public class ThreadPoolFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
THREADPOOL_JAVA5
The java 5.0 thread pool implementation.
|
static java.lang.String |
THREADPOOL_STANDARD
The standard (1.4 compliant) thread pool implementation.
|
protected static java.util.Map |
threadpools
The threadpools per name.
|
Constructor and Description |
---|
ThreadPoolFactory() |
Modifier and Type | Method and Description |
---|---|
static IThreadPool |
createThreadPool()
Create a local thread pool.
|
static IThreadPool |
getThreadPool(java.lang.String name)
Get the global thread pool instance.
|
public static final java.lang.String THREADPOOL_STANDARD
public static final java.lang.String THREADPOOL_JAVA5
protected static final java.util.Map threadpools
public static IThreadPool getThreadPool(java.lang.String name)
public static IThreadPool createThreadPool()