OnixS C++ CME MDP Premium Market Data Handler  5.8.3
API Documentation
ThreadPoolSettings Class Reference

#include <OnixS/CME/MDH/FeedEngineThreadPool.h>

Public Member Functions

 ThreadPoolSettings ()
 
 ~ThreadPoolSettings ()
 
const ThreadAffinityaffinity () const
 
ThreadAffinityaffinity ()
 
UInt32 size () const
 
ThreadPoolSettingssize (UInt32 value)
 

Detailed Description

The given class serves as a base for defining and manipulating thread pool related parameters.

Definition at line 126 of file FeedEngineThreadPool.h.

Constructor & Destructor Documentation

ThreadPoolSettings ( )
inline

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

Definition at line 131 of file FeedEngineThreadPool.h.

~ThreadPoolSettings ( )
inline

Cleans everything up.

Definition at line 138 of file FeedEngineThreadPool.h.

Member Function Documentation

const ThreadAffinity& affinity ( ) const
inline

Defines set of CPUs allowed for each working thread to be executed on while running tasks.

Note
By default set is empty thus allowing threads to be executed on any CPU available in the system.

Definition at line 145 of file FeedEngineThreadPool.h.

ThreadAffinity& affinity ( )
inline

Defines set of CPUs allowed for each working thread to be executed on while running tasks.

Note
By default set is empty thus allowing threads to be executed on any CPU available in the system.

Definition at line 155 of file FeedEngineThreadPool.h.

UInt32 size ( ) const
inline

Number of working threads in the pool.

Note
Default value is '1'.

Definition at line 163 of file FeedEngineThreadPool.h.

ThreadPoolSettings& size ( UInt32  value)
inline

Defines the number of working threads in the pool.

Definition at line 169 of file FeedEngineThreadPool.h.


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