| |
|
| java.lang.Object org.logicalcobwebs.concurrent.DefaultChannelCapacity
DefaultChannelCapacity | public class DefaultChannelCapacity (Code) | | A utility class to set the default capacity of
BoundedChannel
implementations that otherwise require a capacity argument
See Also: BoundedChannel See Also: [ Introduction to this package. ] |
Method Summary | |
public static int | get() Get the default capacity used in
default (no-argument) constructor for BoundedChannels
that otherwise require a capacity argument. | public 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_CAPACITY | final public static int INITIAL_DEFAULT_CAPACITY(Code) | | The initial value of the default capacity is 1024 *
|
set | public static void set(int capacity)(Code) | | Set the default capacity used in
default (no-argument) constructor for BoundedChannels
that otherwise require a capacity argument.
exception: IllegalArgumentException - if capacity less or equal to zero |
|
|
|