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)
MsgAllocator
allocate
in interface MsgAllocator
size
- The size of the Msg.Copyright © 2017. All Rights Reserved.