|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueueTaskFuture<R extends Queue.Executable>
Future
that can be used to wait for the start and the end of the task execution
(such as a build.)
For a historical reason, this object itself extends from Future
to signal the
end of the task execution, and getStartCondition()
returns a separate
Future
object that waits for the start of the task.
Method Summary | |
---|---|
Future<R> |
getStartCondition()
Returns a Future object that can be used to wait for the start of the task execution. |
R |
waitForStart()
Short for getStartCondition().get() |
Methods inherited from interface java.util.concurrent.Future |
---|
cancel, get, get, isCancelled, isDone |
Method Detail |
---|
Future<R> getStartCondition()
Future
object that can be used to wait for the start of the task execution.
R waitForStart() throws InterruptedException, ExecutionException
getStartCondition().get()
InterruptedException
ExecutionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |