QuantumLibrary
|
Interface to access and manipulate a QueueStatistics object. More...
#include <quantum_iqueue_statistics.h>
Public Member Functions | |
virtual | ~IQueueStatistics () |
Virtual destructor. More... | |
virtual void | reset ()=0 |
Reset all the counters to 0. More... | |
virtual size_t | numElements () const =0 |
Gets the current size of the queue. More... | |
virtual void | incNumElements ()=0 |
Increment this counter. More... | |
virtual void | decNumElements ()=0 |
Decrement this counter. More... | |
virtual size_t | errorCount () const =0 |
Count of all coroutine and IO task execution errors on this queue. More... | |
virtual void | incErrorCount ()=0 |
Increment this counter. More... | |
virtual size_t | sharedQueueErrorCount () const =0 |
Count of all IO tasks which were dequeued from the shared queue and failed. More... | |
virtual void | incSharedQueueErrorCount ()=0 |
Increment this counter. More... | |
virtual size_t | completedCount () const =0 |
Count of all coroutine and IO tasks which completed successfully. More... | |
virtual void | incCompletedCount ()=0 |
Increment this counter. More... | |
virtual size_t | sharedQueueCompletedCount () const =0 |
Count of all IO tasks which were dequeued from the shared queue and completed successfully. More... | |
virtual void | incSharedQueueCompletedCount ()=0 |
Increment this counter. More... | |
virtual size_t | postedCount () const =0 |
Count of all coroutine and IO tasks which were posted on this queue. More... | |
virtual void | incPostedCount ()=0 |
Increment this counter. More... | |
virtual size_t | highPriorityCount () const =0 |
Count of all coroutine and IO tasks which were posted on this queue at higher priority. More... | |
virtual void | incHighPriorityCount ()=0 |
Increment this counter. More... | |
virtual void | print (std::ostream &out) const =0 |
Print to std::cout the value of all internal counters. More... | |
Interface to access and manipulate a QueueStatistics object.
|
inlinevirtual |
Virtual destructor.
|
pure virtual |
Count of all coroutine and IO tasks which completed successfully.
Implemented in Bloomberg::quantum::QueueStatistics.
|
pure virtual |
Decrement this counter.
Implemented in Bloomberg::quantum::QueueStatistics.
|
pure virtual |
Count of all coroutine and IO task execution errors on this queue.
Implemented in Bloomberg::quantum::QueueStatistics.
|
pure virtual |
Count of all coroutine and IO tasks which were posted on this queue at higher priority.
Implemented in Bloomberg::quantum::QueueStatistics.
|
pure virtual |
Increment this counter.
Implemented in Bloomberg::quantum::QueueStatistics.
|
pure virtual |
Increment this counter.
Implemented in Bloomberg::quantum::QueueStatistics.
|
pure virtual |
Increment this counter.
Implemented in Bloomberg::quantum::QueueStatistics.
|
pure virtual |
Increment this counter.
Implemented in Bloomberg::quantum::QueueStatistics.
|
pure virtual |
Increment this counter.
Implemented in Bloomberg::quantum::QueueStatistics.
|
pure virtual |
Increment this counter.
Implemented in Bloomberg::quantum::QueueStatistics.
|
pure virtual |
Increment this counter.
Implemented in Bloomberg::quantum::QueueStatistics.
|
pure virtual |
Gets the current size of the queue.
Implemented in Bloomberg::quantum::QueueStatistics.
|
pure virtual |
Count of all coroutine and IO tasks which were posted on this queue.
Implemented in Bloomberg::quantum::QueueStatistics.
|
pure virtual |
Print to std::cout the value of all internal counters.
[in,out] | out | Output stream. |
Implemented in Bloomberg::quantum::QueueStatistics.
|
pure virtual |
Reset all the counters to 0.
Implemented in Bloomberg::quantum::QueueStatistics.
|
pure virtual |
Count of all IO tasks which were dequeued from the shared queue and completed successfully.
Implemented in Bloomberg::quantum::QueueStatistics.
|
pure virtual |
Count of all IO tasks which were dequeued from the shared queue and failed.
Implemented in Bloomberg::quantum::QueueStatistics.