public class MsgAllocatorOffHeap extends Object implements MsgAllocator
| Constructor and Description |
|---|
MsgAllocatorOffHeap() |
| Modifier and Type | Method and Description |
|---|---|
Msg |
allocate(int size)
Allocate a Msg based on users needs (e.g., using DirectByteBuffer with additional space in
front for header information).
|
public Msg allocate(int size)
MsgAllocatorallocate in interface MsgAllocatorsize - The size of the Msg.Copyright © 2024. All rights reserved.