public interface IThreadPool
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Shutdown the thread pool.
|
void |
execute(Runnable task)
Execute a task in its own thread.
|
boolean |
isRunning()
Test if the thread pool is running.
|
void execute(Runnable task)
task
- The task to execute.void dispose()
boolean isRunning()
Copyright © 2015. All Rights Reserved.