We need a good Producer Consumer Implementation with Unbounded Queue in Java
1) One Producer
2) One Consumer
3) Un Bounded Queue
can someone share a code snippet or explain pros and cons of using LinkedQueue vs ArrrayList Queues,.
Also the pros and cons of using Blocking vs Non Blocking Queues