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)
MsgAllocator
allocate
in interface MsgAllocator
size
- The size of the Msg.Copyright © 2018. All rights reserved.