Create an empty collector repository that will use the specified registry to identify the metrics for which it manages collectors. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. The behavior is undefined if registry is 0.

Synopsis

Declared in <balm_collectorrepository.h>

CollectorRepository(
    MetricRegistry* registry,
    bslma::Allocator* basicAllocator = 0);

Created with MrDocs