Definition at line 96 of file FeedEngine.h.
◆ FeedEngineSettings()
Initializes options with default values.
Definition at line 110 of file FeedEngine.h.
◆ ~FeedEngineSettings()
◆ dataWaitTime() [1/2]
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 Handler's responsiveness and load onto CPU!
Definition at line 201 of file FeedEngine.h.
◆ dataWaitTime() [2/2]
void dataWaitTime |
( |
UInt32 | value | ) |
|
|
inline |
◆ socketBufferSize() [1/2]
UInt32 socketBufferSize |
( |
| ) |
const |
|
inline |
Defines size of receiving buffer in bytes for sockets.
- Note
- Default value is 4 MiB.
Definition at line 240 of file FeedEngine.h.
◆ socketBufferSize() [2/2]
void socketBufferSize |
( |
UInt32 | value | ) |
|
|
inline |
Sets udpSocketBufferSize.
- See also
- udpSocketBufferSize.
Definition at line 247 of file FeedEngine.h.
◆ spinBeforeIdleTime() [1/2]
UInt32 spinBeforeIdleTime |
( |
| ) |
const |
|
inline |
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 223 of file FeedEngine.h.
◆ spinBeforeIdleTime() [2/2]
void spinBeforeIdleTime |
( |
UInt32 | value | ) |
|
|
inline |
Sets redundancySpinTime.
- See also
- redundancySpinTime.
Definition at line 230 of file FeedEngine.h.
◆ threadAffinity() [1/2]
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 148 of file FeedEngine.h.
◆ threadAffinity() [2/2]
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 136 of file FeedEngine.h.
◆ threadCount() [1/2]
Number of working threads to be used by feed engine.
- Note
- Default value is '1'.
Definition at line 157 of file FeedEngine.h.
◆ threadCount() [2/2]
void threadCount |
( |
UInt32 | value | ) |
|
|
inline |
Sets threadsCount.
- See also
- threadsCount.
Definition at line 164 of file FeedEngine.h.
◆ watch() [1/2]
Watch service to be used by Feed Engine.
Watch is used by Feed Engine to timestamp packets received from the feeds.
- Note
- By default, UTC watch service is used.
Definition at line 176 of file FeedEngine.h.
◆ watch() [2/2]
Watch service to be used by Feed Engine.
If no instance associated, UTC watch is used.
Definition at line 185 of file FeedEngine.h.