|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This abstract class defines the basic protocol supported by executors.
Method Summary | |
void |
execute(Runnable logic)
Executes the given logic. |
void |
shutdown()
Releases all the resources assoiated with the executor. |
Methods inherited from interface java.lang.Runnable |
run |
Method Detail |
public void execute(Runnable logic) throws ShutdownExecutorException
logic
- a Runnable
value
ShutdownExecutorException
- if the
Executor
has already been shut down.public void shutdown()
execute()
method
should be performed after the executor has been shutdown.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |