16 #ifndef BLOOMBERG_QUANTUM_SEQUENCE_KEY_STATISTICS_H 17 #define BLOOMBERG_QUANTUM_SEQUENCE_KEY_STATISTICS_H 88 #include <quantum/util/impl/quantum_sequence_key_statistics_impl.h> 90 #endif //BLOOMBERG_QUANTUM_SEQUENCE_KEY_STATISTICS_H Definition: quantum_buffer_impl.h:22
void incrementPendingTaskCount()
Increments the total number of pending tasks associated with the key.
Definition: quantum_sequence_key_statistics_impl.h:78
Definition: quantum_sequence_key_statistics.h:72
std::atomic< size_t > _pendingTaskCount
Number of pending tasks associated with the sequence key.
Definition: quantum_sequence_key_statistics.h:64
void incrementPostedTaskCount()
Increments the total number of tasks associated with the key that have been posted to the Sequencer s...
Definition: quantum_sequence_key_statistics_impl.h:71
void decrementPendingTaskCount()
Increments the total number of pending tasks associated with the key.
Definition: quantum_sequence_key_statistics_impl.h:85
SequenceKeyStatistics()=default
Constructor.
Implementation of a statistics collection for a SequenceKey in Sequencer.
Definition: quantum_sequence_key_statistics.h:32
size_t _postedTaskCount
Number of posted tasks associated with the sequence key.
Definition: quantum_sequence_key_statistics.h:62
size_t getPostedTaskCount() const
Gets the total number of tasks associated with the key that have been posted to the Sequencer since t...
Definition: quantum_sequence_key_statistics_impl.h:57
SequenceKeyStatistics & operator=(const SequenceKeyStatistics &that)
Assignment operator.
Definition: quantum_sequence_key_statistics_impl.h:48
size_t getPendingTaskCount() const
Gets the total number of pending tasks associated with the key.
Definition: quantum_sequence_key_statistics_impl.h:64