T - The type this executable is expected to work on@FunctionalInterface public interface Executable<T>
Runnable and Callable, in that both are designed for classes
whose instances are potentially executed by another thread. success or failure.Executor| Modifier and Type | Method and Description |
|---|---|
void |
execute(Promise<T> promise)
Execute the job.
|
void execute(Promise<T> promise)
Promise,success(T) or Promise.failure(Throwable). promise - The promise to report the response toCopyright © 2015, Peter Nerg Apache License v2.0