3- Executors
6:50
2 Звуци
2 Поглавја
161 сегменти
Звуци
Поглавја
-
0:03Поглавје 1: In Java, the concept of a thread pool is represented using the executor service interface and its implementations. 300s · Speaker 2
In Java, the concept of a thread pool is represented using the executor service interface and its implementations. So we have thread pool executor, which is a typical thread pool implementation. This is the one that we use most of the time.…
-
5:04Поглавје 2: The difference is that the shutdown method doesn't stop the current tasks. 102s · Speaker 1
The difference is that the shutdown method doesn't stop the current tasks. So it will wait for the completion of those tasks, but it's not going to accept any new tasks. In contrast, if you call shutdown now, this will force the existing ta…