OnixS C++ CME MDP Premium Market Data Handler 5.9.0
API Documentation
Loading...
Searching...
No Matches
FeedEngineThreadSettings Class Reference

Public Member Functions

 FeedEngineThreadSettings ()
ThreadPoolSettingspool ()
const ThreadPoolSettingspool () const
UInt32 loopBeforeIdle () const
void loopBeforeIdle (UInt32 value)

Detailed Description

Definition at line 196 of file FeedEngineThreadPool.h.

Constructor & Destructor Documentation

◆ FeedEngineThreadSettings()

Assigns the default values for the given instance of the thread pool settings.

Definition at line 201 of file FeedEngineThreadPool.h.

Member Function Documentation

◆ loopBeforeIdle() [1/2]

UInt32 loopBeforeIdle ( ) const
inline

Defines amount of cycles a working thread keeps cycling before entering the idle state if no useful activity can be done.

Value is measured in number of processing cycles.

Note
Default value is '1'.
Warning
The given parameter may direct influence onto CPU load.

Definition at line 228 of file FeedEngineThreadPool.h.

◆ loopBeforeIdle() [2/2]

void loopBeforeIdle ( UInt32 value)
inline

Updates amount of cycles a working thread keeps cycling before entering the idle state if no useful activity can be done.

See also
loopBeforeIdle.

Definition at line 238 of file FeedEngineThreadPool.h.

◆ pool() [1/2]

ThreadPoolSettings & pool ( )
inline

Settings related to the thread pool.

Definition at line 207 of file FeedEngineThreadPool.h.

◆ pool() [2/2]

const ThreadPoolSettings & pool ( ) const
inline

Settings related to the thread pool.

Definition at line 213 of file FeedEngineThreadPool.h.