OnixS C++ Euronext Optiq MDG Handler  1.3.1
API documentation
FeedEngineThreadPoolSettings Struct Reference

#include <OnixS/Euronext/MarketData/OptiqMdg/FeedEngine.h>

Public Member Functions

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

Detailed Description

Definition at line 199 of file FeedEngine.h.

Constructor & Destructor Documentation

Definition at line 201 of file FeedEngine.h.

Member Function Documentation

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

void spinBeforeIdleTime ( UInt32  value)
inline

Sets redundancySpinTime.

See also
redundancySpinTime.

Definition at line 260 of file FeedEngine.h.

const 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 215 of file FeedEngine.h.

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

UInt32 threadCount ( ) const
inline

Number of working threads to be used by feed engine.

Note
Default value is '1'.

Definition at line 235 of file FeedEngine.h.

void threadCount ( UInt32  value)
inline

Sets threadsCount.

See also
threadsCount.

Definition at line 241 of file FeedEngine.h.


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