public abstract class UnpooledAllocator extends Object implements BufferAllocator
| Constructor and Description |
|---|
UnpooledAllocator() |
| Modifier and Type | Method and Description |
|---|---|
Buffer |
allocate()
Allocates a dynamic capacity buffer.
|
Buffer |
allocate(int capacity)
Allocates a dynamic capacity buffer with the given initial capacity.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallocatepublic Buffer allocate()
BufferAllocatorallocate in interface BufferAllocatorpublic Buffer allocate(int capacity)
BufferAllocatorallocate in interface BufferAllocatorcapacity - The initial buffer capacity.Copyright © 2013–2017. All rights reserved.