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

Name

Description

Callback

Callback functor invoked to collect metric values.

CallbackHandle

Opaque handle identifying a registered collection callback.

Member Functions

Name

Description

~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

Name

Description

BdlmMetricsAdapter

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

Created with MrDocs