程序包 | 说明 |
---|---|
org.apache.mina.common |
Common types required for users to use MINA.
|
限定符和类型 | 类和说明 |
---|---|
class |
PooledByteBufferAllocator
A
ByteBufferAllocator which pools allocated buffers. |
class |
SimpleByteBufferAllocator
A simplistic
ByteBufferAllocator which simply allocates a new
buffer every time. |
限定符和类型 | 方法和说明 |
---|---|
static ByteBufferAllocator |
ByteBuffer.getAllocator()
Returns the current allocator which manages the allocated buffers.
|
限定符和类型 | 方法和说明 |
---|---|
static void |
ByteBuffer.setAllocator(ByteBufferAllocator newAllocator)
Changes the current allocator with the specified one to manage
the allocated buffers from now.
|