Java ExecutorService - Part 1

Published: 01 January 1970
on channel: Jakob Jenkov
54,854
1k

The Java ExecutorService interface, java.util.concurrent.ExecutorService, represents an asynchronous execution mechanism, essentially a thread pool, which is capable of executing tasks concurrently in the background. In this Java ExecutorService tutorial I explore how to create an ExecutorService instance, what methods it has, how to shut it down etc.

Chapters:
0:00 Java ExecutorService introduction
0:28 Java ExecutorService example
4:02 Java ExecutorService implementations
5:46 Java ThreadPoolExecutor constructor explained
8:16 Java ExecutorService methods
9:36 Java ExecutorService submit(Runnable) method
12:12 Java ExecutorService submit(Callable) method
14:23 How a Future object is connected to a task
15:23 Java ExecutorService invokeAny() method
18:10 Java ExecutorService invokeAll() method

Java ExecutorService - Part 2
   • Java ExecutorService - Part 2  

Java ExecutorService Using Virtual Threads Internally:
   • Java ExecutorService Using Virtual Th...  

Java ExecutorService - Text:
http://tutorials.jenkov.com/java-util...

Java Concurrency - Text / Video Playlist
http://tutorials.jenkov.com/java-conc...
http://tutorials.jenkov.com/java-util...
   • Java Concurrency and Multithreading  


On this page of the site you can watch the video online Java ExecutorService - Part 1 with a duration of hours minute second in good quality, which was uploaded by the user Jakob Jenkov 01 January 1970, share the link with friends and acquaintances, this video has already been watched 54,854 times on youtube and it was liked by 1 thousand viewers. Enjoy your viewing!