Package | Description |
---|---|
org.apache.mina.core.buffer |
Modifier and Type | Class and 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 and Description |
---|---|
static IoBufferAllocator |
IoBuffer.getAllocator() |
Modifier and Type | Method and Description |
---|---|
static void |
IoBuffer.setAllocator(IoBufferAllocator newAllocator)
Sets the allocator used by existing and new buffers
|
Constructor and Description |
---|
AbstractIoBuffer(IoBufferAllocator allocator,
int initialCapacity)
Creates a new parent buffer.
|
Copyright © 2004–2022 Apache MINA Project. All rights reserved.