BloombergLP::bdlm::MetricsAdapter

This protocol class provides a pure abstract interface and contract for clients and suppliers of metrics adapters.

Synopsis

Declared in <bdlm_metricsadapter.h>

class MetricsAdapter;

Type Aliases

NameDescription
Callback Callback functor invoked to collect metric values.
CallbackHandle Opaque handle identifying a registered collection callback.

Member Functions

NameDescription
~MetricsAdapter [destructor] [virtual]Destroy this MetricsAdapter.
registerCollectionCallback [virtual]Register a collection callback with a monitoring system.
removeCollectionCallback [virtual]Remove the callback associated with the specified handle.

Derived Classes

NameDescription
BdlmMetricsAdapter This class provides a concrete bdlm::MetricsAdapter backed by balm::MetricsManager.