27 _postedTaskCount(that._postedTaskCount),
28 _pendingTaskCount(that._pendingTaskCount.load())
34 _postedTaskCount(
std::move(that._postedTaskCount)),
35 _pendingTaskCount(that._pendingTaskCount.load())
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
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
Definition: quantum_stl_impl.h:23
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