This class provides a mechanism for collecting and aggregating the value of an integer metric over a period of time.
Synopsis
Declared in <balm_integercollector.h>
class IntegerCollector;
Description
The collector contains a MetricId object identifying the metric being collected, the number of times an event occurred, and the total, minimum, and maximum aggregates of the associated measurement value. The default value for the count is 0, the default value for the total is 0, the default value for the minimum is k_DEFAULT_MIN, and the default value for the maximum is k_DEFAULT_MAX.
Member Functions
Name |
Description |
|
Create an integer collector for a metric having the specified |
|
Destroy this object. |
Accumulate the specified count, total, min, and max into this collector. |
|
Load the current metric aggregates into the specified |
|
Load the current metric aggregates into the specified |
|
Return a reference to the non‐modifiable |
|
Reset the count, total, minimum, and maximum values of the metric being collected to their default states. |
|
Set the count, total, min, and max aggregates to the specified values. |
|
Update the collected aggregates with the specified |
Static Data Members
Name |
Description |
Deprecated alias for |
|
Deprecated alias for |
|
Default maximum value ( |
|
Default minimum value ( |
Created with MrDocs