Java, Technology

Runnables with Timeout from submission time

Problem not covered by Java ExecutorService Java's ThreadPoolExecutor is a great tool. After configuring a thread pool we can keep on submitting Callables and get Futures. These futures can be used to get the values that the callable is supposed to return. In case we want to limit the execution time of this callable we have the...

by Aseem Bansal
Tag: Runnable
05-Nov-2015