Class BasicExecutor.Tasks
java.lang.Object
uk.ac.manchester.spinnaker.front_end.BasicExecutor.Tasks
- Enclosing class:
- BasicExecutor
public static final class BasicExecutor.Tasks extends Object
Holds the future results of the submitted tasks.
- Author:
- Donal Fellows
-
Method Summary
Modifier and Type Method Description void
awaitAndCombineExceptions()
Wait for all tasks to finish.
-
Method Details
-
awaitAndCombineExceptions
Wait for all tasks to finish.- Throws:
Exception
- If anything fails. If multiple tasks fail, the exception from first to fail is thrown and the other exceptions are added as suppressed exceptions; all succeeding tasks are still awaited-for.IllegalStateException
- If the tasks have already been awaited-for.
-