Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
Web Technologies
40.3k+ articles
DSA
22.3k+ articles
Python
20.1k+ articles
Experiences
17k+ articles
Interview Experiences
13.6k+ articles
Java
10.1k+ articles
Java-Functions
4.1k+ articles
Java Programs
2.1k+ articles
Java - util package
1.5k+ articles
Java-Collections
1.1k+ articles
Java-BlockingQueue
11 posts
Popular Articles
Recent Articles
Producer Consumer Solution using BlockingQueue in Java Thread
Last Updated: 28 January 2021
The Producer-Consumer problem is a synchronization issue that arises when one or more threads generate data, placing it on a buffer, and sim
...read more
Java
Technical Scripter
Java Programs
Picked
Java-BlockingQueue
Technical Scripter 2020
BlockingQueue remainingCapacity() method in Java with examples
Last Updated: 15 October 2019
The remainingCapacity() method of BlockingQueue returns the number of more elements that can be added to BlockingQueue without blocking. The
...read more
Java
Java-Collections
Java - util package
Java-Functions
Picked
Java-BlockingQueue
BlockingQueue remove() method in Java with examples
Last Updated: 14 October 2019
The remove(Object obj) method of BlockingQueue removes only one instance of the given Object, passed as parameter, from this BlockingQueue i
...read more
Java
Java-Collections
Java-Functions
Java-BlockingQueue
Similar Topics
Web Technologies
40.3k+ articles
DSA
22.3k+ articles
Python
20.1k+ articles
Experiences
17k+ articles
Interview Experiences
13.6k+ articles
Java
10.1k+ articles
Java-Functions
4.1k+ articles
Java Programs
2.1k+ articles
Java - util package
1.5k+ articles
Java-Collections
1.1k+ articles
BlockingQueue take() method in Java with examples
Last Updated: 23 August 2021
The take() method of BlockingQueue interface is used to retrieve and remove the head of this queue. If the queue is empty then it will wait
...read more
Java
Java-Collections
Java-Functions
Java-BlockingQueue
BlockingQueue drainTo() method in Java with examples
Last Updated: 01 November 2019
The drainTo(Collection col) method of BlockingQueue removes all available elements from this LinkedBlocking Queue and adds them to the given
...read more
Java
Java-Collections
Java-Functions
Java-BlockingQueue
BlockingQueue offer() method in Java with examples
Last Updated: 04 July 2021
There are two types of offer() method for BlockingQueue interface:Note: The offer() method of BlockingQueue has been inherited from the Queu
...read more
Java
Java-Collections
Java-Functions
Java-BlockingQueue
BlockingQueue put() method in Java with examples
Last Updated: 13 September 2021
The put(E e) method of BlockingQueue interface inserts element passed as parameter to method at the tail of this BlockingQueue, if queue is
...read more
Java
Java-Collections
Java-Functions
Java-BlockingQueue
BlockingQueue poll() method in Java with examples
Last Updated: 14 October 2019
The poll(long timeout, TimeUnit unit) method of BlockingQueue interface returns the head of BlockingQueue by removing that element from the
...read more
Java
Java-Collections
Java-Functions
Java-BlockingQueue
BlockingQueue contains() method in Java with examples
Last Updated: 14 October 2019
The contains(Object o) method of BlockingQueue interface checks if the passed element in the parameter exists in the container or not. It re
...read more
Java
Java-Collections
Java-Functions
Java-BlockingQueue
BlockingQueue add() in Java with examples
Last Updated: 19 February 2021
The add(E e) method of BlockingQueue interface inserts the element passed in the parameter to the end of the Queue is there is space. If the
...read more
Java
Java-Collections
Java-Functions
Java-BlockingQueue
BlockingQueue Interface in Java
Last Updated: 26 November 2024
The BlockingQueue Interface in Java is a part of the java.util.concurrent package and was introduced in Java 1.5. It is a specialized Queue
...read more
Java
Technical Scripter
Java-Collections
Technical Scripter 2018
Java-BlockingQueue
1
1
1
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !