/ProducerAndConsumerQueue

Blocking Queue Implementation

Primary LanguageJava

ProducerAndConsumerQueue

Blocking Queue Implementation

Used Synchronized to create blocking queue which will have two method --->

  1. push(T data);
  2. poll()

Handle all the concurrency things.

Similar to Messaging Queue.