de.innovationgate.utils
public class ThreadPool extends java.lang.Object
Constructor and Description |
---|
ThreadPool(int size)
Initializes a thread pool with the given number of threads
|
Modifier and Type | Method and Description |
---|---|
void |
execute(java.lang.Runnable r)
Executes a runnable with one thread from the pool.
|