public interface ThreadManager
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Stop all the threads as they complete their tasks.
|
void |
logException(boolean fatal,
String msg,
Exception exception) |
void |
process(Runnable runnable)
Begin running a task.
|
void |
start(int threadCount,
ThreadFactory threadFactory)
Create and start the concurrent.
|
void start(int threadCount,
ThreadFactory threadFactory)
threadCount - The number of concurrent to be used.threadFactory - Used to create the concurrent.void process(Runnable runnable)
runnable - The run method is to be called by another thread.void close()
Copyright © 2012. All Rights Reserved.