QuantumLibrary
Bloomberg::quantum::SequenceKeyStatisticsWriter Class Reference

#include <quantum_sequence_key_statistics.h>

Inheritance diagram for Bloomberg::quantum::SequenceKeyStatisticsWriter:
Bloomberg::quantum::SequenceKeyStatistics

Public Member Functions

void incrementPostedTaskCount ()
 Increments the total number of tasks associated with the key that have been posted to the Sequencer since the sequencer started tracking the key. More...
 
void incrementPendingTaskCount ()
 Increments the total number of pending tasks associated with the key. More...
 
void decrementPendingTaskCount ()
 Increments the total number of pending tasks associated with the key. More...
 
- Public Member Functions inherited from Bloomberg::quantum::SequenceKeyStatistics
 SequenceKeyStatistics ()=default
 Constructor. More...
 
 SequenceKeyStatistics (const SequenceKeyStatistics &that)
 Constructor. More...
 
 SequenceKeyStatistics (SequenceKeyStatistics &&that)
 Constructor. More...
 
SequenceKeyStatisticsoperator= (const SequenceKeyStatistics &that)
 Assignment operator. More...
 
SequenceKeyStatisticsoperator= (SequenceKeyStatistics &&that)
 Assignment operator. More...
 
size_t getPostedTaskCount () const
 Gets the total number of tasks associated with the key that have been posted to the Sequencer since the sequencer started tracking the key. More...
 
size_t getPendingTaskCount () const
 Gets the total number of pending tasks associated with the key. More...
 

Additional Inherited Members

- Protected Attributes inherited from Bloomberg::quantum::SequenceKeyStatistics
size_t _postedTaskCount {0}
 Number of posted tasks associated with the sequence key. More...
 
std::atomic< size_t > _pendingTaskCount {0}
 Number of pending tasks associated with the sequence key. More...
 

Member Function Documentation

◆ decrementPendingTaskCount()

void Bloomberg::quantum::SequenceKeyStatisticsWriter::decrementPendingTaskCount ( )
inline

Increments the total number of pending tasks associated with the key.

◆ incrementPendingTaskCount()

void Bloomberg::quantum::SequenceKeyStatisticsWriter::incrementPendingTaskCount ( )
inline

Increments the total number of pending tasks associated with the key.

◆ incrementPostedTaskCount()

void Bloomberg::quantum::SequenceKeyStatisticsWriter::incrementPostedTaskCount ( )
inline

Increments the total number of tasks associated with the key that have been posted to the Sequencer since the sequencer started tracking the key.