| Package | Description |
|---|---|
| org.apache.mina.core.buffer |
| Modifier and Type | Class | Description |
|---|---|---|
class |
CachedBufferAllocator |
An
IoBufferAllocator that caches the buffers which are likely to
be reused during auto-expansion of the buffers. |
class |
SimpleBufferAllocator |
A simplistic
IoBufferAllocator which simply allocates a new
buffer every time. |
| Modifier and Type | Method | Description |
|---|---|---|
static IoBufferAllocator |
IoBuffer.getAllocator() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
IoBuffer.setAllocator(IoBufferAllocator newAllocator) |
Sets the allocator used by existing and new buffers
|
| Constructor | Description |
|---|---|
AbstractIoBuffer(IoBufferAllocator allocator,
int initialCapacity) |
Creates a new parent buffer.
|
Copyright © 2004–2018 Apache MINA Project. All rights reserved.