#include <OnixS/CME/ConflatedUDP/MemoryPoolSettings.h>
Public Member Functions | |
MemoryPoolSettings () | |
MemoryPoolSettings (const MemoryPoolSettings &other) | |
~MemoryPoolSettings () | |
size_t | blockIncrease () const |
void | blockIncrease (size_t increase) |
size_t | increaseQty () const |
void | increaseQty (size_t qty) |
size_t | chunkSize () const |
void | chunkSize (size_t size) |
size_t | chunkScaling () const |
void | chunkScaling (size_t factor) |
MemoryPoolSettings & | operator= (const MemoryPoolSettings &other) |
Memory pool settings.
Control parameters affecting behavior of memory pool used by Handler while processing market data.
Definition at line 49 of file MemoryPoolSettings.h.
|
inline |
Initializes parameters with default values.
Definition at line 61 of file MemoryPoolSettings.h.
|
inline |
Initializes as a copy.
Definition at line 70 of file MemoryPoolSettings.h.
|
inline |
Finalizes the instance.
Definition at line 84 of file MemoryPoolSettings.h.
|
inline |
Memory block increase value.
Memory pool allocates blocks divisible by given value.
Definition at line 93 of file MemoryPoolSettings.h.
|
inline |
Updates memory block increase value.
Memory pool allocates blocks divisible by given value.
Definition at line 103 of file MemoryPoolSettings.h.
|
inline |
Defines chunk scale factor.
Each time memory pool allocates a new chunk of blocks, its size is scaled by given factor.
Definition at line 203 of file MemoryPoolSettings.h.
|
inline |
Defines chunk scale factor.
Each time memory pool allocates a new chunk of blocks, its size is scaled by given factor.
Definition at line 213 of file MemoryPoolSettings.h.
|
inline |
Number of blocks per chunk.
Memory pool allocates chunks of blocks thus reducing number of actual allocations. Given parameter specifies number of memory blocks of same size allocated at once if pool is empty.
Definition at line 168 of file MemoryPoolSettings.h.
|
inline |
Number of blocks per chunk.
Memory pool allocates chunks of blocks thus reducing number of actual allocations. Given parameter specifies number of memory blocks of same size allocated at once if pool is empty.
Definition at line 181 of file MemoryPoolSettings.h.
|
inline |
Limits number of increases memory pool does.
Memory pool allocates blocks divisible by 'blockIncrease' value. Efficient allocation is performed for blocks whose size doesn't exceeds multiplication of 'blockIncrease' and 'increaseQty' values. Other blocks are allocated upon request without caching.
Definition at line 129 of file MemoryPoolSettings.h.
|
inline |
Limits number of increases memory pool does.
Memory pool allocates blocks divisible by 'blockIncrease' value. Efficient allocation is performed for blocks whose size doesn't exceeds multiplication of 'blockIncrease' and 'increaseQty' values. Other blocks are allocated upon request without caching.
Definition at line 143 of file MemoryPoolSettings.h.
|
inline |
Initializes as a copy.
Definition at line 232 of file MemoryPoolSettings.h.