LinkedBlockingQueue

This is an implementation of the BlockingQueue interface, which is backed up by a linked list. The size of the queue is not limited by default (to be precise, it is Integer.MAX_VALUE) but it can optionally be limited in a constructor argument. The reason to limit the size in this implementation is to aid the use when the parallel algorithm performs better with limited size queue, but the implementation does not have any restriction on the size.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.44.182