Java BlockingQueue

preview_player
Показать описание
The Java BlockingQueue interface represents a queue which can block threads inserting elements into the queue if the BlockingQueue is full, or thread removing elements from the queue if the BlockingQueue is empty.

Chapters:
0:00 Java BlockingQueue introduction
1:43 BlockingQueue interface implementations
2:11 BlockingQueue basic usage
3:27 Producer Consumer example
7:10 BlockingQueue enqueue methods
10:18 BlockingQueue dequeue methods
13:25 BlockingQueue drainTo() methods
14:42 BlockingQueue peek methods
15:53 BlockingQueue size(), remainingCapacity() and contains() methods

Java BlockingQueue tutorial - text:

Java Concurrency tutorial - text / video playlist:

Java Queue tutorial - text / video:
Рекомендации по теме
Комментарии
Автор

youtube algo isn't doing you justice,
i don't remember how i found you but i'm glad i did, i just read the java tutorial to brush up my java basics
Thanks a lot for the work you're doing.

monishwankhade
Автор

I have been watching videos on YouTube to learn more if i need more Information about any topic in Java, and I must say, Jakob's content has been exceptional. Whether it's his videos or his website, I always find myself coming back for more information. The content provided is incredibly rich and informative.
Jakob's videos are well-presented, engaging, and easy to follow. He has a knack for explaining complex Java concepts in a clear and concise manner. I truly appreciate the effort and dedication Jakob puts into creating such valuable resources for the Java community. Thanks to him.
I highly recommend his videos and website to anyone seeking reliable and comprehensive Java information.
Once again, thank you, Jakob, for your outstanding work! Many greetings from Iraq dear Jakob

berlincmos
Автор

I found u through your website .... you are the reason i cleared my java basics and semester exam.

takeshiasahi
Автор

Keep working on these series! Thank you so much

byeonggilpark
Автор

Jakob, your videos are incredible. By far the most informative and excellently explained Java videos on here. Would you consider doing a video on exception handling?

panel
Автор

thank you Jakob, you will always have our gratitude 🙏❤

kumararun
Автор

i follows you since starting of my carrier, you are awesome!!!

ripusudan
Автор

Jakob, you got a so much grace when explaining technical thing to others. Looking forward to see more video of this kind. I wish I could have you as my teacher during school or college. Thanks and Good luck.

mohammedsardar
Автор

Jakob, thanks a ton for what you're doing. 😌

svalyavasvalyava
Автор

Great video Jakob! Very well explained and at a very nice pace. Thank you so much!

bigbeast
Автор

Nicely explained. Easy to understand. Thanks for the video.

dineshkumarthirugnanam
Автор

You are amazing. This content is Gold. Thanks so much

jasper
Автор

what a unique and great way to explain the topics... Thanks a lot Jakob Sir.

drj-power
Автор

Very good explanation and presentation of Concept, Good coverage too with Sample code.

azimmalpekar
Автор

I have read your text tutorials to study java concurrency. It's very awesome. Thank you very much :)
Do you have any plans to publish a book with your tutorials? It deserves it.

jinseonghwang
Автор

Good tutorial. I have observed that you have created sleep method separately in your videos, can you please let us know the reason behind that?

sonalgupta
Автор

for contains() method, what does it mean that it does-not have to be the same instance. Is the object is of the same class it will return true?

ahmedifhaam
Автор

Hello there sir,

My name is Alex and I've came across your youtube video while searching for information about a problem I have in school, and it is about multithreading in Java.
Do you think you could help me out with this, please? It is a producer/consumer problem with 10 threads. It would be very very appreciated if you sir could help me out.

Thank you,
Alex

AlmostDead