BloombergLP::balm::IntegerMetric::lookupCollector

lookupCollector overloads

Synopses

Declared in <balm_integermetric.h>

Return an integer collector for the specified metricId. Optionally specify a metrics manager used to provide the collector. If manager is 0, use the default metrics manager, if initialized; if manager is 0 and the default metrics manager has not been initialized, return 0. The behavior is undefined unless metricId is a valid metric id supplied by the MetricsRegistry of the indicated metrics manager.

static
IntegerCollector*
lookupCollector(
    MetricId const& metricId,
    MetricsManager* manager = 0);
» more...

Return an integer collector corresponding to the specified metric category and name. Optionally specify a metrics manager used to provide the collector. If manager is 0, use the default metrics manager if initialized; if manager is 0 and the default metrics manager has not been initialized, return 0. The behavior is undefined unless category and name are null-terminated.

static
IntegerCollector*
lookupCollector(
    char const* category,
    char const* name,
    MetricsManager* manager = 0);
» more...