public class MsgAllocatorThreshold extends java.lang.Object implements MsgAllocator
Modifier and Type | Field and Description |
---|---|
private static MsgAllocator |
direct |
private static MsgAllocator |
heap |
int |
threshold |
Constructor and Description |
---|
MsgAllocatorThreshold() |
MsgAllocatorThreshold(int threshold) |
Modifier and Type | Method and Description |
---|---|
Msg |
allocate(int size) |
private static final MsgAllocator direct
private static final MsgAllocator heap
public final int threshold
public MsgAllocatorThreshold()
public MsgAllocatorThreshold(int threshold)
public Msg allocate(int size)
allocate
in interface MsgAllocator