Top Description Methods
EDU.oswego.cs.dl.util.concurrent

public Interface BoundedChannel

extends Channel
Known Direct Implementers
EDU.oswego.cs.dl.util.concurrent.BoundedLinkedQueue, EDU.oswego.cs.dl.util.concurrent.SemaphoreControlledChannel, EDU.oswego.cs.dl.util.concurrent.SynchronousChannel, EDU.oswego.cs.dl.util.concurrent.misc.CVBuffer, EDU.oswego.cs.dl.util.concurrent.misc.FIFOSlot, EDU.oswego.cs.dl.util.concurrent.BoundedBuffer

A channel that is known to have a capacity, signifying that put 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.
See Also
DefaultChannelCapacity, Introduction to this package.

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the capacity of this channel.
capacity
()

Return the maximum number of elements that can be held.

Inherited from EDU.oswego.cs.dl.util.concurrent.Channel:
offerpeekpollputtake

Method Detail

capacityback to summary
public int capacity()

Return the maximum number of elements that can be held.

Returns:int

the capacity of this channel.