| Modifier and Type | Field and Description |
|---|---|
| private static final BufferAllocator |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract AllocatedBuffer | allocateDirectBuffer(int capacity)
Allocates a direct (i.e. non-heap) buffer with the given capacity. |
| public static BufferAllocator |
| UNPOOLED | back to summary |
|---|---|
| private static final BufferAllocator UNPOOLED | |
| BufferAllocator | back to summary |
|---|---|
| public BufferAllocator() | |
| allocateDirectBuffer | back to summary |
|---|---|
| public abstract AllocatedBuffer allocateDirectBuffer(int capacity) Allocates a direct (i.e. non-heap) buffer with the given capacity. | |
| unpooled | back to summary |
|---|---|
| public static BufferAllocator unpooled() Returns an unpooled buffer allocator, which will create a new buffer for each request. | |