[#BloombergLP-balm-CollectorRepository-getDefaultIntegerCollector-05] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/CollectorRepository.adoc[CollectorRepository]::getDefaultIntegerCollector :relfileprefix: ../../../ :mrdocs: `getDefaultIntegerCollector` overloads == Synopses Declared in `<balm_collectorrepository.h>` Return the address of the modifiable default integer collector identified by the specified `metricId`. If a default integer collector for the identified metric does not already exist in the repository, create one, add it to the repository, and return its address. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balm/IntegerCollector.adoc[IntegerCollector]* xref:BloombergLP/balm/CollectorRepository/getDefaultIntegerCollector-0e.adoc[getDefaultIntegerCollector](xref:BloombergLP/balm/MetricId.adoc[MetricId] const& metricId); ---- [.small]#xref:BloombergLP/balm/CollectorRepository/getDefaultIntegerCollector-0e.adoc[_» more..._]# Return the address of the modifiable default integer collector identified by the specified `category` and `metricName`. If a default integer collector for the identified metric does not already exist in the repository, create one, add it to the repository, and return its address. In addition, if the identified metric has not already been registered, add the identified metric to the `metricRegistry` supplied at construction. The behavior is undefined unless `category` and `metricName` are null‐terminated. Note that this operation is logically equivalent to: ` getDefaultIntegerCollector(registry().getId(category, metricName)) ` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balm/IntegerCollector.adoc[IntegerCollector]* xref:BloombergLP/balm/CollectorRepository/getDefaultIntegerCollector-06.adoc[getDefaultIntegerCollector]( char const* category, char const* metricName); ---- [.small]#xref:BloombergLP/balm/CollectorRepository/getDefaultIntegerCollector-06.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#