public interface: BoundedChannel
All Implemented Interfaces:
All Known Implementing Classes:
BoundedBuffer, SemaphoreControlledChannel, BoundedLinkedQueue, PipedChannel, SynchronousChannel, BoundedPriorityQueue, FIFOSlot, CVBuffer, Slot
A channel that is known to have a capacity, signifying
operations may block when the
capacity is reached. Various implementations may have
intrinsically hard-wired capacities, capacities that are fixed upon
construction, or dynamically adjustable capacities.
|Method from EDU.oswego.cs.dl.util.concurrent.BoundedChannel Summary:|
|Method from EDU.oswego.cs.dl.util.concurrent.BoundedChannel Detail:|
public int capacity()
Return the maximum number of elements that can be held.