public class DefaultChannelCapacity
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
static int |
INITIAL_DEFAULT_CAPACITY |
The initial value of the default capacity is 1024
|
| Constructor | Description |
|---|---|
DefaultChannelCapacity() |
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
public static final int INITIAL_DEFAULT_CAPACITY
public static void set(int capacity)
java.lang.IllegalArgumentException - if capacity less or equal to zeropublic static int get()
INITIAL_DEFAULT_CAPACITYINITIAL_DEFAULT_CAPACITYCopyright © 2005 - 2009 Javolution.