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

Interface RunnableFuture

All Superinterfaces:
Runnable, Future
Known Subinterfaces:
RunnableScheduledFuture
Known Implementing Classes:
FutureTask

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.
Author:
Doug Lea
Since:
1.6
See Also:
FutureTask, Executor

Method Summary

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

Methods inherited from interface edu.emory.mathcs.backport.java.util.concurrent.Future

cancel, get, get, isCancelled, isDone

Method Details

run

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