edu.emory.mathcs.backport.java.util.concurrent

Interface RunnableFuture

public interface RunnableFuture extends Runnable, Future

A Future that is Runnable. Successful execution of the run method causes completion of the Future and allows access to its results.

Since: 1.6

Author: Doug Lea

See Also: FutureTask Executor

Method Summary
voidrun()
Sets this Future to the result of its computation unless it has been cancelled.

Method Detail

run

public void run()
Sets this Future to the result of its computation unless it has been cancelled.