The interface TransferQueue
has been added. It is a refinement of the BlockingQueue
interface in which producers can wait for consumers to receive elements. One implementation of the new interface is also included in this release, LinkedTransferQueue
.