|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Executor
The Executor interface is a simple interface on top of a thread pool.
| Method Summary | |
|---|---|
int |
capacity()
The capacity of the underlying queue (if any) |
void |
execute(Runnable command)
Execute a command. |
void |
shutdown()
Shutdown this executor. |
int |
size()
The current size of the underlying queue (if any) |
| Method Detail |
|---|
void execute(Runnable command)
command - the command to executevoid shutdown()
int capacity()
int size()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||