|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Executor
An abstraction over all available executor services.
The application may use Executor or
Akka/Scala 2.10 ExecutionContext, or anything that serves the same purpose.
| Method Summary | ||
|---|---|---|
|
call(Callable<T> callable)
Computes a result, or throws an exception if unable to do so. |
|
void |
run(Runnable command)
Runs a simple task that doesn't return a result |
|
| Method Detail |
|---|
void run(Runnable command)
Thread.run()
<T> T call(Callable<T> callable)
throws Exception
Exception - if unable to compute a result
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||