#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 |
Definition at line 31 of file FeedEngineSettings.h.
Initializes options with default values.
std::string toString | ( | ) | const |
Returns the string representation.
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.
Definition at line 60 of file FeedEngineSettings.h.
unsigned int socketBufferSize |
Defines size of receiving buffer in bytes for sockets.
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.
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.
Definition at line 44 of file FeedEngineSettings.h.
unsigned int threadCount |
Number of working threads to be used by feed engine.
Definition at line 49 of file FeedEngineSettings.h.