|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - public interface Executor<T>
Executor is similar to Executor
or ExecutorService but simpler (only one method
to implement).
Implementations| Method Summary | |
|---|---|
T |
execute(Callable<T> callable)
Main method of the executor |
| Method Detail |
|---|
T execute(Callable<T> callable)
throws Throwable
callable - Piece of code to execute
Throwable - Raised when execution failed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||