| java.lang.Object dalma.helpers.ThreadPoolExecutor
ThreadPoolExecutor | public class ThreadPoolExecutor implements Executor(Code) | | Executor implemented as a thread pool.
author: Kohsuke Kawaguchi |
Constructor Summary | |
public | ThreadPoolExecutor(int nThreads, boolean daemon) Creates a new thread pool executor.
Parameters: nThreads - number of worker threads to create. Parameters: daemon - true to make worker threads daemon threads.daemon threads allows the VM to shut down as soon asthe application thread exits. | public | ThreadPoolExecutor(int nThreads) |
ThreadPoolExecutor | public ThreadPoolExecutor(int nThreads, boolean daemon)(Code) | | Creates a new thread pool executor.
Parameters: nThreads - number of worker threads to create. Parameters: daemon - true to make worker threads daemon threads.daemon threads allows the VM to shut down as soon asthe application thread exits. Otherwise, you have tocall Engine.stop before your main thread exits,or else the JVM will run forever. |
ThreadPoolExecutor | public ThreadPoolExecutor(int nThreads)(Code) | | |
|
|