BloombergLP::balm::Metric_MacroImp::getCollector

getCollector overloads

Synopses

Declared in <balm_metric.h>

Load the default collector for a metric and register a category holder.

static
void
getCollector(
    Collector** collector,
    CategoryHolder* holder,
    char const* category,
    char const* metric);
» more...

Load the default collector for a metric, register a holder, and set publication type.

static
void
getCollector(
    Collector** collector,
    CategoryHolder* holder,
    char const* category,
    char const* metric,
    PublicationType::Value preferredPublicationType);
» more...

Parameters

NameDescription
collectorreceives the address of the default collector
holdercategory holder to register for category
categorynull-terminated category name
metricnull-terminated metric name
preferredPublicationTypepreferred publication type for the metric