public class ThreadPoolFactory extends Object
| Constructor and Description |
|---|
ThreadPoolFactory() |
| Modifier and Type | Method and Description |
|---|---|
ThreadPool |
create(int minSize,
int maxSize,
long timeout,
String threadpoolName)
Create a bounded thread pool in the current thread group
with the current context ClassLoader as the worker thread default
ClassLoader.
|
ThreadPool |
create(int minSize,
int maxSize,
long timeout,
String threadpoolName,
ClassLoader defaultClassLoader)
Create a bounded thread pool in the current thread group
with the given ClassLoader as the worker thread default
ClassLoader.
|
ThreadPool |
create(String threadpoolName)
Create an unbounded thread pool in the current thread group
with the current context ClassLoader as the worker thread default
ClassLoader.
|
ThreadPool |
create(ThreadGroup tg,
String threadpoolName)
Create an unbounded thread pool in the given thread group
with the current context ClassLoader as the worker thread default
ClassLoader.
|
ThreadPool |
create(ThreadGroup tg,
String threadpoolName,
ClassLoader defaultClassLoader)
Create an unbounded thread pool in the given thread group
with the given ClassLoader as the worker thread default
ClassLoader.
|
public ThreadPool create(String threadpoolName)
public ThreadPool create(ThreadGroup tg, String threadpoolName)
public ThreadPool create(ThreadGroup tg, String threadpoolName, ClassLoader defaultClassLoader)
public ThreadPool create(int minSize, int maxSize, long timeout, String threadpoolName)
public ThreadPool create(int minSize, int maxSize, long timeout, String threadpoolName, ClassLoader defaultClassLoader)
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.