Concurrency

- Updated
This commit is contained in:
Tristan B. Velloza Kildaire 2023-09-17 12:33:01 +02:00
parent af336201a5
commit cc4b84354f
1 changed files with 4 additions and 4 deletions

View File

@ -15,14 +15,14 @@ public class App
public static void main(String[] args)
{
/**
* The <code>Executor</code> provides us with a
* The {@link Executor} provides us with a
* task executing engine which let's us submit
* tasks to it and manage them so forth.
*
* The <code>ExecutorService</code> is a more
* The {@link ExecutorService} is a more
* managed version of the above including
* scheduling queues, the ability to submit tasks
* and obtain a <code>Future</code> for them
* and obtain a {@link Future} for them
* (of which can be awaited upon once the task
* completes).
*/
@ -88,7 +88,7 @@ public class App
* Shutdown the executor
*/
executor.shutdown();
/**
* We then will await termination of all jobs
* and throw an exception if we time out after