Package zmq.msg
Class MsgAllocatorThreshold
- java.lang.Object
-
- zmq.msg.MsgAllocatorThreshold
-
- All Implemented Interfaces:
MsgAllocator
public class MsgAllocatorThreshold extends java.lang.Object implements MsgAllocator
-
-
Field Summary
Fields Modifier and Type Field Description private static MsgAllocator
direct
private static MsgAllocator
heap
int
threshold
-
Constructor Summary
Constructors Constructor Description MsgAllocatorThreshold()
MsgAllocatorThreshold(int threshold)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Msg
allocate(int size)
-
-
-
Field Detail
-
direct
private static final MsgAllocator direct
-
heap
private static final MsgAllocator heap
-
threshold
public final int threshold
-
-
Method Detail
-
allocate
public Msg allocate(int size)
- Specified by:
allocate
in interfaceMsgAllocator
-
-