Java / Concurrent collections
Explain BlockingQueue in Java concurrent collections.
BlockingQueue extends Queue interface, is a queue that additionally supports operations that wait for the queue to become non-empty when retrieving an element, and wait for space to become available in the fixed length queue when storing an element while it is full.
A BlockingQueue does not allow null elements and throws NullPointerException.
More Related questions...