public interface BoundedChannel extends Channel
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.| 限定符和类型 | 方法和说明 |
|---|---|
int |
capacity()
Return the maximum number of elements that can be held.
|
Copyright © 2024. All rights reserved.