public class MsgAllocatorHeap extends Object implements MsgAllocator
| Constructor and Description |
|---|
MsgAllocatorHeap() |
| 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 © 2022. All rights reserved.