BloombergLP::balm::BdlmMetricsAdapter::registerCollectionCallback

registerCollectionCallback overloads

Synopses

Declared in <balm_bdlmmetricsadapter.h>

Register a collection callback with a monitoring system.

virtual
CallbackHandle
registerCollectionCallback(
    MetricDescriptor const& metricDescriptor,
    Callback const& callback) = 0;
» more...

Register the specified callback using the specified metricDescriptor.

virtual
CallbackHandle
registerCollectionCallback(
    bdlm::MetricDescriptor const& metricDescriptor,
    Callback const& callback) override;
» more...

Return Value

callback handle to be used with removeCollectionCallback

Parameters

NameDescription
metricDescriptordescriptor used for the registration
callbackcollection callback to register