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 MsgAllocatordirectprivate static MsgAllocatorheapintthreshold
-
Constructor Summary
Constructors Constructor Description MsgAllocatorThreshold()MsgAllocatorThreshold(int threshold)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Msgallocate(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:
allocatein interfaceMsgAllocator
-
-