OnixS C++ B3 Binary UMDF Market Data Handler 1.10.0
Users' manual and API documentation
Loading...
Searching...
No Matches
FeedEngineThreadPoolSettings Struct Reference

#include <OnixS/B3/MarketData/UMDF/FeedEngine.h>

Public Member Functions

 FeedEngineThreadPoolSettings ()
const System::ThreadAffinitythreadAffinity () const
System::ThreadAffinitythreadAffinity ()
UInt32 threadCount () const
void threadCount (UInt32 value)
UInt32 spinBeforeIdleTime () const
void spinBeforeIdleTime (UInt32 value)

Detailed Description

Definition at line 355 of file FeedEngine.h.

Constructor & Destructor Documentation

◆ FeedEngineThreadPoolSettings()

Definition at line 357 of file FeedEngine.h.

Member Function Documentation

◆ 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 410 of file FeedEngine.h.

◆ spinBeforeIdleTime() [2/2]

void spinBeforeIdleTime ( UInt32 value)
inline

Sets redundancySpinTime.

See also
redundancySpinTime.

Definition at line 416 of file FeedEngine.h.

◆ threadAffinity() [1/2]

System::ThreadAffinity & threadAffinity ( )
inline

Defines set of CPUs allowed for each working thread to be executed on while processing market data by Handlers bound 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 383 of file FeedEngine.h.

◆ threadAffinity() [2/2]

const System::ThreadAffinity & threadAffinity ( ) const
inline

Defines set of CPUs allowed for each working thread to be executed on while processing market data by Handlers bound 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 371 of file FeedEngine.h.

◆ threadCount() [1/2]

UInt32 threadCount ( ) const
inline

Number of working threads to be used by feed engine.

Note
Default value is '1'.

Definition at line 391 of file FeedEngine.h.

◆ threadCount() [2/2]

void threadCount ( UInt32 value)
inline

Sets threadsCount.

See also
threadsCount.

Definition at line 397 of file FeedEngine.h.