Package | Description |
---|---|
org.apache.mina.common |
Common types required for users to use MINA.
|
Modifier and Type | Class and Description |
---|---|
class |
PooledByteBufferAllocator
A
ByteBufferAllocator which pools allocated buffers. |
class |
SimpleByteBufferAllocator
A simplistic
ByteBufferAllocator which simply allocates a new
buffer every time. |
Modifier and Type | Method and Description |
---|---|
static ByteBufferAllocator |
ByteBuffer.getAllocator()
Returns the current allocator which manages the allocated buffers.
|
Modifier and Type | Method and Description |
---|---|
static void |
ByteBuffer.setAllocator(ByteBufferAllocator newAllocator)
Changes the current allocator with the specified one to manage
the allocated buffers from now.
|
Copyright © 2004-2019 Apache MINA Project. All Rights Reserved.