private static class VMChannel.LocalByteArray extends ThreadLocal<byte[]>
| Modifier and Type | Field and Description |
|---|---|
private static int |
INITIAL_BUFFER_SIZE |
| Modifier | Constructor and Description |
|---|---|
private |
LocalByteArray() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
get(int len)
Get a buffer, ensuring it is at least 'len' in size
|
protected byte[] |
initialValue() |
get, remove, set, withInitialprivate static final int INITIAL_BUFFER_SIZE
private LocalByteArray()
protected byte[] initialValue()
initialValue in class ThreadLocal<byte[]>public byte[] get(int len)
len - Minimum length of the buffer