This class defines a fully thread-safe repository mechanism for Collector and IntegerCollector objects.
Declared in <balm_collectorrepository.h>
class CollectorRepository;
Collectors are identified in the repository by a MetricId object and also grouped together according to the category of the metric. This repository supports operations to create, find, and collect metric records from the collectors in the repository.
| Name | Description |
|---|---|
CollectorRepository [constructor] | Create an empty collector repository that will use the specified registry to identify the metrics for which it manages collectors. |
~CollectorRepository [destructor] | Free all the collectors in this repository and destroy this object. |
addCollector | addCollector overloads |
addIntegerCollector | addIntegerCollector overloads |
collect | collect overloads |
collectAndReset | collectAndReset overloads |
getAddedCollectors | getAddedCollectors overloads |
getDefaultCollector | getDefaultCollector overloads |
getDefaultIntegerCollector | getDefaultIntegerCollector overloads |
registry | registry overloads |
operator BloombergLP::bslmf::NestedTraitDeclaration<CollectorRepository, UsesBslmaAllocator> | Declare that this type uses a bslma allocator. |