OnixS C++ CME MDP Premium Market Data Handler  5.8.3
API Documentation
FeedEngineThreadPoolListener Struct Reference

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

Public Member Functions

virtual void onFeedEngineThreadBegin (const FeedEngineThreadPool &)
 
virtual void onFeedEngineThreadEnd (const FeedEngineThreadPool &)
 
virtual bool onFeedEngineThreadIdle (const FeedEngineThreadPool &)
 
virtual void onFeedEngineThreadIssue (const FeedEngineThreadPool &, const Char *)
 

Detailed Description

Members of this classes are invoked to reflect various life-time events of threads spawned and used by feed engines while processing market data.

Definition at line 38 of file FeedEngineThreadPool.h.

Member Function Documentation

virtual void onFeedEngineThreadBegin ( const FeedEngineThreadPool )
inlinevirtual

Invoked by the thread before entering the processing loop.

Note
This callback allows the subscriber to perform thread-specific tuning (e.g., setting thread affinity or priority).

Definition at line 43 of file FeedEngineThreadPool.h.

virtual void onFeedEngineThreadEnd ( const FeedEngineThreadPool )
inlinevirtual

Invoked by the thread when it is about to end.

Note
This callback allows the subscriber to perform thread-specific cleanup.

Definition at line 48 of file FeedEngineThreadPool.h.

virtual bool onFeedEngineThreadIdle ( const FeedEngineThreadPool )
inlinevirtual

Invoked when the thread is idle.

Returns
true if the thread should sleep for some time to reduce the CPU load, and false - to resume processing without delay.

Definition at line 53 of file FeedEngineThreadPool.h.

virtual void onFeedEngineThreadIssue ( const FeedEngineThreadPool ,
const Char  
)
inlinevirtual

Invoked when the thread experiences an issue while processing its tasks.

Once invoked, the thread continues performing its tasks.

Definition at line 60 of file FeedEngineThreadPool.h.


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