EDU.oswego.cs.dl.util.concurrent
public class DefaultChannelCapacity extends Object
See Also:
[ Introduction to this package. ]
| Field Summary | |
|---|---|
| static int | INITIAL_DEFAULT_CAPACITY The initial value of the default capacity is 1024 * |
| Method Summary | |
|---|---|
| static int | get()
Get the default capacity used in
default (no-argument) constructor for BoundedChannels
that otherwise require a capacity argument.
|
| static void | set(int capacity)
Set the default capacity used in
default (no-argument) constructor for BoundedChannels
that otherwise require a capacity argument. |
INITIAL_DEFAULT_CAPACITYSee Also: INITIAL_DEFAULT_CAPACITY
Throws: IllegalArgumentException if capacity less or equal to zero