FutureTask

Class FutureTask<V>

Type Parameters:
V - The result type returned by this FutureTask's get methods
All Implemented Interfaces:
Runnable, Future<V>, RunnableFuture<V>
public class FutureTask<V>
extends Object
implements RunnableFuture<V>

A cancellable asynchronous computation. This class provides a base implementation of Future, with met