FutureTask

FutureTask The Future interface and the FutureTask class that implements the Future interface represent the result of asynchronous computations. The implementation of FutureTask is.