|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ThreadPool
The thread pool interface allows to start runnables by getting threads from a managed pool.
| Method Summary | ||
|---|---|---|
void |
execute(Runnable runnable)
Execute a runnable |
|
ThreadPoolConfig |
getConfiguration()
The thread pool configuration. |
|
String |
getName()
The name of the thread pool. |
|
|
submit(Callable<T> callable)
Submits a callable for execution |
|
Future<?> |
submit(Runnable runnable)
Submits a runnable for execution |
|
| Method Detail |
|---|
void execute(Runnable runnable)
runnable - The Runnable to execute<T> Future<T> submit(Callable<T> callable)
callable - The Callable to submit
Future representing pending completion of the CallableFuture<?> submit(Runnable runnable)
runnable - The Runnable to submit
Future representing pending completion of the RunnableString getName()
ThreadPoolConfig getConfiguration()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||