OnixS ICE iMpact Multicast Price Feed Handler C++ library  8.6.0
API documentation
FeedEngineSettings Class Reference

#include <FeedEngineSettings.h>

Public Member Functions

 FeedEngineSettings ()
 
std::string toString () const
 

Public Attributes

ThreadAffinity threadAffinity
 
unsigned int threadCount
 
unsigned int dataWaitTime
 
unsigned int spinBeforeIdleTime
 
unsigned int socketBufferSize
 

Detailed Description

Definition at line 31 of file FeedEngineSettings.h.

Constructor & Destructor Documentation

Initializes options with default values.

Member Function Documentation

std::string toString ( ) const

Returns the string representation.

Member Data Documentation

unsigned int dataWaitTime

Defines amount of time Feed Engine spends on socket waiting for I/O while running master processing loop.

Time is measured in milliseconds.

Note
Default value is '10'.
Warning
Given parameter significantly affects the Handler's responsiveness and load onto CPU!

Definition at line 60 of file FeedEngineSettings.h.

unsigned int socketBufferSize

Defines size of receiving buffer in bytes for sockets.

Note
Default value is 8 MiB.

Definition at line 75 of file FeedEngineSettings.h.

unsigned int spinBeforeIdleTime

Defines amount of time Feed Engine keeps cycling before going to sleep when no useful activity can be done.

Time is measured in milliseconds.

Note
Default value is '1'.
Warning
Given parameter has direct influence onto CPU load!

Definition at line 70 of file FeedEngineSettings.h.

ThreadAffinity threadAffinity

Defines set of CPUs allowed for each working thread to be executed on while processing market data by Handlers binded to Feed Engine instance which is configured by given settings.

Note
By default set is empty thus allowing threads to be executed on any CPU available in the system.

Definition at line 44 of file FeedEngineSettings.h.

unsigned int threadCount

Number of working threads to be used by feed engine.

Note
Default value is '1'.

Definition at line 49 of file FeedEngineSettings.h.


The documentation for this class was generated from the following file: