org.compass.core.util.backport.java.util.concurrent
Interface RunnableFuture

All Superinterfaces:
Future, Runnable
All Known Subinterfaces:
RunnableScheduledFuture
All 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.

Since:
1.6
Author:
Doug Lea
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 org.compass.core.util.backport.java.util.concurrent.Future
cancel, get, get, isCancelled, isDone
 

Method Detail

run

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

Specified by:
run in interface Runnable


Copyright (c) 2004-2006 The Compass Project.