code used in this video
http://xyzcode.blogspot.com/2018/02/b...
This video is about a multi-threaded web-crawler using BFS search. The vertex queue is the internal task queue of the Executors.newCachedThreadPool(). The submit call enqueue a task, and the worker threads dequeue the tasks at background, A task contains a vertex (page url in this case).
On this page of the site you can watch the video online java example -- concurrent BSF web crawler with a duration of hours minute second in good quality, which was uploaded by the user kl2217 02 February 2018, share the link with friends and acquaintances, this video has already been watched 939 times on youtube and it was liked by 4 viewers. Enjoy your viewing!