Package EDU.oswego.cs.dl.util.concurrent
Interface BoundedChannel
-
- All Known Implementing Classes:
BoundedBuffer,BoundedLinkedQueue,BoundedPriorityQueue,CVBuffer,FIFOSlot,PipedChannel,SemaphoreControlledChannel,Slot,SynchronousChannel
public interface BoundedChannel extends Channel
A channel that is known to have a capacity, signifying thatputoperations 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.- See Also:
[ Introduction to this package. ]
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcapacity()Return the maximum number of elements that can be held.
-