public class UnpooledHeapAllocator extends UnpooledAllocator
| Constructor and Description |
|---|
UnpooledHeapAllocator() |
| Modifier and Type | Method and Description |
|---|---|
Buffer |
allocate(long initialCapacity,
long maxCapacity)
Allocates a new buffer.
|
allocate, allocatepublic Buffer allocate(long initialCapacity, long maxCapacity)
BufferAllocatorinitialCapacity - The initial buffer capacity.maxCapacity - The maximum buffer capacity.Copyright © 2013–2015. All rights reserved.