How to use Java's ExecutorService

preview_player
Показать описание
Java 6 introduced the ExecutorService mechanism using which synchronizing your program execution is much more easier.

Рекомендации по теме
Комментарии
Автор

whats with the romantic background music for Java tutorial!? Think "appropriate" !

DaBBoSaH
Автор

This Video does not describe how an Executor is working exactly and what method is doing what. make better video guys.

TusharMehmi
Автор

Acually in shutdown, it's not "Accept no more new Threads" but "Accept no more new tasks", because the number of Threads is fixed (here 5), unlike the number of tasks : we can add a new for loop before executor.shutdown();

forzagreen
Автор

How to use #Java's ExecutorService - our here!
How to use Java's ExecutorService

itcuties
Автор

what's the difference between "excecute" and "submit" ? 
i.e. executor.execute(Runnable r)  and  executor.submit(Runnable r)

forzagreen
Автор

-- What if you want the main thread to wait for the other threads to complete?
-- Use join(). Dislike.

ConstantineKulak