Return and remove an item from channel only if one is available within msecs milliseconds. Place item in the channel, possibly waiting indefinitely until it can be accepted. Return and remove an item from channel, possibly waiting indefinitely until such an item exists. Create a new channel. BoundedChannel Return the maximum number of elements that can be held.
Synchronous channels have no internal capacity.
The time bound is interpreted in a coarse grained, best-effort fashion. If less than or equal to zero, the operation does not perform any timed waits, but might still require access to a synchronization lock, which can impose unbounded delay if there is a lot of contention for the channel. Channels implementing the BoundedChannel subinterface are generally guaranteed to block on puts upon reaching capacity, but other implementations may or may not block. Should be non-null. Otherwise, on normal return, the element is guaranteed to have been inserted.