RunnableFuture

A {@link Future} that is {@link Runnable}. Successful execution of the {@code run} method causes completion of the {@code Future} and allows access to its results. @see FutureTask @see Executor @author Doug Lea @param (V) The result type returned by this Future's {@code get} method

interface RunnableFuture : Runnable, Future!(V)(
V
) {}

Members

Functions

run
void run()

Sets this Future to the result of its computation unless it has been cancelled.

Meta