Implementation of a statistics collection for a SequenceKey in Sequencer.
More...
#include <quantum_sequence_key_statistics.h>
Implementation of a statistics collection for a SequenceKey in Sequencer.
Implementation of a writer for the SequenceKeyStatistics.
◆ SequenceKeyStatistics() [1/3]
Bloomberg::quantum::SequenceKeyStatistics::SequenceKeyStatistics |
( |
| ) |
|
|
default |
◆ SequenceKeyStatistics() [2/3]
◆ SequenceKeyStatistics() [3/3]
◆ getPendingTaskCount()
size_t Bloomberg::quantum::SequenceKeyStatistics::getPendingTaskCount |
( |
| ) |
const |
|
inline |
Gets the total number of pending tasks associated with the key.
- Returns
- the number of tasks
◆ getPostedTaskCount()
size_t Bloomberg::quantum::SequenceKeyStatistics::getPostedTaskCount |
( |
| ) |
const |
|
inline |
Gets the total number of tasks associated with the key that have been posted to the Sequencer since the sequencer started tracking the key.
- Returns
- the number of tasks
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ _pendingTaskCount
std::atomic<size_t> Bloomberg::quantum::SequenceKeyStatistics::_pendingTaskCount {0} |
|
protected |
Number of pending tasks associated with the sequence key.
◆ _postedTaskCount
size_t Bloomberg::quantum::SequenceKeyStatistics::_postedTaskCount {0} |
|
protected |
Number of posted tasks associated with the sequence key.