public interface IThreadPool
Modifier and Type | Method and Description |
---|---|
void |
addFinishListener(IChangeListener<java.lang.Void> listener)
Add a finished listener.
|
void |
dispose()
Shutdown the thread pool.
|
void |
execute(java.lang.Runnable task)
Execute a task in its own thread.
|
boolean |
isRunning()
Test if the thread pool is running.
|
void execute(java.lang.Runnable task)
task
- The task to execute.void dispose()
boolean isRunning()
void addFinishListener(IChangeListener<java.lang.Void> listener)