Click here to hide categories Click here to show left categories

User: Home          welcome : Guest          Log In / Register here     




Java interview questions: - Show blocking Queues?

Following classes are blocking Queues in Java interview questions.

The java.util.concurrent package contains a set of synchronized Queue interfaces and classes. Blocking Queue extends Queue with operations that wait for the queue to become nonempty when retrieving an element and for space to become available in the queue when storing an element. This interface is implemented by the following classes:-

  • Linked Blocking Queue — an optionally bounded FIFO blocking queue backed by linked nodes
  • Array Blocking Queue — a bounded FIFO blocking queue backed by an array
  • Priority Blocking Queue — an unbounded blocking priority queue backed by a heap
  • Delay Queue — a time-based scheduling queue backed by a heap
  • Synchronous Queue — a simple rendezvous mechanism that uses the Blocking Queue interface

See the following video on Java - Getting started with spring: -

Click for more Java interview questions

Regards,

Visit for more author’s blog on Java interview questions

Share this article   |    Print    |    Article read by 3496 times
Author:
Shivprasad Koirala
We conduct training for Java/J2EE technologies like design patterns, J2EE, Struts, Hibernate, Spring, Rich Interface etc. and likes to write articles on the same in free time.
Related Articles: No related article
Related Interview Questions: