This class provides a simple FIFO queue of data objects, which are read by one or more reader threads.
type of data exchanged
[Since version 2.13.0]Use `java.util.concurrent.LinkedTransferQueue` instead.Retrieve the next waiting object from the FIFO queue, blocking if necessary until an object is available.
Retrieve the next waiting object from the FIFO queue, blocking if necessary until an object is available.
next object dequeued from this channel
Append a value to the FIFO queue to be read byread.
Append a value to the FIFO queue to be read byread. This operation is nonblocking and can be executed by any thread.
object to enqueue to this channel