addIntegerCollector overloads
Synopses
Declared in <balm_collectorrepository.h>
Return a shared pointer to a new integer collector for the specified metricId and add it to the repository.
bsl::shared_ptr<IntegerCollector>
addIntegerCollector(MetricId const& metricId);
Return a shared pointer to a new integer collector for the specified category and metricName.
bsl::shared_ptr<IntegerCollector>
addIntegerCollector(
char const* category,
char const* metricName);
Return Value
shared pointer to the newly created integer collector
Parameters
Name |
Description |
metricId |
identity of the metric for the new integer collector |
category |
null‐terminated category name |
metricName |
null‐terminated metric name |
Created with MrDocs