Package | Description |
---|---|
com.google.code.yanf4j.buffer |
IoBuffer from mina
|
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()
Returns the allocator used by existing and new buffers
|
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 © 2016. All rights reserved.