public interface CallableExecutor
Modifier and Type | Method and Description |
---|---|
<T> Future<T> |
submit(Callable<T> task)
This method is used to decouple execution of task i.e.
|
<T> Future<T> submit(Callable<T> task)
T
- type of the execution resulttask
- task to be executedCopyright © 2016. All Rights Reserved.