org.logicalcobwebs.concurrent
接口 BoundedChannel

所有超级接口:
Channel, Puttable, Takable

public interface BoundedChannel
extends Channel

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.

另请参见:

[ Introduction to this package. ]


方法摘要
 int capacity()
          Return the maximum number of elements that can be held.
 
从接口 org.logicalcobwebs.concurrent.Channel 继承的方法
offer, peek, poll, put, take
 

方法详细信息

capacity

int capacity()
Return the maximum number of elements that can be held.

返回:
the capacity of this channel.


Copyright © 2014. All rights reserved.