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